From mboxrd@z Thu Jan 1 00:00:00 1970 From: Declan Doherty Subject: Re: [PATCH v2 4/4] test/bonding: remove socket id check Date: Thu, 22 Jun 2017 12:48:36 +0100 Message-ID: <2a8900c5-fe6d-3640-7bfc-0e64549af150@intel.com> 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> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit Cc: dev@dpdk.org To: Pablo de Lara , thomas@monjalon.net 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) In-Reply-To: <20170621050733.88850-5-pablo.de.lara.guarch@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 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