git.droids-corp.org
/
dpdk.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4da724a
)
app/testpmd: fix build without bitrate lib
author
Pablo de Lara
<pablo.de.lara.guarch@intel.com>
Wed, 3 May 2017 07:02:09 +0000
(08:02 +0100)
committer
Thomas Monjalon
<thomas@monjalon.net>
Sat, 6 May 2017 08:00:38 +0000
(10:00 +0200)
Fixes:
e25e6c70fb56
("app/testpmd: add --bitrate-stats option")
Signed-off-by: Pablo de Lara <pablo.de.lara.guarch@intel.com>
Acked-by: Remy Horton <remy.horton@intel.com>
Acked-by: Jingjing Wu <jingjing.wu@intel.com>
app/test-pmd/testpmd.c
patch
|
blob
|
history
diff --git
a/app/test-pmd/testpmd.c
b/app/test-pmd/testpmd.c
index
cd1240b
..
5c4d201
100644
(file)
--- 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;