From: Maciej Fijalkowski <maciej.fijalkowski@intel.com>
To: netdev@vger.kernel.org
Cc: bpf@vger.kernel.org, magnus.karlsson@intel.com,
stfomichev@gmail.com, kuba@kernel.org, pabeni@redhat.com,
horms@kernel.org, larysa.zaremba@intel.com,
aleksander.lobakin@intel.com,
Maciej Fijalkowski <maciej.fijalkowski@intel.com>
Subject: [PATCH net 0/6] xsk: tailroom reservation and MTU validation
Date: Mon, 16 Mar 2026 18:45:44 +0100 [thread overview]
Message-ID: <20260316174550.462177-1-maciej.fijalkowski@intel.com> (raw)
Hi,
here we fix a long-standing issue regarding multi-buffer scenario in ZC
mode - we have not been providing space at the end of the buffer where
multi-buffer XDP works on skb_shared_info. This has been brought to our
attention via [0].
Unaligned mode does not get any specific treatment, it is user's
responsibility to properly handle XSK addresses in queues.
With two adjustments included here in this set against xskxceiver I have
been able to pass the full test suite on ice.
Thanks,
Maciej
[0]: https://community.intel.com/t5/Ethernet-Products/X710-XDP-Packet-Corruption-Issue-DRV-MODE-Zero-Copy-Multi-Buffer/m-p/1724208
Maciej Fijalkowski (6):
xsk: respect tailroom for ZC setups
ice: do not round up result of dbuff calculation for xsk pool
i40e: do not round up result of dbuff calculation for xsk pool
xsk: validate MTU against usable frame size on bind
selftests: bpf: fix pkt grow tests
selftests: bpf: have a separate variable for drop test
drivers/net/ethernet/intel/i40e/i40e_main.c | 8 ++++---
drivers/net/ethernet/intel/ice/ice_base.c | 10 +++++++--
include/net/xdp_sock_drv.h | 21 ++++++++++++++++++-
net/xdp/xsk_buff_pool.c | 16 +++++++++++---
.../selftests/bpf/prog_tests/test_xsk.c | 21 ++++++++++++++++---
.../selftests/bpf/progs/xsk_xdp_progs.c | 3 ++-
6 files changed, 66 insertions(+), 13 deletions(-)
--
2.43.0
next reply other threads:[~2026-03-16 17:46 UTC|newest]
Thread overview: 17+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-03-16 17:45 Maciej Fijalkowski [this message]
2026-03-16 17:45 ` [PATCH net 1/6] xsk: respect tailroom for ZC setups Maciej Fijalkowski
2026-03-16 22:53 ` Stanislav Fomichev
2026-03-17 9:19 ` Björn Töpel
2026-03-17 11:08 ` Maciej Fijalkowski
2026-03-16 17:45 ` [PATCH net 2/6] ice: do not round up result of dbuff calculation for xsk pool Maciej Fijalkowski
2026-03-17 9:21 ` Björn Töpel
2026-03-16 17:45 ` [PATCH net 3/6] i40e: " Maciej Fijalkowski
2026-03-17 9:21 ` Björn Töpel
2026-03-16 17:45 ` [PATCH net 4/6] xsk: validate MTU against usable frame size on bind Maciej Fijalkowski
2026-03-17 9:30 ` Björn Töpel
2026-03-18 16:46 ` Alexander Lobakin
2026-03-16 17:45 ` [PATCH net 5/6] selftests: bpf: fix pkt grow tests Maciej Fijalkowski
2026-03-17 9:27 ` Björn Töpel
2026-03-17 10:57 ` Maciej Fijalkowski
2026-03-17 12:13 ` Björn Töpel
2026-03-16 17:45 ` [PATCH net 6/6] selftests: bpf: have a separate variable for drop test Maciej Fijalkowski
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20260316174550.462177-1-maciej.fijalkowski@intel.com \
--to=maciej.fijalkowski@intel.com \
--cc=aleksander.lobakin@intel.com \
--cc=bpf@vger.kernel.org \
--cc=horms@kernel.org \
--cc=kuba@kernel.org \
--cc=larysa.zaremba@intel.com \
--cc=magnus.karlsson@intel.com \
--cc=netdev@vger.kernel.org \
--cc=pabeni@redhat.com \
--cc=stfomichev@gmail.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox