summaryrefslogtreecommitdiff
path: root/scripts/rust_is_available_bindgen_libclang.h
diff options
context:
space:
mode:
authorDavid Arinzon <darinzon@amazon.com>2023-12-11 09:27:59 +0300
committerJakub Kicinski <kuba@kernel.org>2023-12-13 03:07:31 +0300
commit505b1a88d311ff6f8c44a34f94e3be21745cce6f (patch)
treea7d8b078fe4122aa2ca5badaef93f1f82b80bbc7 /scripts/rust_is_available_bindgen_libclang.h
parent41db6f99b5489a0d2ef26afe816ef0c6118d1d47 (diff)
downloadlinux-505b1a88d311ff6f8c44a34f94e3be21745cce6f.tar.xz
net: ena: Fix xdp drops handling due to multibuf packets
Current xdp code drops packets larger than ENA_XDP_MAX_MTU. This is an incorrect condition since the problem is not the size of the packet, rather the number of buffers it contains. This commit: 1. Identifies and drops XDP multi-buffer packets at the beginning of the function. 2. Increases the xdp drop statistic when this drop occurs. 3. Adds a one-time print that such drops are happening to give better indication to the user. Fixes: 838c93dc5449 ("net: ena: implement XDP drop support") Signed-off-by: Arthur Kiyanovski <akiyano@amazon.com> Signed-off-by: David Arinzon <darinzon@amazon.com> Link: https://lore.kernel.org/r/20231211062801.27891-3-darinzon@amazon.com Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'scripts/rust_is_available_bindgen_libclang.h')
0 files changed, 0 insertions, 0 deletions