26c2e4ad5a
This patch add a mechanism for discovery of crypto device features and supported crypto operations and algorithms. It also provides a method for a crypto PMD to publish any data range limitations it may have for the operations and algorithms it supports. The parameter feature_flags added to rte_cryptodev struct is used to capture features such as operations supported (symmetric crypto, operation chaining etc) as well parameter such as whether the device is hardware accelerated or uses SIMD instructions. The capabilities parameter allows a PMD to define an array of supported operations with any limitation which that implementation may have. Finally the rte_cryptodev_info struct has been extended to allow retrieval of these parameter using the existing rte_cryptodev_info_get() API. Signed-off-by: Declan Doherty <declan.doherty@intel.com> Signed-off-by: Pablo de Lara <pablo.de.lara.guarch@intel.com> Acked-by: Fiona Trahe <fiona.trahe@intel.com>
35 lines
862 B
Plaintext
35 lines
862 B
Plaintext
DPDK_16.04 {
|
|
global:
|
|
|
|
rte_cryptodevs;
|
|
rte_cryptodev_callback_register;
|
|
rte_cryptodev_callback_unregister;
|
|
rte_cryptodev_close;
|
|
rte_cryptodev_count;
|
|
rte_cryptodev_count_devtype;
|
|
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_driver_register;
|
|
rte_cryptodev_pmd_release_device;
|
|
rte_cryptodev_pmd_virtual_dev_init;
|
|
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: *;
|
|
};
|