> 
> The vector PMD datapaths for ice do not support QinQ, so we need to
> update the vector offload flags to not use the general RX_OFFLOAD_VLAN
> flag (which sets all vlan-related options) and replace it with the
> individually supported VLAN options.
> 
> Fixes: 808a17b3c1e6 ("net/ice: add Rx AVX512 offload path")
> Cc: sta...@dpdk.org
> 
> Signed-off-by: Bruce Richardson <bruce.richard...@intel.com>
> ---
>  drivers/net/intel/ice/ice_rxtx_vec_common.h | 3 ++-
>  1 file changed, 2 insertions(+), 1 deletion(-)
> 
> diff --git a/drivers/net/intel/ice/ice_rxtx_vec_common.h
> b/drivers/net/intel/ice/ice_rxtx_vec_common.h
> index 9430a99ba5..e41fd8fc7c 100644
> --- a/drivers/net/intel/ice/ice_rxtx_vec_common.h
> +++ b/drivers/net/intel/ice/ice_rxtx_vec_common.h
> @@ -72,7 +72,8 @@ _ice_rx_queue_release_mbufs_vec(struct ci_rx_queue
> *rxq)
>  #define ICE_RX_VECTOR_OFFLOAD (                              \
>               RTE_ETH_RX_OFFLOAD_CHECKSUM |           \
>               RTE_ETH_RX_OFFLOAD_SCTP_CKSUM |         \
> -             RTE_ETH_RX_OFFLOAD_VLAN |                       \
> +             RTE_ETH_RX_OFFLOAD_VLAN_STRIP |         \
> +             RTE_ETH_RX_OFFLOAD_VLAN_FILTER |        \
>               RTE_ETH_RX_OFFLOAD_RSS_HASH)
> 
>  #define ICE_VECTOR_PATH              0
> --
> 2.48.1

LGTM.

Acked-by: Ciara Loftus <ciara.lof...@intel.com>

Reply via email to