From: Daniel Mrzyglod Date: Wed, 5 Jul 2017 15:27:47 +0000 (+0200) Subject: test/bonding: fix mode 4 names X-Git-Url: http://git.droids-corp.org/?a=commitdiff_plain;h=e4beca01c53714701b7fa4a5d92af413ae5ac4a4;p=dpdk.git 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 Acked-by: Declan Doherty --- diff --git a/test/test/test_link_bonding_mode4.c b/test/test/test_link_bonding_mode4.c index c6745e8912..8b64bbf71a 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)