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_mode4.c
diff --git
a/test/test/test_link_bonding_mode4.c
b/test/test/test_link_bonding_mode4.c
index
426877a
..
33c1fab
100644
(file)
--- a/
test/test/test_link_bonding_mode4.c
+++ b/
test/test/test_link_bonding_mode4.c
@@
-425,7
+425,7
@@
test_setup(void)
TEST_ASSERT(retval >= 0,
"Failed to create ring ethdev '%s'\n", name);
- port->port_id = rte_eth_dev_count() - 1;
+ port->port_id = rte_eth_dev_count
_avail
() - 1;
}
retval = configure_ethdev(port->port_id, 1);