[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20131008.165124.1061477322585989569.davem@davemloft.net>
Date: Tue, 08 Oct 2013 16:51:24 -0400 (EDT)
From: David Miller <davem@...emloft.net>
To: eric.dumazet@...il.com
Cc: netdev@...r.kernel.org
Subject: Re: [PATCH net-next] net_sched: increment drop counters in
qdisc_tree_decrease_qlen()
From: Eric Dumazet <eric.dumazet@...il.com>
Date: Mon, 07 Oct 2013 08:32:32 -0700
> From: Eric Dumazet <edumazet@...gle.com>
>
> qdisc_tree_decrease_qlen() is called when some packets are dropped
> on a qdisc, and we want to notify parents of qlen changes.
>
> We also can increment parents qdisc qstats drop counters.
>
> This permits more accurate drop counters up to root qdisc.
>
> For example a graft operation typically resets a qdisc
> (drops all packets) and call qdisc_tree_decrease_qlen()
>
> Note that callers are responsible for their drop counters.
>
> Signed-off-by: Eric Dumazet <edumazet@...gle.com>
Applied.
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists