From mboxrd@z Thu Jan 1 00:00:00 1970 From: Declan Doherty Subject: Re: [PATCH v2 1/4] cryptodev: remove socket id check Date: Thu, 22 Jun 2017 12:27:39 +0100 Message-ID: References: <20170620232555.82244-1-pablo.de.lara.guarch@intel.com> <20170621050733.88850-1-pablo.de.lara.guarch@intel.com> <20170621050733.88850-2-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 mga03.intel.com (mga03.intel.com [134.134.136.65]) by dpdk.org (Postfix) with ESMTP id B417C20F for ; Thu, 22 Jun 2017 13:27:42 +0200 (CEST) In-Reply-To: <20170621050733.88850-2-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: > Socket id parsed from the user 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 > --- > lib/librte_cryptodev/rte_cryptodev.c | 22 ---------------------- ... > Acked-by: Declan Doherty