[dpdk-dev] [PATCH v4] cryptodev: remove crypto device type enumeration

De Lara Guarch, Pablo pablo.de.lara.guarch at intel.com
Tue Jul 4 12:16:44 CEST 2017



> -----Original Message-----
> From: dev [mailto:dev-bounces at dpdk.org] On Behalf Of Declan Doherty
> Sent: Monday, July 3, 2017 10:48 AM
> To: De Lara Guarch, Pablo <pablo.de.lara.guarch at intel.com>
> Cc: dev at dpdk.org; Mrozowicz, SlawomirX
> <slawomirx.mrozowicz at 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.mrozowicz at 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.mrozowicz at intel.com>
> > Signed-off-by: Pablo de Lara <pablo.de.lara.guarch at intel.com>
> > ---
> ...
> >
> 
> 
> Acked-by: Declan Doherty <declan.doherty at intel.com>

Applied to dpdk-next-crypto.

Pablo


More information about the dev mailing list