Welcome to the most active Linux Forum on the web.
Go Back > Forums > Linux Forums > Linux - Networking
User Name
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.


  Search this Thread
Old 04-15-2006, 09:51 AM   #1
Registered: Mar 2006
Posts: 47

Rep: Reputation: 15
queue discipline...............


accordi[/B]ng to my knowledge the working of linux queue
is as below .Can u please tell me is it right......

( I traced pkt traversal from dev_queue_xmit( ) in linux2.4.**/net/core/dev.c till
hard_start_xmit( ) linux2.4.**/ net/sched/sch_generic.h)

here it goes

dev_queue_xmit( ) -> takes an skb and

calls q->enqueue( ) .

After pkt is enqueued dev_queue_xmit( ) calls
qdisc_run( )

Which inturn calls qdisc_restart( )

here the pkt is dequeued (q->dequeue( ))

and finally pkt is sent to device with the

hard_start_xmit( )................

Now my doubts r,
->are the above steps repeated for each single pkt or
do they work on 'n' number of pkts?

-> How many pkts are queued at once( ie in the dev_queue_xmit( ) )?
is it just 1 or more.

Thanks ,


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Line Discipline creation in driver markfelton Programming 2 03-23-2005 03:23 PM
speedtouch problems (Unable to set line discipline to N_HDLC) ttilt Linux - Networking 1 01-15-2005 10:55 AM
PPP discipline: Invalid argument svar Slackware 0 08-24-2004 09:47 AM
could not set tty to ppp discipline ABID4321 Debian 0 07-21-2004 07:18 AM
Couldnt set tty to PPP discipline edM Slackware 4 07-16-2004 01:08 AM > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 02:28 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration