summaryrefslogtreecommitdiff
path: root/net/unix/af_unix.c
diff options
context:
space:
mode:
authorBreno Leitao <leitao@debian.org>2025-06-18 01:32:44 -0700
committerJakub Kicinski <kuba@kernel.org>2025-06-19 16:15:34 -0700
commit27480a7c8f0274f8f2fc6c40e4522f38e52bd05f (patch)
treec17b855c0ceb2ee5114909b4c350fb223b479f58 /net/unix/af_unix.c
parent788eb4de608bbebad237674e1057305340d653ba (diff)
net: add dev_dstats_rx_dropped_add() helper
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. Reviewed-by: Joe Damato <joe@dama.to> Signed-off-by: Breno Leitao <leitao@debian.org> Link: https://patch.msgid.link/20250618-netdevsim_stat-v4-3-19fe0d35e28e@debian.org Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'net/unix/af_unix.c')
0 files changed, 0 insertions, 0 deletions