The offload RTE_ETH_RX_OFFLOAD_OUTER_IPV4_CKSUM was advertised as available
on the plain (non-offload) AVX2/AVX512 Rx paths, however only the offload
versions of those paths compute checksum status flags. Move the flag to
the Rx vector offload path mask where it belongs.
Fixes: 872b571787 ("net/ice: use common Rx path selection infrastructure")
Cc: [email protected]
Signed-off-by: Ciara Loftus <[email protected]>
---
drivers/net/intel/ice/ice_rxtx.h | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/drivers/net/intel/ice/ice_rxtx.h b/drivers/net/intel/ice/ice_rxtx.h
index b809c8b0e80..e58f1fab376 100644
--- a/drivers/net/intel/ice/ice_rxtx.h
+++ b/drivers/net/intel/ice/ice_rxtx.h
@@ -95,12 +95,12 @@
/* basic vector paths */
#define ICE_RX_VECTOR_OFFLOADS ( \
RTE_ETH_RX_OFFLOAD_KEEP_CRC | \
- RTE_ETH_RX_OFFLOAD_SCATTER | \
- RTE_ETH_RX_OFFLOAD_OUTER_IPV4_CKSUM)
+ RTE_ETH_RX_OFFLOAD_SCATTER)
/* vector offload paths */
#define ICE_RX_VECTOR_OFFLOAD_OFFLOADS ( \
ICE_RX_VECTOR_OFFLOADS | \
RTE_ETH_RX_OFFLOAD_CHECKSUM | \
+ RTE_ETH_RX_OFFLOAD_OUTER_IPV4_CKSUM | \
RTE_ETH_RX_OFFLOAD_OUTER_UDP_CKSUM | \
RTE_ETH_RX_OFFLOAD_VLAN_STRIP | \
RTE_ETH_RX_OFFLOAD_VLAN_FILTER |\
--
2.43.0