b3bbd9e5f2
Change crypto device's session management to make it device independent and simplify architecture when session is intended to be used on more than one device. Sessions private data is agnostic to underlying device by adding an indirection in the sessions private data using the crypto driver identifier. A single session can contain indirections to multiple device types. New function rte_cryptodev_sym_session_init has been created, to initialize the driver private session data per driver to be used on a same session, and rte_cryptodev_sym_session_clear to clear this data before calling rte_cryptodev_sym_session_free. Signed-off-by: Slawomir Mrozowicz <slawomirx.mrozowicz@intel.com> Signed-off-by: Pablo de Lara <pablo.de.lara.guarch@intel.com> Acked-by: Declan Doherty <declan.doherty@intel.com> Acked-by: Akhil Goyal <akhil.goyal@nxp.com>
82 lines
2.0 KiB
Plaintext
82 lines
2.0 KiB
Plaintext
DPDK_16.04 {
|
|
global:
|
|
|
|
rte_cryptodevs;
|
|
rte_cryptodev_callback_register;
|
|
rte_cryptodev_callback_unregister;
|
|
rte_cryptodev_close;
|
|
rte_cryptodev_count;
|
|
rte_cryptodev_configure;
|
|
rte_cryptodev_create_vdev;
|
|
rte_cryptodev_get_dev_id;
|
|
rte_cryptodev_get_feature_name;
|
|
rte_cryptodev_info_get;
|
|
rte_cryptodev_pmd_allocate;
|
|
rte_cryptodev_pmd_callback_process;
|
|
rte_cryptodev_pmd_release_device;
|
|
rte_cryptodev_sym_session_create;
|
|
rte_cryptodev_sym_session_free;
|
|
rte_cryptodev_socket_id;
|
|
rte_cryptodev_start;
|
|
rte_cryptodev_stats_get;
|
|
rte_cryptodev_stats_reset;
|
|
rte_cryptodev_stop;
|
|
rte_cryptodev_queue_pair_count;
|
|
rte_cryptodev_queue_pair_setup;
|
|
rte_cryptodev_queue_pair_start;
|
|
rte_cryptodev_queue_pair_stop;
|
|
rte_crypto_op_pool_create;
|
|
|
|
local: *;
|
|
};
|
|
|
|
DPDK_17.02 {
|
|
global:
|
|
|
|
rte_cryptodev_devices_get;
|
|
rte_cryptodev_pmd_create_dev_name;
|
|
rte_cryptodev_pmd_get_dev;
|
|
rte_cryptodev_pmd_get_named_dev;
|
|
rte_cryptodev_pmd_is_valid_dev;
|
|
rte_cryptodev_sym_capability_check_auth;
|
|
rte_cryptodev_sym_capability_check_cipher;
|
|
rte_cryptodev_sym_capability_get;
|
|
rte_crypto_auth_algorithm_strings;
|
|
rte_crypto_auth_operation_strings;
|
|
rte_crypto_cipher_algorithm_strings;
|
|
rte_crypto_cipher_operation_strings;
|
|
|
|
} DPDK_16.04;
|
|
|
|
DPDK_17.05 {
|
|
global:
|
|
|
|
rte_cryptodev_get_auth_algo_enum;
|
|
rte_cryptodev_get_cipher_algo_enum;
|
|
rte_cryptodev_queue_pair_attach_sym_session;
|
|
rte_cryptodev_queue_pair_detach_sym_session;
|
|
|
|
} DPDK_17.02;
|
|
|
|
DPDK_17.08 {
|
|
global:
|
|
|
|
rte_cryptodev_allocate_driver;
|
|
rte_cryptodev_device_count_by_driver;
|
|
rte_cryptodev_driver_id_get;
|
|
rte_cryptodev_driver_name_get;
|
|
rte_cryptodev_get_aead_algo_enum;
|
|
rte_cryptodev_get_header_session_size;
|
|
rte_cryptodev_get_private_session_size;
|
|
rte_cryptodev_pci_generic_probe;
|
|
rte_cryptodev_pci_generic_remove;
|
|
rte_cryptodev_sym_capability_check_aead;
|
|
rte_cryptodev_sym_session_init;
|
|
rte_cryptodev_sym_session_clear;
|
|
rte_cryptodev_vdev_parse_init_params;
|
|
rte_cryptodev_vdev_pmd_init;
|
|
rte_crypto_aead_algorithm_strings;
|
|
rte_crypto_aead_operation_strings;
|
|
|
|
} DPDK_17.05;
|