From mboxrd@z Thu Jan 1 00:00:00 1970 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) Received: from compute1.internal (compute1.nyi.internal [10.202.2.41]) by mailout.nyi.internal (Postfix) with ESMTP id C7CD320726; Thu, 15 Jun 2017 06:20:15 -0400 (EDT) Received: from frontend1 ([10.202.2.160]) by compute1.internal (MEProxy); Thu, 15 Jun 2017 06:20:15 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=monjalon.net; h= cc:content-transfer-encoding:content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to:x-me-sender :x-me-sender:x-sasl-enc:x-sasl-enc; s=mesmtp; bh=doN2lCwFb/k4dMI licUkp+bR7oiiIB4JIGRkMlf3o3M=; b=KpDYPdqxy9Sjban7hZfUsaiqU43sjeD a6fuqlUHNomVspb9oq21kapHoLamCACu1RITKFA6x72ktB8o/M95Mh/3druXwOy1 A2GgoBfxiQWFlP/H1ix9gootapgcVh5Fx6dc/NfSCY0jMbsIbjkVQGdjD/7SOeLp mIFvbqqd4dRU= DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-transfer-encoding:content-type :date:from:in-reply-to:message-id:mime-version:references :subject:to:x-me-sender:x-me-sender:x-sasl-enc:x-sasl-enc; s= fm1; bh=doN2lCwFb/k4dMIlicUkp+bR7oiiIB4JIGRkMlf3o3M=; b=e7HdbZux Zag8yim2j+r4nVEkRC+R94n8FeOfiMPHE6NjYgmMDwshIhswG6Lyvnf9daOi0yEH 68kKtzmTMEmpu/mU7cwbU7bqX8BLB5+DU/O78Ru0p11jkdefpCOumFkxpr3L5xtF ZKv9KvthZfYZ+iOhD5mx6qn3mpPqw/MM152nKH/BKfWDpvXBykypIm5xAIOcybGR 8SS7bqPYrlOy6IEKWFGKnI8irQCL2wNxjmjB3uvSaJhADojXMB+ChCgjRKfS2K2S f9UE0IbjY55DOhh41r1fFQG/ieCZwMUGH3UNhkmTTswI5I2ghfiZuM4pM+rq/+q2 gINAAZaWw99nvw== X-ME-Sender: X-Sasl-enc: MNU0NXiXmKYSDS04NTjEYhHeyZXHynst3X6HGkbok7nT 1497522015 Received: from xps.monjalon.net (184.203.134.77.rev.sfr.net [77.134.203.184]) by mail.messagingengine.com (Postfix) with ESMTPA id 2368D7E800; Thu, 15 Jun 2017 06:20:15 -0400 (EDT) From: Thomas Monjalon To: ajit.khaparde@broadcom.com Cc: Jan Viktorin , dev@dpdk.org Date: Thu, 15 Jun 2017 12:17:46 +0200 Message-Id: <20170615101746.14554-1-thomas@monjalon.net> X-Mailer: git-send-email 2.13.1 In-Reply-To: <20170615092638.76312cf1.viktorin@rehivetech.com> References: <20170615092638.76312cf1.viktorin@rehivetech.com> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Subject: [dpdk-dev] [PATCH] app/testpmd: fix build without ixgbe X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 15 Jun 2017 10:20:16 -0000 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