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

Declan Doherty declan.doherty at intel.com
Mon Jul 3 11:47:42 CEST 2017


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>


More information about the dev mailing list