Changes device type identification to be based on a unique driver id replacing the current device type enumeration, which needed library changes every time a new crypto driver was added. The driver id is assigned dynamically during driver registration using the new macro RTE_PMD_REGISTER_CRYPTO_DRIVER which returns a unique uint8_t identifier for that driver. New APIs are also introduced to allow retrieval of the driver id using the driver name. 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>
78 lines
1.8 KiB
Plaintext
78 lines
1.8 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_pci_generic_probe;
|
|
rte_cryptodev_pci_generic_remove;
|
|
rte_cryptodev_sym_capability_check_aead;
|
|
rte_cryptodev_vdev_parse_init_params;
|
|
rte_cryptodev_vdev_pmd_init;
|
|
rte_crypto_aead_algorithm_strings;
|
|
rte_crypto_aead_operation_strings;
|
|
|
|
} DPDK_17.05;
|