summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/bin
diff options
context:
space:
mode:
authorKoichiro Den <den@valinux.co.jp>2026-08-20 02:25:38 +0900
committerJakub Kicinski <kuba@kernel.org>2026-08-22 13:06:08 -0700
commit82e15be2d8b9efa6fb1750528d9b6f40e6a8eea7 (patch)
treefe528d89aa7019c9e8f72ef5f838cf680ea4c471 /tools/perf/scripts/python/bin
parent870a9e42ecc6fe1b8c25d87af043cb0d9c178fe1 (diff)
net: ntb_netdev: Avoid double-accounting netif_rx() drops
netif_rx() already accounts packets it drops in the core rx_dropped counter. ntb_netdev counts them again as both errors and drops. Leave netif_rx() drops to the core. Count the packet and bytes unconditionally since it was received successfully by the driver. Fixes: 548c237c0a99 ("net: Add support for NTB virtual ethernet device") Cc: stable@vger.kernel.org Suggested-by: Jakub Kicinski <kuba@kernel.org> Signed-off-by: Koichiro Den <den@valinux.co.jp> Link: https://patch.msgid.link/20260819172539.1450821-2-den@valinux.co.jp Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/bin')
0 files changed, 0 insertions, 0 deletions