[PATCH v2] net/iavf: fix Tunnel TSO path selecting.

Ke Xu ke1.xu at intel.com
Thu Jul 6 04:34:21 CEST 2023


IAVF currently supports TSO and Tunnel TSO. Both these two features
 are implemented in scalar path. As there are missed flags for Tunnel
 TSO, it selects vector paths wrongly when only Tunnel TSO is enabled
 after introducing the patch "net/iavf: add offload path for Tx AVX512".

This patch added the missed flags to fix the Tunnel TSO path selecting.

Fixes: 059f18ae2aec ("net/iavf: add offload path for Tx AVX512")
Cc: stable at dpdk.org

Signed-off-by: Ke Xu <ke1.xu at intel.com>
---
v2: Add fixline, add CC, fix commit message.
---
 drivers/net/iavf/iavf_rxtx.h | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/drivers/net/iavf/iavf_rxtx.h b/drivers/net/iavf/iavf_rxtx.h
index 8d4a77271a..605ea3f824 100644
--- a/drivers/net/iavf/iavf_rxtx.h
+++ b/drivers/net/iavf/iavf_rxtx.h
@@ -31,6 +31,10 @@
 		RTE_ETH_TX_OFFLOAD_QINQ_INSERT |		 \
 		RTE_ETH_TX_OFFLOAD_MULTI_SEGS |		 \
 		RTE_ETH_TX_OFFLOAD_TCP_TSO |		 \
+		RTE_ETH_TX_OFFLOAD_VXLAN_TNL_TSO |	 \
+		RTE_ETH_TX_OFFLOAD_GRE_TNL_TSO |	 \
+		RTE_ETH_TX_OFFLOAD_IPIP_TNL_TSO |	 \
+		RTE_ETH_TX_OFFLOAD_GENEVE_TNL_TSO |	 \
 		RTE_ETH_TX_OFFLOAD_SECURITY)
 
 #define IAVF_TX_VECTOR_OFFLOAD (				 \
-- 
2.34.1



More information about the stable mailing list