patch 'net/iavf: fix tunnel TSO path selection' has been queued to stable release 22.11.3

Xueming Li xuemingl at nvidia.com
Thu Aug 10 01:59:08 CEST 2023


Hi,

FYI, your patch has been queued to stable release 22.11.3

Note it hasn't been pushed to http://dpdk.org/browse/dpdk-stable yet.
It will be pushed if I get no objections before 08/11/23. So please
shout if anyone has objections.

Also note that after the patch there's a diff of the upstream commit vs the
patch applied to the branch. This will indicate if there was any rebasing
needed to apply to the stable branch. If there were code changes for rebasing
(ie: not only metadata diffs), please double check that the rebase was
correctly done.

Queued patches are on a temporary branch at:
https://git.dpdk.org/dpdk-stable/log/?h=22.11-staging

This queued commit can be viewed at:
https://git.dpdk.org/dpdk-stable/commit/?h=22.11-staging&id=e7c69c450ba135ea52da529e92d46546a4ba0fbe

Thanks.

Xueming Li <xuemingl at nvidia.com>

---
>From e7c69c450ba135ea52da529e92d46546a4ba0fbe Mon Sep 17 00:00:00 2001
From: Ke Xu <ke1.xu at intel.com>
Date: Thu, 6 Jul 2023 02:45:26 +0000
Subject: [PATCH] net/iavf: fix tunnel TSO path selection
Cc: Xueming Li <xuemingl at nvidia.com>

[ upstream commit ca34627be5d6dae10c2ffe95d8c5782d6fec39e9 ]

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")

Signed-off-by: Ke Xu <ke1.xu at intel.com>
Acked-by: Zhichao Zeng <zhichaox.zeng at intel.com>
---
 drivers/net/iavf/iavf_rxtx.h | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)

diff --git a/drivers/net/iavf/iavf_rxtx.h b/drivers/net/iavf/iavf_rxtx.h
index 354326c235..75d3f6b3be 100644
--- a/drivers/net/iavf/iavf_rxtx.h
+++ b/drivers/net/iavf/iavf_rxtx.h
@@ -31,8 +31,10 @@
 		RTE_ETH_TX_OFFLOAD_QINQ_INSERT |		 \
 		RTE_ETH_TX_OFFLOAD_MULTI_SEGS |		 \
 		RTE_ETH_TX_OFFLOAD_TCP_TSO |		 \
-		RTE_ETH_TX_OFFLOAD_OUTER_IPV4_CKSUM |    \
-		RTE_ETH_TX_OFFLOAD_OUTER_UDP_CKSUM |	\
+		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.25.1

---
  Diff of the applied patch vs upstream commit (please double-check if non-empty:
---
--- -	2023-08-09 21:51:20.487985200 +0800
+++ 0089-net-iavf-fix-tunnel-TSO-path-selection.patch	2023-08-09 21:51:18.254352000 +0800
@@ -1 +1 @@
-From ca34627be5d6dae10c2ffe95d8c5782d6fec39e9 Mon Sep 17 00:00:00 2001
+From e7c69c450ba135ea52da529e92d46546a4ba0fbe Mon Sep 17 00:00:00 2001
@@ -4,0 +5,3 @@
+Cc: Xueming Li <xuemingl at nvidia.com>
+
+[ upstream commit ca34627be5d6dae10c2ffe95d8c5782d6fec39e9 ]
@@ -14 +16,0 @@
-Cc: stable at dpdk.org
@@ -19,2 +21,2 @@
- drivers/net/iavf/iavf_rxtx.h | 4 ++++
- 1 file changed, 4 insertions(+)
+ drivers/net/iavf/iavf_rxtx.h | 6 ++++--
+ 1 file changed, 4 insertions(+), 2 deletions(-)
@@ -23 +25 @@
-index 8d4a77271a..605ea3f824 100644
+index 354326c235..75d3f6b3be 100644
@@ -26 +28 @@
-@@ -31,6 +31,10 @@
+@@ -31,8 +31,10 @@
@@ -29,0 +32,2 @@
+-		RTE_ETH_TX_OFFLOAD_OUTER_IPV4_CKSUM |    \
+-		RTE_ETH_TX_OFFLOAD_OUTER_UDP_CKSUM |	\


More information about the stable mailing list