patch 'app/testpmd: restore ixgbe bypass commands' has been queued to stable release 19.11.14

christian.ehrhardt at canonical.com christian.ehrhardt at canonical.com
Fri Nov 11 12:38:20 CET 2022


Hi,

FYI, your patch has been queued to stable release 19.11.14

Note it hasn't been pushed to http://dpdk.org/browse/dpdk-stable yet.
It will be pushed if I get no objections before 11/18/22. 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://github.com/cpaelzer/dpdk-stable-queue

This queued commit can be viewed at:
https://github.com/cpaelzer/dpdk-stable-queue/commit/6ba278a52c2a1a942807df1ecb74fa76819d73a3

Thanks.

Christian Ehrhardt <christian.ehrhardt at canonical.com>

---
>From 6ba278a52c2a1a942807df1ecb74fa76819d73a3 Mon Sep 17 00:00:00 2001
From: David Marchand <david.marchand at redhat.com>
Date: Thu, 21 Jul 2022 10:05:45 +0200
Subject: [PATCH] app/testpmd: restore ixgbe bypass commands

[ upstream commit 8d1bd1c04d4122b76e7c9c76ad865ca1c8c3bd8b ]

Since the switch to meson, ixgbe bypass commands were ineffective as the
RTE_LIBRTE_IXGBE_BYPASS build flag was not set, even though the
net/ixgbe driver had this feature compiled in.

Fixes: 16ade738fd0d ("app/testpmd: build with meson")

Signed-off-by: David Marchand <david.marchand at redhat.com>
Acked-by: Ferruh Yigit <ferruh.yigit at xilinx.com>
---
 app/test-pmd/meson.build | 1 +
 1 file changed, 1 insertion(+)

diff --git a/app/test-pmd/meson.build b/app/test-pmd/meson.build
index b0249bdb3c..3a6d943ee9 100644
--- a/app/test-pmd/meson.build
+++ b/app/test-pmd/meson.build
@@ -47,6 +47,7 @@ if dpdk_conf.has('RTE_LIBRTE_I40E_PMD')
 	deps += 'pmd_i40e'
 endif
 if dpdk_conf.has('RTE_LIBRTE_IXGBE_PMD')
+	cflags += ['-DRTE_LIBRTE_IXGBE_BYPASS']
 	deps += 'pmd_ixgbe'
 endif
 if dpdk_conf.has('RTE_LIBRTE_SOFTNIC_PMD')
-- 
2.38.1

---
  Diff of the applied patch vs upstream commit (please double-check if non-empty:
---
--- -	2022-11-11 12:35:04.905181208 +0100
+++ 0003-app-testpmd-restore-ixgbe-bypass-commands.patch	2022-11-11 12:35:04.701191665 +0100
@@ -1 +1 @@
-From 8d1bd1c04d4122b76e7c9c76ad865ca1c8c3bd8b Mon Sep 17 00:00:00 2001
+From 6ba278a52c2a1a942807df1ecb74fa76819d73a3 Mon Sep 17 00:00:00 2001
@@ -5,0 +6,2 @@
+[ upstream commit 8d1bd1c04d4122b76e7c9c76ad865ca1c8c3bd8b ]
+
@@ -11 +12,0 @@
-Cc: stable at dpdk.org
@@ -20 +21 @@
-index 8488efc138..cbe9bf2e93 100644
+index b0249bdb3c..3a6d943ee9 100644
@@ -23,2 +24,2 @@
-@@ -65,6 +65,7 @@ if dpdk_conf.has('RTE_NET_I40E')
-     deps += 'net_i40e'
+@@ -47,6 +47,7 @@ if dpdk_conf.has('RTE_LIBRTE_I40E_PMD')
+ 	deps += 'pmd_i40e'
@@ -26,3 +27,3 @@
- if dpdk_conf.has('RTE_NET_IXGBE')
-+    cflags += ['-DRTE_LIBRTE_IXGBE_BYPASS']
-     deps += 'net_ixgbe'
+ if dpdk_conf.has('RTE_LIBRTE_IXGBE_PMD')
++	cflags += ['-DRTE_LIBRTE_IXGBE_BYPASS']
+ 	deps += 'pmd_ixgbe'
@@ -30 +31 @@
- if dpdk_conf.has('RTE_NET_DPAA')
+ if dpdk_conf.has('RTE_LIBRTE_SOFTNIC_PMD')


More information about the stable mailing list