diff mbox series

[v2,1/3] app/testpmd: restore ixgbe bypass commands

Message ID 20220617050753.1273320-1-david.marchand@redhat.com (mailing list archive)
State Under Review
Delegated to: Ferruh Yigit
Headers show
Series [v2,1/3] app/testpmd: restore ixgbe bypass commands | expand

Checks

Context Check Description
ci/checkpatch success coding style OK

Commit Message

David Marchand June 17, 2022, 5:07 a.m. UTC
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")
Cc: stable@dpdk.org

Signed-off-by: David Marchand <david.marchand@redhat.com>
---
 app/test-pmd/meson.build | 1 +
 1 file changed, 1 insertion(+)
diff mbox series

Patch

diff --git a/app/test-pmd/meson.build b/app/test-pmd/meson.build
index d13e98125e..69c7595a45 100644
--- a/app/test-pmd/meson.build
+++ b/app/test-pmd/meson.build
@@ -68,6 +68,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')