summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorAvi Weiss <thnkslprpt@gmail.com>2026-11-09 16:13:44 +0200
committerJakub Kicinski <kuba@kernel.org>2026-11-11 15:00:55 -0800
commitf3c790c34d228d46c4a05fe5d001d1bbea444e2b (patch)
tree33434321761a51a1a6aabddde374736ca8a6d9f2 /tools/perf/scripts/python
parent3e8e22a1007a6337ba2400b3ea87077947005c20 (diff)
net: ena: avoid RX copybreak for multi-descriptor packets
ena_rx_skb() selects the copybreak path based on the first RX descriptor's length without checking the number of descriptors. When a packet spans multiple descriptors, this copies only the first buffer into the skb and fails to recycle the remaining request IDs, while RX cleanup advances by the full descriptor count. Restrict copybreak to single-descriptor packets and apply the same restriction to the rx_copybreak_pkt statistic. Multi-descriptor packets then use the existing fragment-processing path. Discovered by comparing the in-tree ENA driver with Amazon's standalone ENA driver. Compiled with W=1 under x86_64 defconfig. Fixes: 1738cd3ed342 ("net: ena: Add a driver for Amazon Elastic Network Adapters (ENA)") Signed-off-by: Avi Weiss <thnkslprpt@gmail.com> Link: https://patch.msgid.link/20261109141343.920187-2-thnkslprpt@gmail.com Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions