Re: queuing of packets in network devices

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Amit,

Check out the function dev_queue_xmit in net/core/dev.c. If there isn't
a queuing discipline attatched to a network device, the packets are not
queued anywhere, but sent to the device directly.

Regards,
-Varun

On Tue, Apr 23, 2002 at 11:18:26PM -0500, Amit Kucheria spoke out thus:
> Hi,
> 
> Where are packets queued for a network device? 
> 
> I see 3 members in 'struct device' called qdisc, qdisc_sleeping &
> qdisc_list which are initialized to noop_qdisc, noop_qdisc and NULL
> respectively when calling register_netdevice().
> 
> So how & where are incoming/outgoing packets queued then?
> 
> TIA.
> ciao,
> Amit
> -- 
> I'm an angel!!! Honest!
> The horns are just there to hold the halo up straight.
> ^-^-^-^-^-^-^-^-^-^-^-^-^-^-^-^-^-^-^-^-^-^-^-^-^-^-^
>                   Amit Kucheria
>           EECS Grad. Research Assistant
>          University of Kansas @ Lawrence
>    (R)+1-(785)-830 8521 ||| (O)+1-(785)-864 7774
> ____________________________________________________
> 
> --
> Kernelnewbies: Help each other learn about the Linux kernel.
> Archive:       http://mail.nl.linux.org/kernelnewbies/
> FAQ:           http://kernelnewbies.org/faq/

-- 
---------------------------------------
Mindframe Software & Services Pvt. Ltd.

http://www.mindsw.com
---------------------------------------
--
Kernelnewbies: Help each other learn about the Linux kernel.
Archive:       http://mail.nl.linux.org/kernelnewbies/
FAQ:           http://kernelnewbies.org/faq/


[Index of Archives]     [Newbies FAQ]     [Linux Kernel Mentors]     [Linux Kernel Development]     [IETF Annouce]     [Git]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux SCSI]     [Linux ACPI]
  Powered by Linux