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
|