]> git.droids-corp.org - dpdk.git/commitdiff
eal: promote some lcore experimental accessors
authorStephen Hemminger <stephen@networkplumber.org>
Wed, 16 Feb 2022 19:39:15 +0000 (11:39 -0800)
committerThomas Monjalon <thomas@monjalon.net>
Sun, 26 Jun 2022 13:00:36 +0000 (15:00 +0200)
These API's have been around for a long time and by now are fixed.

Signed-off-by: Stephen Hemminger <stephen@networkplumber.org>
Acked-by: Ray Kinsella <mdr@ashroe.eu>
lib/eal/include/rte_lcore.h
lib/eal/version.map

index 258bc49b24eaea6ee3063e44ffba098f655cc079..b598e1b9eccb4eaba024e79b9bbd96d0560143ab 100644 (file)
@@ -160,9 +160,6 @@ unsigned int
 rte_lcore_to_socket_id(unsigned int lcore_id);
 
 /**
- * @warning
- * @b EXPERIMENTAL: this API may change without prior notice.
- *
  * Return the id of the lcore on a socket starting from zero.
  *
  * @param lcore_id
@@ -170,25 +167,19 @@ rte_lcore_to_socket_id(unsigned int lcore_id);
  * @return
  *   The relative index, or -1 if not enabled.
  */
-__rte_experimental
-int
-rte_lcore_to_cpu_id(int lcore_id);
+int rte_lcore_to_cpu_id(int lcore_id);
 
 #ifdef RTE_HAS_CPUSET
 
 /**
- * @warning
- * @b EXPERIMENTAL: this API may change without prior notice.
- *
  * Return the cpuset for a given lcore.
+ *
  * @param lcore_id
  *   the targeted lcore, which MUST be between 0 and RTE_MAX_LCORE-1.
  * @return
  *   The cpuset of that lcore
  */
-__rte_experimental
-rte_cpuset_t
-rte_lcore_cpuset(unsigned int lcore_id);
+rte_cpuset_t rte_lcore_cpuset(unsigned int lcore_id);
 
 #endif /* RTE_HAS_CPUSET */
 
index 7058bf4ac0e2c3972ea036f622ae1c8f77fb34a7..b3549027381d8577fd058f2f25d1edf98870732f 100644 (file)
@@ -122,11 +122,13 @@ DPDK_22 {
        rte_lcore_callback_register;
        rte_lcore_callback_unregister;
        rte_lcore_count;
+       rte_lcore_cpuset;
        rte_lcore_dump;
        rte_lcore_has_role;
        rte_lcore_index;
        rte_lcore_is_enabled;
        rte_lcore_iterate;
+       rte_lcore_to_cpu_id;
        rte_lcore_to_socket_id;
        rte_log;
        rte_log_can_log;
@@ -322,8 +324,6 @@ EXPERIMENTAL {
 
        # added in 19.08
        rte_intr_ack;
-       rte_lcore_cpuset;
-       rte_lcore_to_cpu_id;
 
        # added in 20.02
        rte_thread_is_intr;