diff options
| author | Koichiro Den <den@valinux.co.jp> | 2026-08-20 02:25:39 +0900 |
|---|---|---|
| committer | Jakub Kicinski <kuba@kernel.org> | 2026-08-22 13:06:08 -0700 |
| commit | 31ded341c375bb2faac1d77ab0012a732ba3e2a6 (patch) | |
| tree | 1eacdf318cd000f5e05668299ea98ba6dc7772b2 /tools/perf/scripts/python/bin/stackcollapse-record | |
| parent | 82e15be2d8b9efa6fb1750528d9b6f40e6a8eea7 (diff) | |
net: ntb_netdev: Count packets dropped on RX refill failure
When replacement skb allocation fails, ntb_netdev drops a packet that
was received successfully and requeues the original buffer. The drop is
counted, but rx_packets and rx_bytes are not.
Count every good packet before allocating its replacement.
Fixes: d2121faf133a ("NTB: ntb_netdev: Preserve RX queue depth on allocation failure")
Cc: stable@vger.kernel.org
Signed-off-by: Koichiro Den <den@valinux.co.jp>
Link: https://patch.msgid.link/20260819172539.1450821-3-den@valinux.co.jp
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/bin/stackcollapse-record')
0 files changed, 0 insertions, 0 deletions
