LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 04-15-2006, 08:51 AM   #1
shrishailnk
Member
 
Registered: Mar 2006
Posts: 47

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


hello,

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 ,
SHRI
 
  


Reply


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 02:23 PM
speedtouch problems (Unable to set line discipline to N_HDLC) ttilt Linux - Networking 1 01-15-2005 09:55 AM
PPP discipline: Invalid argument svar Slackware 0 08-24-2004 08:47 AM
could not set tty to ppp discipline ABID4321 Debian 0 07-21-2004 06:18 AM
Couldnt set tty to PPP discipline edM Slackware 4 07-16-2004 12:08 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

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

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