[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <aFHDHOAAqym2DKIq@MacBook-Air.local>
Date: Tue, 17 Jun 2025 22:33:48 +0300
From: Joe Damato <joe@...a.to>
To: Breno Leitao <leitao@...ian.org>
Cc: Jakub Kicinski <kuba@...nel.org>, Andrew Lunn <andrew+netdev@...n.ch>,
"David S. Miller" <davem@...emloft.net>,
Eric Dumazet <edumazet@...gle.com>, Paolo Abeni <pabeni@...hat.com>,
David Wei <dw@...idwei.uk>, Shuah Khan <shuah@...nel.org>,
Simon Horman <horms@...nel.org>, netdev@...r.kernel.org,
linux-kernel@...r.kernel.org, linux-kselftest@...r.kernel.org,
gustavold@...il.com
Subject: Re: [PATCH net-next v3 3/4] net: add dev_dstats_rx_dropped_add()
helper
On Tue, Jun 17, 2025 at 01:18:59AM -0700, Breno Leitao wrote:
> Introduce the dev_dstats_rx_dropped_add() helper to allow incrementing
> the rx_drops per-CPU statistic by an arbitrary value, rather than just
> one. This is useful for drivers or code paths that need to account for
> multiple dropped packets at once, such as when dropping entire queues.
>
> Signed-off-by: Breno Leitao <leitao@...ian.org>
> ---
> include/linux/netdevice.h | 10 ++++++++++
> 1 file changed, 10 insertions(+)
>
Reviewed-by: Joe Damato <joe@...a.to>
Powered by blists - more mailing lists