]> git.baikalelectronics.ru Git - kernel.git/commit
htb: add HTB_DIRECT_QLEN attribute
authorEric Dumazet <edumazet@google.com>
Wed, 6 Mar 2013 06:49:21 +0000 (06:49 +0000)
committerDavid S. Miller <davem@davemloft.net>
Wed, 6 Mar 2013 20:40:53 +0000 (15:40 -0500)
commit86bc66a37ff86535efb0172390841b7b7abfff18
tree6ba602c96ebf45e0a85c81e09bdec224e619c40c
parentf7f7717358288d00b9b8170b20519d40f3dce127
htb: add HTB_DIRECT_QLEN attribute

HTB uses an internal pfifo queue, which limit is not reported
to userland tools (tc), and value inherited from device tx_queue_len
at setup time.

Introduce TCA_HTB_DIRECT_QLEN attribute to allow finer control.

Remove two obsolete pr_err() calls as well.

Signed-off-by: Eric Dumazet <edumazet@google.com>
Cc: Jamal Hadi Salim <jhs@mojatatu.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
include/uapi/linux/pkt_sched.h
net/sched/sch_htb.c