Re: [PATCH net-next 2/3] xsk: honor XDP_TX_METADATA in zero-copy path
From: Alexander Lobakin
Date: Wed Aug 12 2026 - 07:40:59 EST
From: Stanislav Fomichev <sdf.kernel@xxxxxxxxx>
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@xxxxxxxxxxx>
Reviwed-by: Alexander Lobakin <aleksander.lobakin@xxxxxxxxx>
Thanks,
Olek