crytodev: make logtype internal
PATCH 1/1 crytodev: make logtype internal
The logtype does not need to be exported as API.
Fixes be618b81545e ("cryptodev: convert to dynamic logtype")
Signed-off-by Stephen Hemminger <[email protected]>
--- lib/cryptodev/version.map | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
lib/cryptodev/version.map +1 -1
@@ -44,7 +44,6 @@ DPDK_24 { rte_cryptodev_get_sec_ctx; rte_cryptodev_info_get; rte_cryptodev_is_valid_dev; - rte_cryptodev_logtype; rte_cryptodev_name_get; rte_cryptodev_queue_pair_count; rte_cryptodev_queue_pair_setup;
@@ -91,6 +90,7 @@ INTERNAL { cryptodev_fp_ops_reset; cryptodev_fp_ops_set; + rte_cryptodev_logtype; rte_cryptodev_allocate_driver; rte_cryptodev_pmd_allocate; rte_cryptodev_pmd_callback_process;
Signature · 1 line
2.42.0
Quoted 2 lines · Stephen Hemminger
The logtype does not need to be exported as API.
The CDEV_* macros are exported in the public header.
If some external users use them and we take this patch, the user binary will point at a symbol for which we have no safety barrier (wrt symbol removal / changes).
Moving those macros to cryptodev_pmd.h is a prerequisite.
Signature · 1 line
David Marchand