numam-dpdk/drivers
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
..
bus bus/dpaa: fix memory allocation during scan 2017-10-10 15:30:44 +02:00
crypto cryptodev: allocate driver structure statically 2017-10-12 15:10:40 +01:00
event event/octeontx: introduce specialized mbox message copy 2017-10-12 01:36:57 +01:00
mempool mempool/dpaa2: improve error handling 2017-10-12 03:47:49 +02:00
net net/ixgbe: fix uninitialized variable 2017-10-12 01:52:50 +01:00
Makefile mempool/octeontx: add build and log infrastructure 2017-10-08 19:24:07 +02:00