net/dpaa2: set device driver
[dpdk.git] / test / test / test_link_bonding_rssconf.c
index 12602f1..d28db7d 100644 (file)
@@ -52,7 +52,6 @@
 #include <rte_string_fns.h>
 #include <rte_errno.h>
 #include <rte_eth_bond.h>
-#include <rte_eth_null.h>
 
 #include "test.h"
 
@@ -551,7 +550,7 @@ test_setup(void)
                port_id = rte_eth_dev_count();
                snprintf(name, sizeof(name), SLAVE_DEV_NAME_FMT, port_id);
 
-               retval = rte_eal_vdev_init(name,
+               retval = rte_vdev_init(name,
                        "driver=net_null,size=64,copy=0");
                TEST_ASSERT_SUCCESS(retval, "Failed to create null device '%s'\n",
                                name);