From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga04.intel.com (mga04.intel.com [192.55.52.120]) by dpdk.org (Postfix) with ESMTP id 24FE55699 for ; Thu, 22 Jun 2017 13:48:38 +0200 (CEST) Received: from orsmga005.jf.intel.com ([10.7.209.41]) by fmsmga104.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 22 Jun 2017 04:48:38 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.39,373,1493708400"; d="scan'208";a="116175565" Received: from foleypat-mobl1.ger.corp.intel.com (HELO [10.252.29.185]) ([10.252.29.185]) by orsmga005.jf.intel.com with ESMTP; 22 Jun 2017 04:48:37 -0700 To: Pablo de Lara , thomas@monjalon.net References: <20170620232555.82244-1-pablo.de.lara.guarch@intel.com> <20170621050733.88850-1-pablo.de.lara.guarch@intel.com> <20170621050733.88850-5-pablo.de.lara.guarch@intel.com> Cc: dev@dpdk.org From: Declan Doherty Message-ID: <2a8900c5-fe6d-3640-7bfc-0e64549af150@intel.com> Date: Thu, 22 Jun 2017 12:48:36 +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: <20170621050733.88850-5-pablo.de.lara.guarch@intel.com> Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit Subject: Re: [dpdk-dev] [PATCH v2 4/4] test/bonding: remove socket id check 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: Thu, 22 Jun 2017 11:48:39 -0000 On 21/06/2017 6:07 AM, Pablo de Lara wrote: > When creating a virtual pmd to test link bonding, > the socket id was checked, if it was in the range > of available sockets. > This check is unnecessary, as the socket specified > might not have memory anyway, so it will fail > at memory allocation. > > Therefore, the best solution is to remove this check. > > Signed-off-by: Pablo de Lara > --- ... > Acked-by: Declan Doherty