summaryrefslogtreecommitdiff
path: root/examples/l2fwd-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/l2fwd-crypto
parentd39c4615357d89b0e77a075f2500ccd62644ede6 (diff)
downloaddpdk-a106fcce2cfed0fdee7922594e3199d28dfcce59.zip
dpdk-a106fcce2cfed0fdee7922594e3199d28dfcce59.tar.gz
dpdk-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/l2fwd-crypto')
-rw-r--r--examples/l2fwd-crypto/main.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/l2fwd-crypto/main.c b/examples/l2fwd-crypto/main.c
index f4e3e0b..4bca87b 100644
--- a/examples/l2fwd-crypto/main.c
+++ b/examples/l2fwd-crypto/main.c
@@ -1982,7 +1982,7 @@ initialize_cryptodevs(struct l2fwd_crypto_options *options, unsigned nb_ports,
}
for (cdev_id = 0; cdev_id < cdev_count; cdev_id++) {
- sess_sz = rte_cryptodev_get_private_session_size(cdev_id);
+ sess_sz = rte_cryptodev_sym_get_private_session_size(cdev_id);
if (sess_sz > max_sess_sz)
max_sess_sz = sess_sz;
}