numam-dpdk/doc
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
..
api net/softnic: add softnic PMD 2017-10-12 01:52:38 +01:00
guides cryptodev: allocate driver structure statically 2017-10-12 15:10:40 +01:00
logo doc: change theme of guides 2015-12-13 22:30:47 +01:00
build-sdk-quick.txt doc: add tags and cscope make targets to quick help 2017-08-05 11:04:47 +02:00