Re: How to exchange data between Kernel & User Space

Kirill Ratkin (kratkin@yahoo.com)
Tue, 25 Sep 2001 23:11:24 -0700 (PDT)


Use mmap and see exmaple here:
http://www.kernelnewbies.org/code/mmap/

Regards,

--- Matti Aarnio <matti.aarnio@zmailer.org> wrote:
> On Wed, Sep 26, 2001 at 09:21:25AM +0530, Gangadhar
> Uppala wrote:
> > Hi All,
> > Here we are in need of a design decision . The
> problem is as follows:
> >
> > We are writing device driver for network adapter,
> as part of this we need to
> > exchange some information between user and
> kernel(driver) and vice versa. As
> > i know this can be implemented using IOCTLs.
> Please suggest an alternative
> > approach for this.
>
> Why the system supplied standard set of ioctls
> isn't enough ?
> Or is not extendible ?
>
> Something very special you need to do ?
> Is high bandwidth needed at this communication ?
>
> For normal network traffic the communication goes
> via kernel internal
> packet reception path, but if you want to do
> something totally different,
> suggesting alternates needs an idea of what you
> are aiming at.
>
> > Please keep a copy for me, because i am not
> subscriber to this list.
> >
> > Thanks
> > Gangadhar
>
> /Matti Aarnio
> -
> To unsubscribe from this list: send the line
> "unsubscribe linux-kernel" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at
> http://vger.kernel.org/majordomo-info.html
> Please read the FAQ at http://www.tux.org/lkml/

__________________________________________________
Do You Yahoo!?
Get email alerts & NEW webcam video instant messaging with Yahoo! Messenger. http://im.yahoo.com
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/