X-Git-Url: http://git.droids-corp.org/?a=blobdiff_plain;f=test%2Ftest%2Ftest_link_bonding_rssconf.c;h=d28db7d7c180cbc5b34db1ab09f4ee3a9f01b876;hb=f1ae15bac8aaa75aeb4fa886fd4d74d34c373193;hp=ba7163ed63721ffdf4f4a06e4383ead712c6bd69;hpb=b219c8cc07ecedef968d33a68af54d2a7a7ccc51;p=dpdk.git diff --git a/test/test/test_link_bonding_rssconf.c b/test/test/test_link_bonding_rssconf.c index ba7163ed63..d28db7d7c1 100644 --- a/test/test/test_link_bonding_rssconf.c +++ b/test/test/test_link_bonding_rssconf.c @@ -52,7 +52,6 @@ #include #include #include -#include #include "test.h" @@ -551,7 +550,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_vdev_init(name, + "driver=net_null,size=64,copy=0"); TEST_ASSERT_SUCCESS(retval, "Failed to create null device '%s'\n", name);