]> 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)
commit6f90539189db6e4617085aa0799dd16779f82a15
tree6ba602c96ebf45e0a85c81e09bdec224e619c40c
parentb84742cc4e70f48c3b7f46c532bf76a0e0021175
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