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

Declan Doherty declan.doherty at intel.com
Fri May 5 17:37:55 CEST 2017


On 05/05/2017 12:07 PM, Slawomir Mrozowicz wrote:
> This RFC 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.
>
> Library code is included in the RFC
> (implementation in progress, API complete).
>
> Signed-off-by: Slawomir Mrozowicz <slawomirx.mrozowicz at intel.com>
> ---
....
>
Acked-by: Declan Doherty <declan.doherty at intel.com>


More information about the dev mailing list