rte_mempool_get_mem_range() and rte_mempool_get_obj_alignment() were
added in 24.07 and have not changed since. The bulk of the mempool API
is already stable.

The trace points and rte_mempool_stats_reset() from 26.07 are left
experimental.

Signed-off-by: Stephen Hemminger <[email protected]>
---
 doc/guides/rel_notes/release_26_11.rst | 3 +++
 lib/mempool/rte_mempool.c              | 4 ++--
 lib/mempool/rte_mempool.h              | 8 --------
 3 files changed, 5 insertions(+), 10 deletions(-)

diff --git a/doc/guides/rel_notes/release_26_11.rst 
b/doc/guides/rel_notes/release_26_11.rst
index 1fb9251dbf..48ecf23b00 100644
--- a/doc/guides/rel_notes/release_26_11.rst
+++ b/doc/guides/rel_notes/release_26_11.rst
@@ -356,6 +356,9 @@ API Changes
 * hash: Promoted ``rte_hash_rcu_qsbr_dq_reclaim`` and ``rte_thash_gen_key``
   from experimental to stable.
 
+* mempool: Promoted ``rte_mempool_get_mem_range`` and
+  ``rte_mempool_get_obj_alignment`` from experimental to stable.
+
 * node: Promoted the whole library API from experimental to stable.
   The ``rte_node_*`` control path functions date from 23.07 to 25.07 and
   are used by the graph application and the l3fwd-graph example.
diff --git a/lib/mempool/rte_mempool.c b/lib/mempool/rte_mempool.c
index 817e2b8dc1..39a652527b 100644
--- a/lib/mempool/rte_mempool.c
+++ b/lib/mempool/rte_mempool.c
@@ -1444,7 +1444,7 @@ void rte_mempool_walk(void (*func)(struct rte_mempool *, 
void *),
        rte_mcfg_mempool_read_unlock();
 }
 
-RTE_EXPORT_EXPERIMENTAL_SYMBOL(rte_mempool_get_mem_range, 24.07)
+RTE_EXPORT_SYMBOL(rte_mempool_get_mem_range)
 int rte_mempool_get_mem_range(const struct rte_mempool *mp,
                struct rte_mempool_mem_range_info *mem_range)
 {
@@ -1479,7 +1479,7 @@ int rte_mempool_get_mem_range(const struct rte_mempool 
*mp,
        return 0;
 }
 
-RTE_EXPORT_EXPERIMENTAL_SYMBOL(rte_mempool_get_obj_alignment, 24.07)
+RTE_EXPORT_SYMBOL(rte_mempool_get_obj_alignment)
 size_t rte_mempool_get_obj_alignment(const struct rte_mempool *mp)
 {
        if (mp == NULL)
diff --git a/lib/mempool/rte_mempool.h b/lib/mempool/rte_mempool.h
index 40c3f26087..239d20935c 100644
--- a/lib/mempool/rte_mempool.h
+++ b/lib/mempool/rte_mempool.h
@@ -1966,9 +1966,6 @@ struct rte_mempool_mem_range_info {
 };
 
 /**
- * @warning
- * @b EXPERIMENTAL: this API may change without prior notice.
- *
  * Get information about the memory range used to store objects in the mempool.
  *
  * @param[in] mp
@@ -1980,15 +1977,11 @@ struct rte_mempool_mem_range_info {
  * @return
  *   0 on success, -EINVAL if mempool is not valid or mem_range is NULL.
  */
-__rte_experimental
 int
 rte_mempool_get_mem_range(const struct rte_mempool *mp,
        struct rte_mempool_mem_range_info *mem_range);
 
 /**
- * @warning
- * @b EXPERIMENTAL: this API may change without prior notice.
- *
  * Return alignment of objects stored in the mempool.
  *
  * @param[in] mp
@@ -1996,7 +1989,6 @@ rte_mempool_get_mem_range(const struct rte_mempool *mp,
  * @return
  *   Object alignment if mp is valid. 0 if mp is NULL.
  */
-__rte_experimental
 size_t
 rte_mempool_get_obj_alignment(const struct rte_mempool *mp);
 
-- 
2.53.0

Reply via email to