From de4ffd50c92baf76b451deb0ae1f7deb939a844b Mon Sep 17 00:00:00 2001 From: Anatoly Burakov Date: Fri, 10 Sep 2021 12:30:09 +0000 Subject: [PATCH] mem: promote some shared memory config API to stable As per ABI policy, move the formerly experimental API's to the stable section. Signed-off-by: Anatoly Burakov Acked-by: Ray Kinsella --- lib/eal/include/rte_eal_memconfig.h | 12 ------------ lib/eal/version.map | 8 +++----- 2 files changed, 3 insertions(+), 17 deletions(-) diff --git a/lib/eal/include/rte_eal_memconfig.h b/lib/eal/include/rte_eal_memconfig.h index dede2ee324..44f5324906 100644 --- a/lib/eal/include/rte_eal_memconfig.h +++ b/lib/eal/include/rte_eal_memconfig.h @@ -92,33 +92,21 @@ void rte_mcfg_mempool_write_unlock(void); /** - * @warning - * @b EXPERIMENTAL: this API may change without prior notice - * * Lock the internal EAL Timer Library lock for exclusive access. */ -__rte_experimental void rte_mcfg_timer_lock(void); /** - * @warning - * @b EXPERIMENTAL: this API may change without prior notice - * * Unlock the internal EAL Timer Library lock for exclusive access. */ -__rte_experimental void rte_mcfg_timer_unlock(void); /** - * @warning - * @b EXPERIMENTAL: this API may change without prior notice - * * If true, pages are put in single files (per memseg list), * as opposed to creating a file per page. */ -__rte_experimental bool rte_mcfg_get_single_file_segments(void); diff --git a/lib/eal/version.map b/lib/eal/version.map index 7e692a35f5..b436359596 100644 --- a/lib/eal/version.map +++ b/lib/eal/version.map @@ -160,6 +160,7 @@ DPDK_22 { rte_malloc_socket; rte_malloc_validate; rte_malloc_virt2iova; + rte_mcfg_get_single_file_segments; rte_mcfg_mem_read_lock; rte_mcfg_mem_read_unlock; rte_mcfg_mem_write_lock; @@ -172,6 +173,8 @@ DPDK_22 { rte_mcfg_tailq_read_unlock; rte_mcfg_tailq_write_lock; rte_mcfg_tailq_write_unlock; + rte_mcfg_timer_lock; + rte_mcfg_timer_unlock; rte_mem_alloc_validator_register; rte_mem_alloc_validator_unregister; rte_mem_check_dma_mask; @@ -320,13 +323,8 @@ EXPERIMENTAL { rte_intr_ack; rte_lcore_cpuset; rte_lcore_to_cpu_id; - rte_mcfg_timer_lock; - rte_mcfg_timer_unlock; rte_rand_max; # WINDOWS_NO_EXPORT - # added in 19.11 - rte_mcfg_get_single_file_segments; - # added in 20.02 rte_thread_is_intr; -- 2.20.1