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
mempool: fix alignment of memzone length when populating
[dpdk.git]
/
test
/
test
/
test_pmd_ring.c
diff --git
a/test/test/test_pmd_ring.c
b/test/test/test_pmd_ring.c
index
0787e4e
..
2196201
100644
(file)
--- a/
test/test/test_pmd_ring.c
+++ b/
test/test/test_pmd_ring.c
@@
-399,7
+399,7
@@
test_pmd_ring(void)
int port, cmdl_port0 = -1;
uint8_t nb_ports;
- nb_ports = rte_eth_dev_count();
+ nb_ports = rte_eth_dev_count
_avail
();
printf("nb_ports=%d\n", (int)nb_ports);
/* create the rings and eth_rings in the test code.