Skip to content

Commit

Permalink
app/testpmd: restore ixgbe bypass commands
Browse files Browse the repository at this point in the history
[ upstream commit 8d1bd1c ]

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: 16ade73 ("app/testpmd: build with meson")

Signed-off-by: David Marchand <david.marchand@redhat.com>
Acked-by: Ferruh Yigit <ferruh.yigit@xilinx.com>
  • Loading branch information
david-marchand authored and kevintraynor committed Oct 11, 2022
1 parent 48240d7 commit 40e0b6e
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions app/test-pmd/meson.build
Original file line number Diff line number Diff line change
Expand Up @@ -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')
Expand Down

0 comments on commit 40e0b6e

Please sign in to comment.