summaryrefslogtreecommitdiff
path: root/examples/vhost_crypto
diff options
context:
space:
mode:
authorPablo de Lara <pablo.de.lara.guarch@intel.com>2018-05-21 14:08:41 +0100
committerPablo de Lara <pablo.de.lara.guarch@intel.com>2018-05-22 16:36:12 +0200
commita106fcce2cfed0fdee7922594e3199d28dfcce59 (patch)
tree93958fdba276ea378afb284eca00356326e60df4 /examples/vhost_crypto
parentd39c4615357d89b0e77a075f2500ccd62644ede6 (diff)
downloaddpdk-next-eventdev-a106fcce2cfed0fdee7922594e3199d28dfcce59.zip
dpdk-next-eventdev-a106fcce2cfed0fdee7922594e3199d28dfcce59.tar.gz
dpdk-next-eventdev-a106fcce2cfed0fdee7922594e3199d28dfcce59.tar.xz
cryptodev: rename functions to get session size
rte_cryptodev_get_header_session_size() and rte_cryptodev_get_private_session_size() functions are targeting symmetric sessions. With the future addition of asymmetric operations, these functions need to be renamed from *cryptodev_*_session_* to *cryptodev_sym_*_session_* to be symmetric specific. The two original functions are marked as deprecated and will be removed in 18.08, so applications can still use the functions in 18.05. Signed-off-by: Pablo de Lara <pablo.de.lara.guarch@intel.com> Acked-by: Shally Verma <shally.verma@caviumnetworks.com> Acked-by: Fiona Trahe <fiona.trahe@intel.com> Acked-by: Deepak Kumar Jain <deepak.k.jain@intel.com>
Diffstat (limited to 'examples/vhost_crypto')
-rw-r--r--examples/vhost_crypto/main.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/vhost_crypto/main.c b/examples/vhost_crypto/main.c
index 860200e..f334d71 100644
--- a/examples/vhost_crypto/main.c
+++ b/examples/vhost_crypto/main.c
@@ -450,7 +450,7 @@ main(int argc, char *argv[])
snprintf(name, 127, "SESS_POOL_%u", worker_lcore);
info.sess_pool = rte_mempool_create(name, SESSION_MAP_ENTRIES,
- rte_cryptodev_get_private_session_size(
+ rte_cryptodev_sym_get_private_session_size(
cryptodev_id), 64, 0, NULL, NULL, NULL, NULL,
rte_lcore_to_socket_id(worker_lcore), 0);
if (!info.sess_pool) {