Re: [PATCH net-next v3 3/4] net: add dev_dstats_rx_dropped_add() helper

2025-06-17 Thread Joe Damato
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

[PATCH net-next v3 3/4] net: add dev_dstats_rx_dropped_add() helper

2025-06-17 Thread Breno Leitao
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: