[PATCH net-next 2/3] xsk: honor XDP_TX_METADATA in zero-copy path
Alexander Lobakin
aleksander.lobakin at intel.com
Wed Aug 12 04:05:56 PDT 2026
From: Stanislav Fomichev <sdf.kernel at gmail.com>
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 at fomichev.me>
Reviwed-by: Alexander Lobakin <aleksander.lobakin at intel.com>
Thanks,
Olek
More information about the linux-arm-kernel
mailing list