Re: [PATCH net-next-2.6] net_sched: sch_sfq: add backlog info in sfq_dump_class_stats()

David Miller
2010-12-20T21:13:42Z

From: Eric Dumazet <eric.dumazet@gmail.com>
Date: Wed, 15 Dec 2010 19:18:36 +0100

> 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>

Applied, thanks Eric.