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 E5EEB2BA1 for ; Wed, 1 Jun 2016 05:25:25 +0200 (CEST) Received: from orsmga001.jf.intel.com ([10.7.209.18]) by orsmga101.jf.intel.com with ESMTP; 31 May 2016 20:25:24 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.26,399,1459839600"; d="scan'208";a="966272066" Received: from fmsmsx104.amr.corp.intel.com ([10.18.124.202]) by orsmga001.jf.intel.com with ESMTP; 31 May 2016 20:25:26 -0700 Received: from fmsmsx123.amr.corp.intel.com (10.18.125.38) by fmsmsx104.amr.corp.intel.com (10.18.124.202) with Microsoft SMTP Server (TLS) id 14.3.248.2; Tue, 31 May 2016 20:25:24 -0700 Received: from shsmsx152.ccr.corp.intel.com (10.239.6.52) by fmsmsx123.amr.corp.intel.com (10.18.125.38) with Microsoft SMTP Server (TLS) id 14.3.248.2; Tue, 31 May 2016 20:25:24 -0700 Received: from shsmsx101.ccr.corp.intel.com ([169.254.1.150]) by SHSMSX152.ccr.corp.intel.com ([169.254.6.107]) with mapi id 14.03.0248.002; Wed, 1 Jun 2016 11:25:22 +0800 From: "Xu, HuilongX" To: "Jastrzebski, MichalX K" , "dev@dpdk.org" Thread-Topic: [dpdk-dev] [PATCH] app/test: fix bond device name too long Thread-Index: AQHRuCtsfIUQjDyp+0eE2G6t08aNap/T+b8Q Date: Wed, 1 Jun 2016 03:25:21 +0000 Message-ID: References: <1464362453-5732-1-git-send-email-michalx.k.jastrzebski@intel.com> In-Reply-To: <1464362453-5732-1-git-send-email-michalx.k.jastrzebski@intel.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [10.239.127.40] Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 Subject: Re: [dpdk-dev] [PATCH] app/test: fix bond device name too long X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: patches and discussions about DPDK List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 01 Jun 2016 03:25:26 -0000 Test case: link_bonging_autotest=20 Package:dpdk.org master branch newest commit + this patch=20 Test cmdline: ./x86_64-native-linuxapp-gcc/app/test -c ffff -n 1 Exec link_bonging_autotest cmdl Test environment: OS&kernel: dpdk-rhel72 3.10.0-327.el7.x86_64 Gcc: gcc version 4.8.5 20150623 (Red Hat 4.8.5-4) (GCC) Hugepage: 4096*2M > -----Original Message----- > From: dev [mailto:dev-bounces@dpdk.org] On Behalf Of Michal Jastrzebski > Sent: Friday, May 27, 2016 11:21 PM > To: dev@dpdk.org > Subject: [dpdk-dev] [PATCH] app/test: fix bond device name too long >=20 > Bond device name was too long (grather than 32 signs) that > cause mempool allocation to fail. >=20 > Fixes: 92073ef961ee ("bond: unit tests") >=20 > Signed-off-by: Michal Jastrzebski Tested-by: huilong xu > --- > app/test/test_link_bonding.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) >=20 > diff --git a/app/test/test_link_bonding.c b/app/test/test_link_bonding.c > index 7cbc289..eeb1395 100644 > --- a/app/test/test_link_bonding.c > +++ b/app/test/test_link_bonding.c > @@ -83,7 +83,7 @@ > #define MAX_PKT_BURST (512) > #define DEF_PKT_BURST (16) >=20 > -#define BONDED_DEV_NAME ("unit_test_bonded_device") > +#define BONDED_DEV_NAME ("unit_test_bond_dev") >=20 > #define INVALID_SOCKET_ID (-1) > #define INVALID_PORT_ID (-1) > -- > 1.7.9.5