From mboxrd@z Thu Jan 1 00:00:00 1970 From: Thomas Monjalon Subject: Re: [PATCH] aesni_mb: fix wrong return value Date: Wed, 24 Feb 2016 15:03:22 +0100 Message-ID: <2884792.yW5VFo79aJ@xps13> References: <1455554704-12435-1-git-send-email-pablo.de.lara.guarch@intel.com> <56C5E5B4.2090007@intel.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7Bit Cc: dev@dpdk.org To: Pablo de Lara Return-path: Received: from mail-wm0-f48.google.com (mail-wm0-f48.google.com [74.125.82.48]) by dpdk.org (Postfix) with ESMTP id A19662965 for ; Wed, 24 Feb 2016 15:04:57 +0100 (CET) Received: by mail-wm0-f48.google.com with SMTP id b205so35851678wmb.1 for ; Wed, 24 Feb 2016 06:04:57 -0800 (PST) In-Reply-To: <56C5E5B4.2090007@intel.com> List-Id: patches and discussions about DPDK List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" 2016-02-18 15:39, Declan Doherty: > On 15/02/16 16:45, Pablo de Lara wrote: > > cryptodev_aesni_mb_init was returning the device id of > > the device just created, but rte_eal_vdev_init > > (the function that calls the first one), was expecting 0 or > > negative value. > > This made impossible to create more than one aesni_mb device > > from command line. > > > > Fixes: 924e84f87306 ("aesni_mb: add driver for multi buffer based crypto") > > > > Signed-off-by: Pablo de Lara > > Acked-by: Declan Doherty Applied, thanks