DPDK patches and discussions
 help / color / mirror / Atom feed
* [dpdk-dev] [PATCH] app/testpmd: fix compilation when bitrate lib is disabled
@ 2017-05-03  7:02 Pablo de Lara
  2017-05-03  7:57 ` Remy Horton
  2017-05-06  1:00 ` Wu, Jingjing
  0 siblings, 2 replies; 4+ messages in thread
From: Pablo de Lara @ 2017-05-03  7:02 UTC (permalink / raw)
  To: jingjing.wu, remy.horton; +Cc: dev, Pablo de Lara

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

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2017-05-06  7:18 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-05-03  7:02 [dpdk-dev] [PATCH] app/testpmd: fix compilation when bitrate lib is disabled Pablo de Lara
2017-05-03  7:57 ` Remy Horton
2017-05-06  1:00 ` Wu, Jingjing
2017-05-06  7:18   ` Thomas Monjalon

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).