On Thu, Nov 06, 2025 at 11:50:16AM +0000, Ciara Loftus wrote:
> Fix an issue that would arise in the event an mbuf had both the VLAN and
> QINQ insertion offload flags set. In this case the L2TAG2 field would be
> written to twice and could cause the tag to be corrupted. Reorder the
> logic of populating the L2TAG2 field and ensure that the field is only
> written to once.
>
> Fixes: 3aa4efa36438 ("net/iavf: support VLAN insertion in AVX512 Tx")
>
> Signed-off-by: Ciara Loftus <[email protected]>
> ---
> drivers/net/intel/iavf/iavf_rxtx_vec_avx512.c | 26 +++++++++----------
> drivers/net/intel/iavf/iavf_rxtx_vec_common.h | 9 +++----
> 2 files changed, 15 insertions(+), 20 deletions(-)
Acked-by: Bruce Richardson <[email protected]>
- Re: [PATCH v3 2/6] net/iavf: remove duplication in A... Bruce Richardson
- [PATCH v3 1/6] net/iavf: fix compilation with VLAN insert... Ciara Loftus
- Re: [PATCH v3 1/6] net/iavf: fix compilation with VL... Bruce Richardson
- [PATCH v3 3/6] net/iavf: ensure correct conditions for AV... Ciara Loftus
- Re: [PATCH v3 3/6] net/iavf: ensure correct conditio... Bruce Richardson
- [PATCH v3 4/6] net/iavf: fix single VLAN insertion positi... Ciara Loftus
- Re: [PATCH v3 4/6] net/iavf: fix single VLAN inserti... Bruce Richardson
- [PATCH v3 5/6] net/iavf: fix QinQ insertion for single pa... Ciara Loftus
- Re: [PATCH v3 5/6] net/iavf: fix QinQ insertion for ... Bruce Richardson
- [PATCH v3 6/6] net/iavf: fix QinQ insertion with mbuf fla... Ciara Loftus
- Re: [PATCH v3 6/6] net/iavf: fix QinQ insertion with... Bruce Richardson
- Re: [PATCH v3 0/6] Fixes for iavf VLAN insertion offload Bruce Richardson

