app/testpmd: fix build without ixgbe
authorThomas Monjalon <thomas@monjalon.net>
Thu, 15 Jun 2017 09:34:16 +0000 (11:34 +0200)
committerThomas Monjalon <thomas@monjalon.net>
Thu, 15 Jun 2017 16:32:13 +0000 (18:32 +0200)
commit8bd3bb40c9ae2e3b5bd78ec11067afc086180b31
tree3d5dcd9f025c4461718f8c7cebb475d489cdb188
parent98a7ea332ba3da0f74ec951595d36a616165b255
app/testpmd: fix build without ixgbe

cmd_set_vf_rxmode_parsed() was defined only in the build context
of RTE_LIBRTE_IXGBE_PMD:
app/test-pmd/cmdline.c:13817:27: error: ‘cmd_set_vf_rxmode’ undeclared here

Fixes: 4cfe399f6550 ("net/bnxt: support to set VF rxmode")

Reported-by: Yongseok Koh <yskoh@mellanox.com>
Reported-by: Jan Viktorin <viktorin@rehivetech.com>
Signed-off-by: Thomas Monjalon <thomas@monjalon.net>
app/test-pmd/cmdline.c