From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga02.intel.com (mga02.intel.com [134.134.136.20]) by dpdk.org (Postfix) with ESMTP id CC3BC7D1C for ; Wed, 26 Jul 2017 19:06:50 +0200 (CEST) Received: from orsmga001.jf.intel.com ([10.7.209.18]) by orsmga101.jf.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 26 Jul 2017 10:06:49 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.40,416,1496127600"; d="scan'208";a="1155665123" Received: from dwdohert-mobl1.ger.corp.intel.com (HELO [163.33.228.138]) ([163.33.228.138]) by orsmga001.jf.intel.com with ESMTP; 26 Jul 2017 10:06:47 -0700 To: Tomasz Kulasek , dev@dpdk.org References: <20170726154829.32736-1-tomaszx.kulasek@intel.com> From: Declan Doherty Message-ID: <11d2cd9c-f7de-5cae-37fe-67434334d696@intel.com> Date: Wed, 26 Jul 2017 18:06:46 +0100 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:45.0) Gecko/20100101 Thunderbird/45.8.0 MIME-Version: 1.0 In-Reply-To: <20170726154829.32736-1-tomaszx.kulasek@intel.com> Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit Subject: Re: [dpdk-dev] [PATCH] test: fix bonded device name X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 26 Jul 2017 17:06:51 -0000 On 26/07/2017 4:48 PM, Tomasz Kulasek wrote: > Bonding devices name must start with "net_bonding" prefix. > > Fixes: 9bf4901d1a11 ("bus/vdev: remove probe with driver name option") > > Signed-off-by: Tomasz Kulasek > --- > test/test/test_link_bonding.c | 4 ++-- > 1 file changed, 2 insertions(+), 2 deletions(-) > > diff --git a/test/test/test_link_bonding.c b/test/test/test_link_bonding.c > index aa2a1a2..828f7f7 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) > @@ -939,7 +939,7 @@ struct rte_fdir_conf fdir_conf = { > /* > * 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"); > > Acked-by: Declan Doherty