summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorFerruh Yigit <ferruh.yigit@intel.com>2017-05-10 12:01:04 +0100
committerThomas Monjalon <thomas@monjalon.net>2017-07-10 00:46:38 +0200
commit9bf4901d1a114f250945d73e686ef4495658464b (patch)
treec3c17334dd87a72248813be4c9748dd383bb35fb /test
parent701a64622c2653c0736042d2f790081db79afdc7 (diff)
downloaddpdk-9bf4901d1a114f250945d73e686ef4495658464b.zip
dpdk-9bf4901d1a114f250945d73e686ef4495658464b.tar.gz
dpdk-9bf4901d1a114f250945d73e686ef4495658464b.tar.xz
bus/vdev: remove probe with driver name option
Virtual device/driver probing done via name. A new alternative method introduced to probe the device with providing driver name in devargs as "driver=<driver_name>". This patch removes alternative method and fixes virtual device usages with proper device names. Fixes: 87c3bf29c642 ("test: do not short-circuit null device creation") Fixes: d39670086a63 ("eal: parse driver argument before probing drivers") Signed-off-by: Ferruh Yigit <ferruh.yigit@intel.com>
Diffstat (limited to 'test')
-rw-r--r--test/test/test_link_bonding_rssconf.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/test/test/test_link_bonding_rssconf.c b/test/test/test_link_bonding_rssconf.c
index d28db7d..dcbc9d1 100644
--- a/test/test/test_link_bonding_rssconf.c
+++ b/test/test/test_link_bonding_rssconf.c
@@ -62,7 +62,7 @@
#define BONDED_DEV_NAME ("rssconf_bond_dev")
-#define SLAVE_DEV_NAME_FMT ("rssconf_slave%d")
+#define SLAVE_DEV_NAME_FMT ("net_null%d")
#define SLAVE_RXTX_QUEUE_FMT ("rssconf_slave%d_q%d")
#define NUM_MBUFS 8191
@@ -550,8 +550,7 @@ test_setup(void)
port_id = rte_eth_dev_count();
snprintf(name, sizeof(name), SLAVE_DEV_NAME_FMT, port_id);
- retval = rte_vdev_init(name,
- "driver=net_null,size=64,copy=0");
+ retval = rte_vdev_init(name, "size=64,copy=0");
TEST_ASSERT_SUCCESS(retval, "Failed to create null device '%s'\n",
name);