Re: [Patch net-next 2/4] net_sched: update hierarchical backlog too

2015-10-16 Thread Jamal Hadi Salim
On 10/15/15 00:32, Cong Wang wrote: On Wed, Oct 14, 2015 at 5:11 AM, Jamal Hadi Salim wrote: On 10/12/15 14:38, Cong Wang wrote: When the bottom qdisc decides to, for example, drop some packet, it calls qdisc_tree_decrease_qlen() to update the queue length for all its

Re: [Patch net-next 2/4] net_sched: update hierarchical backlog too

2015-10-14 Thread Jamal Hadi Salim
On 10/12/15 14:38, Cong Wang wrote: When the bottom qdisc decides to, for example, drop some packet, it calls qdisc_tree_decrease_qlen() to update the queue length for all its ancestors, we need to update the backlog too to keep the stats on root qdisc accurate. There is more than one change

Re: [Patch net-next 2/4] net_sched: update hierarchical backlog too

2015-10-14 Thread Cong Wang
On Wed, Oct 14, 2015 at 5:11 AM, Jamal Hadi Salim wrote: > On 10/12/15 14:38, Cong Wang wrote: >> >> When the bottom qdisc decides to, for example, drop some packet, >> it calls qdisc_tree_decrease_qlen() to update the queue length >> for all its ancestors, we need to update

[Patch net-next 2/4] net_sched: update hierarchical backlog too

2015-10-12 Thread Cong Wang
When the bottom qdisc decides to, for example, drop some packet, it calls qdisc_tree_decrease_qlen() to update the queue length for all its ancestors, we need to update the backlog too to keep the stats on root qdisc accurate. Cc: Jamal Hadi Salim Signed-off-by: Cong Wang