From mboxrd@z Thu Jan 1 00:00:00 1970 From: Declan Doherty Subject: Re: [PATCH] test/bonding: fix namespace bonding mode4 unit tests Date: Wed, 5 Jul 2017 17:41:10 +0100 Message-ID: References: <20170705152747.55807-1-danielx.t.mrzyglod@intel.com> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit Cc: dev@dpdk.org To: Daniel Mrzyglod Return-path: Received: from mga01.intel.com (mga01.intel.com [192.55.52.88]) by dpdk.org (Postfix) with ESMTP id 129302C4A for ; Wed, 5 Jul 2017 18:41:12 +0200 (CEST) In-Reply-To: <20170705152747.55807-1-danielx.t.mrzyglod@intel.com> List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" On 05/07/2017 4:27 PM, Daniel Mrzyglod wrote: > ring network driver is limited to 32 characters > the name of device was extened to net_ring_unit_test_mode4_slave_0 which is 33 > > Fixes: 5e41ab250dfa ("app/test: unit tests for bonding mode 4") > > Signed-off-by: Daniel Mrzyglod > --- > test/test/test_link_bonding_mode4.c | 8 ++++---- > 1 file 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) > Acked-by: Declan Doherty