summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorDaniel Mrzyglod <danielx.t.mrzyglod@intel.com>2017-07-05 17:27:47 +0200
committerFerruh Yigit <ferruh.yigit@intel.com>2017-07-06 15:00:57 +0200
commite4beca01c53714701b7fa4a5d92af413ae5ac4a4 (patch)
tree388c504d81966d462cb2b8ae4bd5a70ac8c0ba22 /test
parentd7769c7c08cc08a9d1bc4e40b95524d9697707d9 (diff)
downloaddpdk-e4beca01c53714701b7fa4a5d92af413ae5ac4a4.zip
dpdk-e4beca01c53714701b7fa4a5d92af413ae5ac4a4.tar.gz
dpdk-e4beca01c53714701b7fa4a5d92af413ae5ac4a4.tar.xz
test/bonding: fix mode 4 names
ring network driver is limited to 32 characters the name of device was extended to net_ring_unit_test_mode4_slave_0 which is 33 characters long. Fixes: 5e41ab250dfa ("app/test: unit tests for bonding mode 4") Cc: stable@dpdk.org Signed-off-by: Daniel Mrzyglod <danielx.t.mrzyglod@intel.com> Acked-by: Declan Doherty <declan.doherty@intel.com>
Diffstat (limited to 'test')
-rw-r--r--test/test/test_link_bonding_mode4.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/test/test/test_link_bonding_mode4.c b/test/test/test_link_bonding_mode4.c
index c6745e8..8b64bbf 100644
--- a/test/test/test_link_bonding_mode4.c
+++ b/test/test/test_link_bonding_mode4.c
@@ -73,11 +73,11 @@
#define MAX_PKT_BURST (32)
#define DEF_PKT_BURST (16)
-#define BONDED_DEV_NAME ("unit_test_mode4_bond_dev")
+#define BONDED_DEV_NAME ("ut_mode4_bond_dev")
-#define SLAVE_DEV_NAME_FMT ("unit_test_mode4_slave_%d")
-#define SLAVE_RX_QUEUE_FMT ("unit_test_mode4_slave_%d_rx")
-#define SLAVE_TX_QUEUE_FMT ("unit_test_mode4_slave_%d_tx")
+#define SLAVE_DEV_NAME_FMT ("ut_mode4_slave_%d")
+#define SLAVE_RX_QUEUE_FMT ("ut_mode4_slave_%d_rx")
+#define SLAVE_TX_QUEUE_FMT ("ut_mode4_slave_%d_tx")
#define INVALID_SOCKET_ID (-1)
#define INVALID_PORT_ID (0xFF)