From: Pablo de Lara <pablo.de.lara.guarch@intel.com>
To: jingjing.wu@intel.com, remy.horton@intel.com
Cc: dev@dpdk.org, Pablo de Lara <pablo.de.lara.guarch@intel.com>
Subject: [dpdk-dev] [PATCH] app/testpmd: fix compilation when bitrate lib is disabled
Date: Wed, 3 May 2017 08:02:09 +0100 [thread overview]
Message-ID: <1493794929-105798-1-git-send-email-pablo.de.lara.guarch@intel.com> (raw)
Fixes: e25e6c70fb56 ("app/testpmd: add --bitrate-stats option")
Signed-off-by: Pablo de Lara <pablo.de.lara.guarch@intel.com>
---
app/test-pmd/testpmd.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/app/test-pmd/testpmd.c b/app/test-pmd/testpmd.c
index dfe6442..776b8dd 100644
--- a/app/test-pmd/testpmd.c
+++ b/app/test-pmd/testpmd.c
@@ -2239,7 +2239,9 @@ main(int argc, char** argv)
"core mask supplied in the command parameters\n");
/* Bitrate stats disabled by default */
+#ifdef RTE_LIBRTE_BITRATE
bitrate_enabled = 0;
+#endif
argc -= diag;
argv += diag;
--
2.7.4
next reply other threads:[~2017-05-03 7:02 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-05-03 7:02 Pablo de Lara [this message]
2017-05-03 7:57 ` Remy Horton
2017-05-06 1:00 ` Wu, Jingjing
2017-05-06 7:18 ` Thomas Monjalon
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=1493794929-105798-1-git-send-email-pablo.de.lara.guarch@intel.com \
--to=pablo.de.lara.guarch@intel.com \
--cc=dev@dpdk.org \
--cc=jingjing.wu@intel.com \
--cc=remy.horton@intel.com \
/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).