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)
commit6906f4ed6f85b2d72fd944e15da6a905fdde8b40
tree6ba602c96ebf45e0a85c81e09bdec224e619c40c
parent09e7fae97702f9fcc875b56f3b687e88408b32e5
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