Thread (7 messages) flat view 7 messages, 3 authors, 3d ago

Re: [PATCH net-next 2/3] xsk: honor XDP_TX_METADATA in zero-copy path

From: Alexander Lobakin <aleksander.lobakin@intel.com>
Date: 2026-08-12 11:09:38
Also in: bpf, intel-wired-lan, linux-rdma, lkml, netdev

From: Stanislav Fomichev <redacted>
Date: Mon, 10 Aug 2026 11:47:52 -0700
The zero-copy path reads TX metadata whenever the UMEM has metadata space,
even if the descriptor does not set XDP_TX_METADATA. Pass descriptor
options through the metadata helpers and ignore metadata unless the option
is set.

This does not change the existing per-WQE metadata handling for mlx5
MPWQEs, where the descriptor that starts a session configures offload state
shared by the batch. Supporting mixed metadata states within one MPWQE
requires a separate fix.

Fixes: 48eb03dd2630 ("xsk: Add TX timestamp and TX checksum offload support")
Signed-off-by: Stanislav Fomichev <sdf@fomichev.me>
Reviwed-by: Alexander Lobakin [off-list ref]

Thanks,
Olek
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help