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@debian.org
include/linux/netdevice.h | 10 ++++++++++ 1 file changed, 10 insertions(+)
Reviewed-by: Joe Damato joe@dama.to