net/iavf: fix Tunnel TSO path selecting.
PATCH 1/1 net/iavf: fix Tunnel TSO path selecting.
IAVF curerently 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.
This patch added the missed flags to fix the Tunnel TSO path selecting.
--- drivers/net/iavf/iavf_rxtx.h | 4 ++++ 1 file changed, 4 insertions(+)
drivers/net/iavf/iavf_rxtx.h +4 -0
@@ -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 ( \
Signature · 1 line
2.34.1
PATCH v2 1/1 net/iavf: fix Tunnel TSO path selecting.
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.
---
v2: Add fixline, add CC, fix commit message.
--- drivers/net/iavf/iavf_rxtx.h | 4 ++++ 1 file changed, 4 insertions(+)
drivers/net/iavf/iavf_rxtx.h +4 -0
@@ -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 ( \
Signature · 1 line
2.34.1
Quoted 16 lines
-----Original Message-----
From: Xu, Ke1 <[email protected]>
Sent: Thursday, July 6, 2023 10:45 AM
To: [email protected]
Cc: Xu, Ke1 <[email protected]>; Zeng, ZhichaoX <[email protected]>; Lu, Wenzhuo <[email protected]>; [email protected]
Subject: [PATCH v2] net/iavf: fix Tunnel TSO path selecting.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.
Quoted 7 lines
Fixes 059f18ae2aec ("net/iavf: add offload path for Tx AVX512")Signed-off-by Ke Xu <[email protected]>---
v2: Add fixline, add CC, fix commit message.
---
Zhang, Qi Z
AppliedQuoted 17 lines
-----Original Message-----
From: Zeng, ZhichaoX <[email protected]>
Sent: Thursday, July 6, 2023 2:08 PM
To: Xu, Ke1 <[email protected]>; [email protected]
Cc: Lu, Wenzhuo <[email protected]>; [email protected]
Subject: RE: [PATCH v2] net/iavf: fix Tunnel TSO path selecting.Quoted 8 lines
-----Original Message-----
From: Xu, Ke1 <[email protected]>
Sent: Thursday, July 6, 2023 10:45 AM
To: [email protected]
Cc: Xu, Ke1 <[email protected]>; Zeng, ZhichaoX <[email protected]>; Lu, Wenzhuo <[email protected]>; [email protected]
Subject: [PATCH v2] net/iavf: fix Tunnel TSO path selecting.
net/iavf: fix Tunnel TSO path selection
Quoted 11 lines
Quoted 11 lines
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")
Quoted 6 lines
Quoted 4 lines
Signed-off-by Ke Xu <[email protected]>---
v2: Add fixline, add CC, fix commit message.
---Acked-by Zhichao Zeng <[email protected]>
Applied to dpdk-next-net-intel.
Thanks
Qi