DPDK patches and discussions
 help / color / mirror / Atom feed
From: aviadye@dev.mellanox.co.il
To: jingjing.wu@intel.com, dev@dpdk.org, aviadye@mellanox.com
Cc: borisp@mellanox.com, aviadye@dev.mellanox.co.il,
	liranl@mellanox.com, thomas@monjalon.net
Subject: [dpdk-dev] [PATCH v2] app/testpmd: compile without ixgbe and bnxt pmds
Date: Tue, 24 Oct 2017 17:48:16 +0300	[thread overview]
Message-ID: <1508856496-30155-1-git-send-email-aviadye@dev.mellanox.co.il> (raw)
In-Reply-To: <1508439233-17981-1-git-send-email-aviadye@dev.mellanox.co.il>

From: Aviad Yehezkel <aviadye@mellanox.com>

Signed-off-by: Aviad Yehezkel <aviadye@mellanox.com>
--
v2:
* Address feedbacks.

Signed-off-by: Aviad Yehezkel <aviadye@mellanox.com>
---
 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 1159a4a..1eefb04 100644
--- a/app/test-pmd/cmdline.c
+++ b/app/test-pmd/cmdline.c
@@ -7494,6 +7494,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 bafe76c..3117cb1 100644
--- a/app/test-pmd/config.c
+++ b/app/test-pmd/config.c
@@ -3185,6 +3185,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

  parent reply	other threads:[~2017-10-24 14:48 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-10-19 18:53 [dpdk-dev] [PATCH] app/testpmd: compile even if ixgbe anf bnxt pmds are not compiling aviadye
2017-10-23 22:32 ` Ferruh Yigit
2017-10-24 14:48 ` aviadye [this message]
2017-10-24 18:31   ` [dpdk-dev] [PATCH v2] app/testpmd: compile without ixgbe and bnxt pmds Ferruh Yigit
2017-10-24 18:46     ` Ferruh Yigit

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1508856496-30155-1-git-send-email-aviadye@dev.mellanox.co.il \
    --to=aviadye@dev.mellanox.co.il \
    --cc=aviadye@mellanox.com \
    --cc=borisp@mellanox.com \
    --cc=dev@dpdk.org \
    --cc=jingjing.wu@intel.com \
    --cc=liranl@mellanox.com \
    --cc=thomas@monjalon.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).