LinuxQuestions.org
LinuxAnswers - the LQ Linux tutorial section.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software > Linux - Kernel
User Name
Password
Linux - Kernel This forum is for all discussion relating to the Linux kernel.

Notices

Reply
 
Search this Thread
Old 12-23-2010, 07:41 AM   #1
ano
LQ Newbie
 
Registered: Dec 2010
Posts: 9

Rep: Reputation: 0
understand how traffic control tc works


hi
i'm "trying" to write a new qdisc for tc
i want to understand who calls the dequeue function that is declared
in the static struct Qdisc_ops and defined in the file.c that develop the qdisc
logic.
(i.e. see http://lxr.linux.no/linux+v2.6.33.5/net/sched/sch_tbf.c that implement the token bucket qdisc
who call tbf_dequeue?)
any suggestion will be apreciated!

Last edited by ano; 11-08-2011 at 06:59 PM.
 
Old 01-03-2011, 05:51 PM   #2
ano
LQ Newbie
 
Registered: Dec 2010
Posts: 9

Original Poster
Rep: Reputation: 0
help from internet

Please trace through dev_queue_xmit(), net_tx_action() and calls to
__qdisc_run() in net/core/dev.c and net/sched/sch_generic.c.

Hope this helps.

--
Dmitry
 
Old 01-18-2011, 05:55 AM   #3
ano
LQ Newbie
 
Registered: Dec 2010
Posts: 9

Original Poster
Rep: Reputation: 0
this really help me to understand


http://www.linuxfoundation.org/colla...ing/kernelflow
 
  


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
Traffic Control Washington Ratso Linux - Networking 4 10-20-2010 08:15 PM
Does anyone understand why the audio works, but will not come through my TV? maestro52 Fedora 1 12-15-2009 07:00 PM
Traffic Control with iproute2 Tux-Slack Slackware 5 03-21-2008 03:27 PM
tc traffic control tc traffic control Linux QoS control tool(noob help) inv|s|ble Linux - General 1 07-26-2007 11:12 AM
traffic control sunreflex4 Linux - Networking 1 03-23-2003 11:52 AM


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

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration