[PATCH net v3 0/3] xsk: pre-existing AF_XDP TX metadata fixes from Sashiko
From: Stanislav Fomichev
Date: Wed Aug 19 2026 - 12:06:05 EST
A few fixes to address pre-existing issues from Sashiko review.
Notes on the feedback from net-next v1 posting [0]:
- It correctly complains about ABI breakage for 32 bit systems, added
an explanation why I think we unlikely to have any 32 bit users with
launch time
- mlx5 batching (pre existing) - I think my point in the comment still
stays (that we do not make it worse)
- stmmac recycled descriptors (pre existing) - seems valid but I don't feel
confident sending a vibe-coded fix
- stmmac queueMaxSDU vs taprio offload - don't think this is real but
we can fix separately later if it is (the existing issue with breaking
xsk seems more real)
v3:
- update first patch commit description (Arnd)
- replace last patch with a comment (Jakub)
v2:
- target net, address clashiko feedback (mostly here and other commit
descriptions)
0: from https://netdev-ai.bots.linux.dev/sashiko/#/message/20260810184753.135756-1-sdf%40fomichev.me
Stanislav Fomichev (3):
xsk: align TX metadata layout across ABIs
xsk: honor XDP_TX_METADATA in zero-copy path
net: stmmac: document oversized AF_XDP frame handling
drivers/net/ethernet/intel/igc/igc_main.c | 3 ++-
.../ethernet/mellanox/mlx5/core/en/xsk/tx.c | 2 +-
.../net/ethernet/stmicro/stmmac/stmmac_main.c | 7 +++++-
include/net/libeth/xsk.h | 2 +-
include/net/xdp_sock_drv.h | 22 +++++++++++--------
include/net/xsk_buff_pool.h | 3 ++-
include/uapi/linux/if_xdp.h | 1 +
net/xdp/xsk_buff_pool.c | 7 ++++--
tools/include/uapi/linux/if_xdp.h | 1 +
9 files changed, 32 insertions(+), 16 deletions(-)
--
2.53.0-Meta