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

luca.boccassi at gmail.com luca.boccassi at gmail.com
Thu Nov 3 10:26:21 CET 2022


Hi,

FYI, your patch has been queued to stable release 20.11.7

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/05/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/kevintraynor/dpdk-stable

This queued commit can be viewed at:
https://github.com/kevintraynor/dpdk-stable/commit/a8d9f35ccc796fe5adcbb9587403283a843ea7c7

Thanks.

Luca Boccassi

---
>From a8d9f35ccc796fe5adcbb9587403283a843ea7c7 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 4d584f7562..adbb1d7f89 100644
--- a/app/test-pmd/meson.build
+++ b/app/test-pmd/meson.build
@@ -51,6 +51,7 @@ if dpdk_conf.has('RTE_NET_I40E')
 	deps += 'net_i40e'
 endif
 if dpdk_conf.has('RTE_NET_IXGBE')
+	cflags += ['-DRTE_LIBRTE_IXGBE_BYPASS']
 	deps += 'net_ixgbe'
 endif
 if dpdk_conf.has('RTE_NET_DPAA')
-- 
2.34.1

---
  Diff of the applied patch vs upstream commit (please double-check if non-empty:
---
--- -	2022-11-03 09:27:25.708234334 +0000
+++ 0003-app-testpmd-restore-ixgbe-bypass-commands.patch	2022-11-03 09:27:25.297420969 +0000
@@ -1 +1 @@
-From 8d1bd1c04d4122b76e7c9c76ad865ca1c8c3bd8b Mon Sep 17 00:00:00 2001
+From a8d9f35ccc796fe5adcbb9587403283a843ea7c7 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 4d584f7562..adbb1d7f89 100644
@@ -23,2 +24,2 @@
-@@ -65,6 +65,7 @@ if dpdk_conf.has('RTE_NET_I40E')
-     deps += 'net_i40e'
+@@ -51,6 +51,7 @@ if dpdk_conf.has('RTE_NET_I40E')
+ 	deps += 'net_i40e'
@@ -27,2 +28,2 @@
-+    cflags += ['-DRTE_LIBRTE_IXGBE_BYPASS']
-     deps += 'net_ixgbe'
++	cflags += ['-DRTE_LIBRTE_IXGBE_BYPASS']
+ 	deps += 'net_ixgbe'


More information about the stable mailing list