Re: [PATCH] net_sched/hhf: update hierarchical backlog when drop packet

2017-08-21 Thread Cong Wang
On Mon, Aug 21, 2017 at 9:56 AM, Konstantin Khlebnikov wrote: > Current packet wouldn't be counted by parent either. So queue length isn't > changed. > But the qdisc_tree_reduce_backlog() right below uses 1 too: /* As we dropped a packet, better let upper stack know this. */ qdi

Re: [PATCH] net_sched/hhf: update hierarchical backlog when drop packet

2017-08-21 Thread David Miller
Emails encoded in HTML will be blocked by the list server, and quite frankly I just outright delete all emails which I receive which are HTML encoded as well. Just FYI...

Re: [PATCH] net_sched/hhf: update hierarchical backlog when drop packet

2017-08-21 Thread Cong Wang
On Mon, Aug 21, 2017 at 1:12 AM, Konstantin Khlebnikov wrote: > When hhf_enqueue() drops packet from another bucket it > have to update backlog at upper qdiscs too. > > Signed-off-by: Konstantin Khlebnikov > Fixes: 2f5fb43f ("net_sched: update hierarchical backlog too") > --- > net/sched/sch

[PATCH] net_sched/hhf: update hierarchical backlog when drop packet

2017-08-21 Thread Konstantin Khlebnikov
When hhf_enqueue() drops packet from another bucket it have to update backlog at upper qdiscs too. Signed-off-by: Konstantin Khlebnikov Fixes: 2f5fb43f ("net_sched: update hierarchical backlog too") --- net/sched/sch_hhf.c |5 - 1 file changed, 4 insertions(+), 1 deletion(-) diff --