numam-dpdk/examples/l2fwd-crypto
Pablo de Lara a324c45a6f aesni_mb: fix wrong return value
cryptodev_aesni_mb_init was returning the device id of
the device just created, but rte_eal_vdev_init
(the function that calls the first one), was expecting 0 or
negative value.
This made impossible to create more than one aesni_mb device
from command line.

Fixes: 924e84f873 ("aesni_mb: add driver for multi buffer based crypto")

Signed-off-by: Pablo de Lara <pablo.de.lara.guarch@intel.com>
Acked-by: Declan Doherty <declan.doherty@intel.com>
2016-02-24 15:02:52 +01:00
..
main.c aesni_mb: fix wrong return value 2016-02-24 15:02:52 +01:00
Makefile examples/l2fwd-crypto: add sample application 2015-11-25 19:18:04 +01:00