> -----Original Message----- > From: dev [mailto:dev-boun...@dpdk.org] On Behalf Of Declan Doherty > Sent: Monday, July 3, 2017 10:48 AM > To: De Lara Guarch, Pablo <pablo.de.lara.gua...@intel.com> > Cc: dev@dpdk.org; Mrozowicz, SlawomirX > <slawomirx.mrozow...@intel.com> > Subject: Re: [dpdk-dev] [PATCH v4] cryptodev: remove crypto device type > enumeration > > On 30/06/2017 3:34 PM, Pablo de Lara wrote: > > From: Slawomir Mrozowicz <slawomirx.mrozow...@intel.com> > > > > 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 <slawomirx.mrozow...@intel.com> > > Signed-off-by: Pablo de Lara <pablo.de.lara.gua...@intel.com> > > --- > ... > > > > > Acked-by: Declan Doherty <declan.dohe...@intel.com>
Applied to dpdk-next-crypto. Pablo