From: Thomas Monjalon Date: Thu, 15 Jun 2017 09:34:16 +0000 (+0200) Subject: app/testpmd: fix build without ixgbe X-Git-Tag: spdx-start~3003 X-Git-Url: http://git.droids-corp.org/?a=commitdiff_plain;h=8bd3bb40c9ae2e3b5bd78ec11067afc086180b31;p=dpdk.git 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 Reported-by: Jan Viktorin Signed-off-by: Thomas Monjalon --- diff --git a/app/test-pmd/cmdline.c b/app/test-pmd/cmdline.c index b84c1ab409..37368351a5 100644 --- a/app/test-pmd/cmdline.c +++ b/app/test-pmd/cmdline.c @@ -6803,6 +6803,7 @@ cmdline_parse_inst_t cmd_set_vf_traffic = { NULL, }, }; +#endif /* RTE_LIBRTE_IXGBE_PMD */ /* *** CONFIGURE VF RECEIVE MODE *** */ struct cmd_set_vf_rxmode { @@ -6894,7 +6895,6 @@ cmdline_parse_inst_t cmd_set_vf_rxmode = { NULL, }, }; -#endif /* *** ADD MAC ADDRESS FILTER FOR A VF OF A PORT *** */ struct cmd_vf_mac_addr_result {