]> git.droids-corp.org - dpdk.git/blobdiff - test/test/test_link_bonding_rssconf.c
test: do not short-circuit null device creation
[dpdk.git] / test / test / test_link_bonding_rssconf.c
index ba7163ed63721ffdf4f4a06e4383ead712c6bd69..12602f128a75da011d4187aa9e0045f5706ba228 100644 (file)
@@ -551,7 +551,8 @@ test_setup(void)
                port_id = rte_eth_dev_count();
                snprintf(name, sizeof(name), SLAVE_DEV_NAME_FMT, port_id);
 
-               retval = eth_dev_null_create(name, 0, 64, 0);
+               retval = rte_eal_vdev_init(name,
+                       "driver=net_null,size=64,copy=0");
                TEST_ASSERT_SUCCESS(retval, "Failed to create null device '%s'\n",
                                name);