X-Git-Url: http://git.droids-corp.org/?a=blobdiff_plain;ds=sidebyside;f=test%2Ftest%2Ftest_link_bonding_rssconf.c;h=6a1a28d2360ef1cf9929bc3994306025c8cea930;hb=d9a42a69febf;hp=4cc08f5a22e7e6ede5cba5da3ba803def15ccb2a;hpb=a9dbe180222680edf8c49e86791f972549ce5be3;p=dpdk.git diff --git a/test/test/test_link_bonding_rssconf.c b/test/test/test_link_bonding_rssconf.c index 4cc08f5a22..6a1a28d236 100644 --- 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");