summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorTomasz Kulasek <tomaszx.kulasek@intel.com>2017-07-26 17:48:29 +0200
committerFerruh Yigit <ferruh.yigit@intel.com>2017-07-31 19:58:41 +0200
commit7377abce1065a61b487e86dfeff70ae2ccd8d43a (patch)
treed4063493184ace16bb05dda4b66d6b3616d21c96 /test
parent347ab0a3007e95c86eb9263d19f714bd6ccad4d5 (diff)
downloaddpdk-7377abce1065a61b487e86dfeff70ae2ccd8d43a.zip
dpdk-7377abce1065a61b487e86dfeff70ae2ccd8d43a.tar.gz
dpdk-7377abce1065a61b487e86dfeff70ae2ccd8d43a.tar.xz
test/bonding: fix device name
Bonding devices name must start with "net_bonding" prefix. Fixes: 9bf4901d1a11 ("bus/vdev: remove probe with driver name option") Signed-off-by: Tomasz Kulasek <tomaszx.kulasek@intel.com> Acked-by: Declan Doherty <declan.doherty@intel.com>
Diffstat (limited to 'test')
-rw-r--r--test/test/test_link_bonding.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/test/test_link_bonding.c b/test/test/test_link_bonding.c
index cc60112..dc28cea 100644
--- a/test/test/test_link_bonding.c
+++ b/test/test/test_link_bonding.c
@@ -83,7 +83,7 @@
#define MAX_PKT_BURST (512)
#define DEF_PKT_BURST (16)
-#define BONDED_DEV_NAME ("unit_test_bond_dev")
+#define BONDED_DEV_NAME ("net_bonding_ut")
#define INVALID_SOCKET_ID (-1)
#define INVALID_PORT_ID (-1)
@@ -944,7 +944,7 @@ test_set_bonded_port_initialization_mac_assignment(void)
/*
* 1. a - Create / configure bonded / slave ethdevs
*/
- bonded_port_id = rte_eth_bond_create("ethdev_bond_mac_ass_test",
+ bonded_port_id = rte_eth_bond_create("net_bonding_mac_ass_test",
BONDING_MODE_ACTIVE_BACKUP, rte_socket_id());
TEST_ASSERT(bonded_port_id > 0, "failed to create bonded device");