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
ethdev: deprecate port count function
[dpdk.git]
/
test
/
test
/
test_link_bonding_rssconf.c
diff --git
a/test/test/test_link_bonding_rssconf.c
b/test/test/test_link_bonding_rssconf.c
index
4cc08f5
..
6a1a28d
100644
(file)
--- a/
test/test/test_link_bonding_rssconf.c
+++ b/
test/test/test_link_bonding_rssconf.c
@@
-521,7
+521,7
@@
test_setup(void)
FOR_EACH_PORT(n, port) {
port = &test_params.slave_ports[n];
- port_id = rte_eth_dev_count();
+ port_id = rte_eth_dev_count
_avail
();
snprintf(name, sizeof(name), SLAVE_DEV_NAME_FMT, port_id);
retval = rte_vdev_init(name, "size=64,copy=0");