linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* On Network Drivers......
@ 2001-08-20 12:14 Venu Gopal Krishna Vemula
  0 siblings, 0 replies; 4+ messages in thread
From: Venu Gopal Krishna Vemula @ 2001-08-20 12:14 UTC (permalink / raw)
  To: linux-kernel

Hi,

  We are planning to implement a Network driver in
Linux.
Our requirement:
 A driver of layered one.., in which one layer
communicates with another. But overall there should be
only one driver . (Just like Stream's drivers, but we
don't want Stream Drivers). 
    Is there any support in Linux to implement Network
Drivers as multi layered in a single driver .If so,
please let me know where I can get good information?

With Thanks
regards,
vvgkrishna_78@yahoo.com


__________________________________________________
Do You Yahoo!?
Make international calls for as low as $.04/minute with Yahoo! Messenger
http://phonecard.yahoo.com/

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: On Network Drivers......
       [not found] <no.id>
  2001-08-20 12:36 ` Alan Cox
@ 2001-08-21 13:53 ` Alan Cox
  1 sibling, 0 replies; 4+ messages in thread
From: Alan Cox @ 2001-08-21 13:53 UTC (permalink / raw)
  To: Venu Gopal Krishna Vemula; +Cc: linux-kernel, Alan Cox

> information related to the Network driver(in which
> multiple layers has to develop internally)  in
> Internet, but i could not found any source code or
> information in Internet.

How strange. The kernel source code is definitely on the internet, and
definitely contains drivers that implement internal layering - 
nrdev, shaper, the sync cards, isdn

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: On Network Drivers......
  2001-08-20 12:36 ` Alan Cox
@ 2001-08-21 10:11   ` Venu Gopal Krishna Vemula
  0 siblings, 0 replies; 4+ messages in thread
From: Venu Gopal Krishna Vemula @ 2001-08-21 10:11 UTC (permalink / raw)
  To: linux-kernel; +Cc: Alan Cox

Sir,

--- Alan Cox <alan@lxorguk.ukuu.org.uk> wrote:

>>  A driver of layered one.., in which one layer
>> communicates with another. But overall there 
>> should be  only one driver . (Just like Stream's
>> drivers, but we don't want Stream Drivers). 

> 
> We have a single layer between the network stack and
> the drivers. However  nothing stops drivers from 
> implementing multiple  layers internally or
> calling back into other drivers. shaper is an
> example of a driver that  calls other drivers.
> 

 Can you please explain something about implementing
multiple layers internally in a Network Driver 
                     or
 inform me where i can find information (Source code)

         Today i have searched a lot to find any
information related to the Network driver(in which
multiple layers has to develop internally)  in
Internet, but i could not found any source code or
information in Internet.

With Thanks,
regards,
vvgkrishna_78@yahoo.com


__________________________________________________
Do You Yahoo!?
Make international calls for as low as $.04/minute with Yahoo! Messenger
http://phonecard.yahoo.com/

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: On Network Drivers......
       [not found] <no.id>
@ 2001-08-20 12:36 ` Alan Cox
  2001-08-21 10:11   ` Venu Gopal Krishna Vemula
  2001-08-21 13:53 ` Alan Cox
  1 sibling, 1 reply; 4+ messages in thread
From: Alan Cox @ 2001-08-20 12:36 UTC (permalink / raw)
  To: Venu Gopal Krishna Vemula; +Cc: linux-kernel

>  A driver of layered one.., in which one layer
> communicates with another. But overall there should be
> only one driver . (Just like Stream's drivers, but we
> don't want Stream Drivers). 
>     Is there any support in Linux to implement Network
> Drivers as multi layered in a single driver .If so,
> please let me know where I can get good information?

We have a single layer between the network stack and the drivers. However
nothing stops drivers from implementing multiple layers internally or
calling back into other drivers. shaper is an example of a driver that
calls other drivers.

The basic attitude is layering is slow, and generally poor for the cache
behaviour. You want to do a single pass of the packet (or less if possible
when using DMA). However the interface is flexible and if a driver wants
to be layered or has reason for it - sure it can do it internally



^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2001-08-21 13:50 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2001-08-20 12:14 On Network Drivers Venu Gopal Krishna Vemula
     [not found] <no.id>
2001-08-20 12:36 ` Alan Cox
2001-08-21 10:11   ` Venu Gopal Krishna Vemula
2001-08-21 13:53 ` Alan Cox

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).