From mboxrd@z Thu Jan 1 00:00:00 1970 From: Thomas Monjalon Subject: [PATCH] app/testpmd: fix build without ixgbe Date: Thu, 15 Jun 2017 12:17:46 +0200 Message-ID: <20170615101746.14554-1-thomas@monjalon.net> References: <20170615092638.76312cf1.viktorin@rehivetech.com> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Cc: Jan Viktorin , dev@dpdk.org To: ajit.khaparde@broadcom.com Return-path: Received: from out4-smtp.messagingengine.com (out4-smtp.messagingengine.com [66.111.4.28]) by dpdk.org (Postfix) with ESMTP id 375502BB9 for ; Thu, 15 Jun 2017 12:20:16 +0200 (CEST) In-Reply-To: <20170615092638.76312cf1.viktorin@rehivetech.com> List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" 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: Jan Viktorin Signed-off-by: Thomas Monjalon --- app/test-pmd/cmdline.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/test-pmd/cmdline.c b/app/test-pmd/cmdline.c index 7f5373a7e..105c71f39 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 { -- 2.13.1