cryptodev: add function to retrieve device name
authorPablo de Lara <pablo.de.lara.guarch@intel.com>
Tue, 3 Oct 2017 02:32:54 +0000 (03:32 +0100)
committerPablo de Lara <pablo.de.lara.guarch@intel.com>
Thu, 12 Oct 2017 14:14:45 +0000 (15:14 +0100)
commit761fd95d82a4b5ee035a5140030e22d2581335ea
tree60e93cbfbb5339c6faeb45c3a5dd82570191e142
parent0c2173c166da8abba93ed4a2f602ad523ee7a59a
cryptodev: add function to retrieve device name

Currently, in order to get the name of a crypto device,
a user needs to access to it using the crypto device structure.

It is a better practise to have a function to retrieve this
name, given a device id.

Signed-off-by: Pablo de Lara <pablo.de.lara.guarch@intel.com>
Acked-by: Sergio Gonzalez Monroy <sergio.gonzalez.monroy@intel.com>
lib/librte_cryptodev/rte_cryptodev.c
lib/librte_cryptodev/rte_cryptodev.h
lib/librte_cryptodev/rte_cryptodev_version.map