]> 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)
commit672db43f0fa60a5ac6a6f403d2ddeb3df58ed780
treefbf916b2a2469518f9ad13b1116cde8faed94107
parent70796cefa0b774d53f31de9430f597c2931c241b
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