numam-dpdk/drivers/crypto
Pablo de Lara effd3b9fcf cryptodev: allocate driver structure statically
When register a crypto driver, a cryptodev driver
structure was being allocated, using malloc.
Since this call may fail, it is safer to allocate
this memory statically in each PMD, so driver registration
will never fail.

Coverity issue: 158645
Fixes: 7a364faef1 ("cryptodev: remove crypto device type enumeration")

Signed-off-by: Pablo de Lara <pablo.de.lara.guarch@intel.com>
Reviewed-by: Kirill Rybalchenko <kirill.rybalchenko@intel.com>
2017-10-12 15:10:40 +01:00
..
aesni_gcm cryptodev: allocate driver structure statically 2017-10-12 15:10:40 +01:00
aesni_mb cryptodev: allocate driver structure statically 2017-10-12 15:10:40 +01:00
armv8 cryptodev: allocate driver structure statically 2017-10-12 15:10:40 +01:00
dpaa2_sec cryptodev: allocate driver structure statically 2017-10-12 15:10:40 +01:00
kasumi cryptodev: allocate driver structure statically 2017-10-12 15:10:40 +01:00
null cryptodev: allocate driver structure statically 2017-10-12 15:10:40 +01:00
openssl cryptodev: allocate driver structure statically 2017-10-12 15:10:40 +01:00
qat cryptodev: allocate driver structure statically 2017-10-12 15:10:40 +01:00
scheduler cryptodev: allocate driver structure statically 2017-10-12 15:10:40 +01:00
snow3g cryptodev: allocate driver structure statically 2017-10-12 15:10:40 +01:00
zuc cryptodev: allocate driver structure statically 2017-10-12 15:10:40 +01:00
Makefile crypto/dpaa2_sec: introduce poll mode driver 2017-04-20 11:32:45 +02:00