[PATCH v1 1/1] net/nbl: fix Tx VLAN fallback header overlap
Stephen Hemminger
stephen at networkplumber.org
Thu Dec 3 21:25:59 CET 2026
On Wed, 2 Dec 2026 10:50:50 +0800
Dimon Zhao <dimon.zhao at nebula-matrix.com> wrote:
> The Tx fallback uses the extended header size as the slot stride.
> On Leonis this is 12 bytes, but the VLAN fallback writes a 30-byte
> header. A single-segment fallback packet consumes two descriptors,
> so consecutive headers start 24 bytes apart. The second header
> overwrites the first packet's EtherType and VLAN fields.
>
> Use the reserved 32-byte NBL_TX_HEADER_LEN stride for both the
> software header pointer and the descriptor DMA address.
>
> Fixes: 9d7757dce874 ("net/nbl: simulate VLAN offload")
> Cc: stable at dpdk.org
> Signed-off-by: Dimon Zhao <dimon.zhao at nebula-matrix.com>
> ---
Reviewed clean, applied to next-net
More information about the stable
mailing list