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 85980237 for ; Tue, 21 Nov 2017 14:29:22 +0100 (CET) Received: from compute1.internal (compute1.nyi.internal [10.202.2.41]) by mailout.nyi.internal (Postfix) with ESMTP id 366FF20AF2; Tue, 21 Nov 2017 08:29:22 -0500 (EST) Received: from frontend2 ([10.202.2.161]) by compute1.internal (MEProxy); Tue, 21 Nov 2017 08:29:22 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=fridaylinux.org; h=cc:date:from:in-reply-to:message-id:references:subject:to :x-me-sender:x-me-sender:x-sasl-enc; s=fm1; bh=xVvEKbDuqu1zwfz0u OaNvo3WZODAblJQ3CpGCiS3oPE=; b=o2gIuIxdY0mFsqL3Xd7pYe8DRZ6nsL9Z6 vqJQMjm2sfsykrh1gYCGTpVRt6o3Q4wfCHBkODYsWRK7n/vT0sPTfw57AMoPuN0Z 8gzjJRaKbjzAFTJPzv0tD2x8LZOEuH9XDFsiBidMAD/9lrfyYQcxVHdOGiM1eW1n Lb9UTABIF7VfnRrufERUspfcmgLozHiXMy+sPWXOM0w9DcYpCRaP+ZK2mqKfCZVQ h/3B3GONi4Y3NgXGory8kW6mn2hQ1XiuL1l1FYye5rn99HIaanr02IiZgKPtgqV0 yqWx88OteHX2Te86tGDDd3iR3nKey7SwhN4jhEtwqhImmMqcSAidw== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:date:from:in-reply-to:message-id :references:subject:to:x-me-sender:x-me-sender:x-sasl-enc; s= fm1; bh=xVvEKbDuqu1zwfz0uOaNvo3WZODAblJQ3CpGCiS3oPE=; b=SyjlZtnk EjagrehJxae+dojcb5/IoDnbt8JIVaYSY6PKVnAE76Uy4WfX98qCqLCcsNRbl638 UzAyCms5UYSs2vE1lWT8z2JuXJOkdB0SHfViBMxE64CGeDfM6f1mHpy+QTVX/w32 ItZPHlqNKk9C+Dmt+wUKoNAkBQJhyxOrGQF0w9OT1mO8pMmB4FULGt9cvB6uApPt 4qoa8q0hY4AIbum0B/QTuW66KiRkczDHe+fURmXth2Dg7deeSYiZq14D/hTaKnig FQ+LY4HFbaCMblUu9zFSfTH3/S8B9wlUYePHSUTpmThFWyRG6g6jm49uRTvYbom5 MUXIq9igMSE16w== X-ME-Sender: Received: from localhost.localdomain (unknown [180.158.62.0]) by mail.messagingengine.com (Postfix) with ESMTPA id D4BBD24A81; Tue, 21 Nov 2017 08:29:19 -0500 (EST) From: Yuanhan Liu To: Aviad Yehezkel Cc: Ferruh Yigit , dpdk stable Date: Tue, 21 Nov 2017 21:18:16 +0800 Message-Id: <1511270333-31002-154-git-send-email-yliu@fridaylinux.org> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1511270333-31002-1-git-send-email-yliu@fridaylinux.org> References: <1511270333-31002-1-git-send-email-yliu@fridaylinux.org> Subject: [dpdk-stable] patch 'app/testpmd: fix build without ixgbe and bnxt PMDs' has been queued to stable release 17.08.1 X-BeenThere: stable@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: patches for DPDK stable branches List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 21 Nov 2017 13:29:22 -0000 Hi, FYI, your patch has been queued to stable release 17.08.1 Note it hasn't been pushed to http://dpdk.org/browse/dpdk-stable yet. It will be pushed if I get no objections before 11/24/17. So please shout if anyone has objections. Thanks. --yliu --- >>From f8328c0ed60bea5867a7f21a7bfceb7e32304baf Mon Sep 17 00:00:00 2001 From: Aviad Yehezkel Date: Tue, 24 Oct 2017 17:48:16 +0300 Subject: [PATCH] app/testpmd: fix build without ixgbe and bnxt PMDs [ upstream commit 59e4985a24d58ffad1c205a148ef3ac4ca2c5093 ] Fixes: 4cfe399f6550 ("net/bnxt: support to set VF rxmode") Fixes: 36735a932ca7 ("net/bnxt: support set VF QOS and MAC anti spoof") Signed-off-by: Aviad Yehezkel Reviewed-by: Ferruh Yigit --- app/test-pmd/cmdline.c | 2 ++ app/test-pmd/config.c | 4 ++++ 2 files changed, 6 insertions(+) diff --git a/app/test-pmd/cmdline.c b/app/test-pmd/cmdline.c index a9494db..fb47a13 100644 --- a/app/test-pmd/cmdline.c +++ b/app/test-pmd/cmdline.c @@ -7135,6 +7135,8 @@ cmd_set_vf_rxmode_parsed(void *parsed_result, rx_mode |= ETH_VMDQ_ACCEPT_MULTICAST; } + RTE_SET_USED(is_on); + #ifdef RTE_LIBRTE_IXGBE_PMD if (ret == -ENOTSUP) ret = rte_pmd_ixgbe_set_vf_rxmode(res->port_id, res->vf_id, diff --git a/app/test-pmd/config.c b/app/test-pmd/config.c index 56d706a..ae4d793 100644 --- a/app/test-pmd/config.c +++ b/app/test-pmd/config.c @@ -3096,6 +3096,10 @@ set_vf_rate_limit(portid_t port_id, uint16_t vf, uint16_t rate, uint64_t q_msk) { int diag = -ENOTSUP; + RTE_SET_USED(vf); + RTE_SET_USED(rate); + RTE_SET_USED(q_msk); + #ifdef RTE_LIBRTE_IXGBE_PMD if (diag == -ENOTSUP) diag = rte_pmd_ixgbe_set_vf_rate_limit(port_id, vf, rate, -- 2.7.4