]> git.droids-corp.org - dpdk.git/commitdiff
interrupts: promote some experimental functions
authorStephen Hemminger <stephen@networkplumber.org>
Wed, 16 Feb 2022 19:39:16 +0000 (11:39 -0800)
committerThomas Monjalon <thomas@monjalon.net>
Sun, 26 Jun 2022 13:00:36 +0000 (15:00 +0200)
These are functions related to interrupts that have been
in since 20.02 release or earlier.

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

index 9d1d53f46cbcf2b6bc519786da2fe52ff358f3ad..487e3c8875ea06445686622e5b09a80dd32ced07 100644 (file)
@@ -121,7 +121,6 @@ int rte_intr_callback_unregister(const struct rte_intr_handle *intr_handle,
  *  - On success, return the number of callback entities marked for remove.
  *  - On failure, a negative value.
  */
-__rte_experimental
 int
 rte_intr_callback_unregister_pending(const struct rte_intr_handle *intr_handle,
                                rte_intr_callback_fn cb_fn, void *cb_arg,
@@ -177,9 +176,6 @@ int rte_intr_enable(const struct rte_intr_handle *intr_handle);
 int rte_intr_disable(const struct rte_intr_handle *intr_handle);
 
 /**
- * @warning
- * @b EXPERIMENTAL: this API may change without prior notice
- *
  * It acknowledges an interrupt raised for the specified handle.
  *
  * This function should be called at the end of each interrupt handler either
@@ -193,22 +189,16 @@ int rte_intr_disable(const struct rte_intr_handle *intr_handle);
  *  - On success, zero.
  *  - On failure, a negative value.
  */
-__rte_experimental
 int rte_intr_ack(const struct rte_intr_handle *intr_handle);
 
 /**
- * @warning
- * @b EXPERIMENTAL: this API may change without prior notice
- *
  * Check if currently executing in interrupt context
  *
  * @return
  *  - non zero in case of interrupt context
  *  - zero in case of process context
  */
-__rte_experimental
-int
-rte_thread_is_intr(void);
+int rte_thread_is_intr(void);
 
 /**
  * @warning
index b3549027381d8577fd058f2f25d1edf98870732f..45430bcda3f5b9f514bcad70a20bfc5808f7f2f8 100644 (file)
@@ -109,8 +109,10 @@ DPDK_22 {
        rte_hexdump;
        rte_hypervisor_get;
        rte_hypervisor_get_name; # WINDOWS_NO_EXPORT
+       rte_intr_ack;
        rte_intr_callback_register;
        rte_intr_callback_unregister;
+       rte_intr_callback_unregister_pending;
        rte_intr_disable;
        rte_intr_enable;
        rte_keepalive_create; # WINDOWS_NO_EXPORT
@@ -263,6 +265,7 @@ DPDK_22 {
        rte_strsplit;
        rte_sys_gettid;
        rte_thread_get_affinity;
+       rte_thread_is_intr;
        rte_thread_register;
        rte_thread_set_affinity;
        rte_thread_setname;
@@ -320,13 +323,6 @@ EXPERIMENTAL {
        # added in 19.05
        rte_dev_dma_map;
        rte_dev_dma_unmap;
-       rte_intr_callback_unregister_pending;
-
-       # added in 19.08
-       rte_intr_ack;
-
-       # added in 20.02
-       rte_thread_is_intr;
 
        # added in 20.05
        __rte_eal_trace_alarm_cancel;