diff options
author | Eric Dumazet <eric.dumazet@gmail.com> | 2010-12-15 09:18:36 +0100 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2010-12-20 22:13:56 +0100 |
commit | c4266263249f22479eb1abb1a1709c38240b1597 (patch) | |
tree | b9c57e63595f9eca69de0dfc245ba0000359bf90 /include | |
parent | vmxnet3: locking problems in xmit (diff) | |
download | linux-c4266263249f22479eb1abb1a1709c38240b1597.tar.xz linux-c4266263249f22479eb1abb1a1709c38240b1597.zip |
net_sched: sch_sfq: add backlog info in sfq_dump_class_stats()
We currently return for each active SFQ slot the number of packets in
queue. We can also give number of bytes accounted for these packets.
tc -s class show dev ifb0
Before patch :
class sfq 11:3d9 parent 11:
(dropped 0, overlimits 0 requeues 0)
backlog 0b 3p requeues 0
allot 1266
After patch :
class sfq 11:3e4 parent 11:
(dropped 0, overlimits 0 requeues 0)
backlog 4380b 3p requeues 0
allot 1212
Signed-off-by: Eric Dumazet <eric.dumazet@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions