]> git.baikalelectronics.ru Git - kernel.git/commit
net_sched: sch_htb: add per class overlimits counter
authorEric Dumazet <edumazet@google.com>
Mon, 18 Sep 2017 19:36:22 +0000 (12:36 -0700)
committerDavid S. Miller <davem@davemloft.net>
Tue, 19 Sep 2017 02:12:14 +0000 (19:12 -0700)
commit49d57b46c499f1298a79d88fb3a9aab0aae8c3bc
treefbf916b2a2469518f9ad13b1116cde8faed94107
parent2545bf3b17ab80f3f45e18808a1052cb6baa7a8d
net_sched: sch_htb: add per class overlimits counter

HTB qdisc overlimits counter is properly increased, but we have no per
class counter, meaning it is difficult to diagnose HTB problems.

This patch adds this counter, visible in "tc -s class show dev eth0",
with current iproute2.

Signed-off-by: Eric Dumazet <edumazet@google.com>
Reported-by: Denys Fedoryshchenko <nuclearcat@nuclearcat.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/sched/sch_htb.c