From fcf782051cd393237df54de9002b22d17ef804a4 Mon Sep 17 00:00:00 2001 From: Pavan Nikhilesh Date: Tue, 19 Oct 2021 05:06:09 +0530 Subject: [PATCH] eventdev: mark trace variables as internal Mark rte_trace global variables as internal i.e. remove them from experimental section of version map. Some of them are used in inline APIs, mark those as global. Signed-off-by: Pavan Nikhilesh Acked-by: Ray Kinsella --- lib/eventdev/version.map | 71 ++++++++++++++++++---------------------- 1 file changed, 32 insertions(+), 39 deletions(-) diff --git a/lib/eventdev/version.map b/lib/eventdev/version.map index 8f2fb0cf14..cd37164141 100644 --- a/lib/eventdev/version.map +++ b/lib/eventdev/version.map @@ -1,6 +1,13 @@ DPDK_22 { global: + __rte_eventdev_trace_crypto_adapter_enqueue; + __rte_eventdev_trace_deq_burst; + __rte_eventdev_trace_enq_burst; + __rte_eventdev_trace_eth_tx_adapter_enqueue; + __rte_eventdev_trace_timer_arm_burst; + __rte_eventdev_trace_timer_arm_tmo_tick_burst; + __rte_eventdev_trace_timer_cancel_burst; rte_event_crypto_adapter_caps_get; rte_event_crypto_adapter_create; rte_event_crypto_adapter_create_ext; @@ -42,8 +49,8 @@ DPDK_22 { rte_event_eth_rx_adapter_start; rte_event_eth_rx_adapter_stats_get; rte_event_eth_rx_adapter_stats_reset; - rte_event_eth_rx_adapter_vector_limits_get; rte_event_eth_rx_adapter_stop; + rte_event_eth_rx_adapter_vector_limits_get; rte_event_eth_tx_adapter_caps_get; rte_event_eth_tx_adapter_create; rte_event_eth_tx_adapter_create_ext; @@ -56,6 +63,7 @@ DPDK_22 { rte_event_eth_tx_adapter_stats_get; rte_event_eth_tx_adapter_stats_reset; rte_event_eth_tx_adapter_stop; + rte_event_fp_ops; rte_event_port_attr_get; rte_event_port_default_conf_get; rte_event_port_link; @@ -86,25 +94,28 @@ DPDK_22 { rte_event_timer_cancel_burst; rte_event_vector_pool_create; - #added in 21.11 - rte_event_fp_ops; - local: *; }; EXPERIMENTAL { global: - # added in 20.05 - __rte_eventdev_trace_configure; - __rte_eventdev_trace_queue_setup; - __rte_eventdev_trace_port_link; - __rte_eventdev_trace_port_unlink; - __rte_eventdev_trace_start; - __rte_eventdev_trace_stop; + # added in 21.11 + rte_event_eth_rx_adapter_create_with_params; + rte_event_eth_rx_adapter_queue_conf_get; +}; + +INTERNAL { + global: + __rte_eventdev_trace_close; - __rte_eventdev_trace_deq_burst; - __rte_eventdev_trace_enq_burst; + __rte_eventdev_trace_configure; + __rte_eventdev_trace_crypto_adapter_create; + __rte_eventdev_trace_crypto_adapter_free; + __rte_eventdev_trace_crypto_adapter_queue_pair_add; + __rte_eventdev_trace_crypto_adapter_queue_pair_del; + __rte_eventdev_trace_crypto_adapter_start; + __rte_eventdev_trace_crypto_adapter_stop; __rte_eventdev_trace_eth_rx_adapter_create; __rte_eventdev_trace_eth_rx_adapter_free; __rte_eventdev_trace_eth_rx_adapter_queue_add; @@ -117,38 +128,19 @@ EXPERIMENTAL { __rte_eventdev_trace_eth_tx_adapter_queue_del; __rte_eventdev_trace_eth_tx_adapter_start; __rte_eventdev_trace_eth_tx_adapter_stop; - __rte_eventdev_trace_eth_tx_adapter_enqueue; + __rte_eventdev_trace_port_link; + __rte_eventdev_trace_port_setup; + __rte_eventdev_trace_port_unlink; + __rte_eventdev_trace_queue_setup; + __rte_eventdev_trace_start; + __rte_eventdev_trace_stop; __rte_eventdev_trace_timer_adapter_create; + __rte_eventdev_trace_timer_adapter_free; __rte_eventdev_trace_timer_adapter_start; __rte_eventdev_trace_timer_adapter_stop; - __rte_eventdev_trace_timer_adapter_free; - __rte_eventdev_trace_timer_arm_burst; - __rte_eventdev_trace_timer_arm_tmo_tick_burst; - __rte_eventdev_trace_timer_cancel_burst; - __rte_eventdev_trace_crypto_adapter_create; - __rte_eventdev_trace_crypto_adapter_free; - __rte_eventdev_trace_crypto_adapter_queue_pair_add; - __rte_eventdev_trace_crypto_adapter_queue_pair_del; - __rte_eventdev_trace_crypto_adapter_start; - __rte_eventdev_trace_crypto_adapter_stop; - - # changed in 20.11 - __rte_eventdev_trace_port_setup; - # added in 21.11 - rte_event_eth_rx_adapter_create_with_params; - - #added in 21.05 - __rte_eventdev_trace_crypto_adapter_enqueue; - rte_event_eth_rx_adapter_queue_conf_get; -}; - -INTERNAL { - global: - event_dev_fp_ops_reset; event_dev_fp_ops_set; event_dev_probing_finish; - rte_event_pmd_selftest_seqn_dynfield_offset; rte_event_pmd_allocate; rte_event_pmd_get_named_dev; rte_event_pmd_is_valid_dev; @@ -156,6 +148,7 @@ INTERNAL { rte_event_pmd_pci_probe_named; rte_event_pmd_pci_remove; rte_event_pmd_release; + rte_event_pmd_selftest_seqn_dynfield_offset; rte_event_pmd_vdev_init; rte_event_pmd_vdev_uninit; rte_eventdevs; -- 2.20.1