vhost/crypto: use separate session mempools
authorFan Zhang <roy.fan.zhang@intel.com>
Thu, 10 Jan 2019 14:50:16 +0000 (14:50 +0000)
committerPablo de Lara <pablo.de.lara.guarch@intel.com>
Thu, 10 Jan 2019 15:57:22 +0000 (16:57 +0100)
commitac5e42daca19d9484a311a2c382c6b8053367280
tree499915e5d6b9e5be63cf52c4dd436e55647a9197
parent261bbff75e34dbbefcbf13d672b902eb0a917c5e
vhost/crypto: use separate session mempools

This patch uses the two session mempool approach to vhost crypto.
One mempool is for session header objects, and the other is for
session private data.

Signed-off-by: Fan Zhang <roy.fan.zhang@intel.com>
Acked-by: Fiona Trahe <fiona.trahe@intel.com>
Acked-by: Akhil Goyal <akhil.goyal@nxp.com>
examples/vhost_crypto/main.c
lib/librte_vhost/rte_vhost_crypto.h
lib/librte_vhost/vhost_crypto.c