effd3b9fcf
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:
|
||
---|---|---|
.. | ||
Makefile | ||
rte_cryptodev_scheduler_operations.h | ||
rte_cryptodev_scheduler.c | ||
rte_cryptodev_scheduler.h | ||
rte_pmd_crypto_scheduler_version.map | ||
scheduler_failover.c | ||
scheduler_multicore.c | ||
scheduler_pkt_size_distr.c | ||
scheduler_pmd_ops.c | ||
scheduler_pmd_private.h | ||
scheduler_pmd.c | ||
scheduler_roundrobin.c |