> Subject: [PATCH 2/7] net/iavf: fix VLAN tag placement logic
> 
> Depending on what is reported by the PF to the VF the VLAN tag or VLAN +
> QinQ tags can be in either the L2Tag1 or the L2Tag2 fields. This needs
> to be taken into account when reading the vlan tags from the flex
> descriptors, rather than assuming that the tag is always present in a
> fixed location.
> 
> Fixes: 1e728b01120c ("net/iavf: rework Tx path")
> Cc: [email protected]
> 
> Signed-off-by: Bruce Richardson <[email protected]>

Acked-by: Ciara Loftus <[email protected]>

> ---
>  drivers/net/intel/iavf/iavf_rxtx.c | 49 +++++++++++++++---------------
>  1 file changed, 24 insertions(+), 25 deletions(-)
> 
> diff --git a/drivers/net/intel/iavf/iavf_rxtx.c
> b/drivers/net/intel/iavf/iavf_rxtx.c
> index d65a518f8e..39bcbebf56 100644
> --- a/drivers/net/intel/iavf/iavf_rxtx.c
> +++ b/drivers/net/intel/iavf/iavf_rxtx.c
> @@ -1151,33 +1151,32 @@ iavf_rxd_to_vlan_tci(struct rte_mbuf *mb,
> volatile union ci_rx_desc *rxdp)
> 

Reply via email to