dpdp-crypto: fix cryptodev segfault with dpdk 19.02 08/17308/4
authorSergio Gonzalez Monroy <sgmonroy@gmail.com>
Mon, 4 Feb 2019 23:02:37 +0000 (00:02 +0100)
committerDamjan Marion <dmarion@me.com>
Wed, 6 Feb 2019 17:25:29 +0000 (17:25 +0000)
commitef20f0eff7f0e6ed75f316eb7080aa655de077ff
tree894df5f2ffc27e57433fcf2d7d02d763cc939b90
parent1ee7830e9ee8a62800822b6f5224d66243b916d4
dpdp-crypto: fix cryptodev segfault with dpdk 19.02

DPDK 19.02 adds two new fields to struct rte_cryptodev_qp_conf,
which the current code was not initializing properly.

Also session mempools are now required to have specific private data.
For that just use the new API to create symmetric session pools.

Change-Id: Ie732d4e10b908aeaea322717d6011113e3e7172c
Signed-off-by: Sergio Gonzalez Monroy <sgmonroy@gmail.com>
src/plugins/dpdk/ipsec/ipsec.c