> Subject: [PATCH 5/7] net/intel: fix VLAN and QinQ tag position logic
>
> The position of a single vlan tag on a Tx packet (data desc or ctx desc)
> is independent across drivers from that of where the outer QinQ tag gets
> put. Therefore, these should be passed as separate values to the common
> scalar Tx function. For i40e, ice and idpf, the single tag can be put in
> the data descriptor, and for QinQ, the context descriptor contains the
> outer tag. For iavf, the tag positions depend on the capabilities
> reported by the PF to the VF, but the position for the single vlan tag
> and the outer QinQ tags are the same.
>
> Fixes: 6ea6d67bebfe ("net/intel: support configurable VLAN insertion on Tx")
> Cc: [email protected]
>
> Signed-off-by: Bruce Richardson <[email protected]>
Acked-by: Ciara Loftus <[email protected]>
> ---
> drivers/net/intel/common/tx_scalar.h | 16 +++++++++++-----
> drivers/net/intel/i40e/i40e_rxtx.c | 6 ++++--
> drivers/net/intel/iavf/iavf_rxtx.c | 7 ++++---
> drivers/net/intel/ice/ice_rxtx.c | 5 +++--
> drivers/net/intel/idpf/idpf_common_rxtx.c | 3 ++-
> 5 files changed, 24 insertions(+), 13 deletions(-)
>