From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga14.intel.com (mga14.intel.com [192.55.52.115]) by dpdk.org (Postfix) with ESMTP id 578952BB4 for ; Mon, 3 Jul 2017 11:47:46 +0200 (CEST) Received: from orsmga002.jf.intel.com ([10.7.209.21]) by fmsmga103.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 03 Jul 2017 02:47:45 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.40,302,1496127600"; d="scan'208";a="106500318" Received: from dwdohert-mobl1.ger.corp.intel.com (HELO [163.33.228.221]) ([163.33.228.221]) by orsmga002.jf.intel.com with ESMTP; 03 Jul 2017 02:47:42 -0700 To: Pablo de Lara References: <20170630141037.22391-1-pablo.de.lara.guarch@intel.com> <20170630143421.24250-1-pablo.de.lara.guarch@intel.com> Cc: dev@dpdk.org, Slawomir Mrozowicz From: Declan Doherty Message-ID: Date: Mon, 3 Jul 2017 10:47:42 +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: <20170630143421.24250-1-pablo.de.lara.guarch@intel.com> Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit Subject: Re: [dpdk-dev] [PATCH v4] cryptodev: remove crypto device type enumeration 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: Mon, 03 Jul 2017 09:47:47 -0000 On 30/06/2017 3:34 PM, Pablo de Lara wrote: > From: Slawomir Mrozowicz > > Changes device type identification to be based on a unique > driver id replacing the current device type enumeration, which needed > library changes every time a new crypto driver was added. > > The driver id is assigned dynamically during driver registration using > the new macro RTE_PMD_REGISTER_CRYPTO_DRIVER which returns a unique > uint8_t identifier for that driver. New APIs are also introduced > to allow retrieval of the driver id using the driver name. > > Signed-off-by: Slawomir Mrozowicz > Signed-off-by: Pablo de Lara > --- ... > Acked-by: Declan Doherty