git.droids-corp.org
/
dpdk.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
crypto/dpaa_sec: fix null check in uninit
[dpdk.git]
/
test
/
test
/
test_pmd_perf.c
diff --git
a/test/test/test_pmd_perf.c
b/test/test/test_pmd_perf.c
index
0e64a58
..
54bc4f6
100644
(file)
--- a/
test/test/test_pmd_perf.c
+++ b/
test/test/test_pmd_perf.c
@@
-676,7
+676,7
@@
test_pmd_perf(void)
signal(SIGUSR1, signal_handler);
signal(SIGUSR2, signal_handler);
- nb_ports = rte_eth_dev_count();
+ nb_ports = rte_eth_dev_count
_avail
();
if (nb_ports < NB_ETHPORTS_USED) {
printf("At least %u port(s) used for perf. test\n",
NB_ETHPORTS_USED);