cryptodev: rename experimental private data APIs
authorFiona Trahe <fiona.trahe@intel.com>
Fri, 6 Jul 2018 13:39:42 +0000 (14:39 +0100)
committerPablo de Lara <pablo.de.lara.guarch@intel.com>
Wed, 11 Jul 2018 01:57:24 +0000 (03:57 +0200)
commit2d349f603449f36f490e8e805ebebb497f0dc881
tree9690e9988c562344782f47e074148615860858a0
parentabd3c70525b296562d08c82ab12217bdd3dbf948
cryptodev: rename experimental private data APIs

The name private_data is confusing in these APIs:
rte_cryptodev_sym_session_set_private_data()
rte_cryptodev_sym_session_get_private_data()
It refers to data added at the end of the session hdr for
use by the application.
The session already contains sess_private_data[index]
which is used to store private pmd data and most references to private
data refer to that.
e.g. external apis
rte_cryptodev_sym_get_private_session_size() and internal
set/get_session_private_data() refer to sess_private_data[].

So rename to user_data, i.e.
rte_cryptodev_sym_session_set_user_data()
rte_cryptodev_sym_session_get_user_data()

Refers to changes introduced here:
https://patches.dpdk.org/patch/38172/

Signed-off-by: Fiona Trahe <fiona.trahe@intel.com>
Acked-by: Abhinandan Gujjar <abhinandan.gujjar@intel.com>
doc/guides/prog_guide/cryptodev_lib.rst
doc/guides/prog_guide/event_crypto_adapter.rst
doc/guides/rel_notes/release_18_08.rst
lib/librte_cryptodev/rte_cryptodev.c
lib/librte_cryptodev/rte_cryptodev.h
lib/librte_cryptodev/rte_cryptodev_version.map
lib/librte_eventdev/rte_event_crypto_adapter.c
test/test/test_event_crypto_adapter.c