From: Stephen Hemminger Date: Wed, 16 Feb 2022 19:39:16 +0000 (-0800) Subject: interrupts: promote some experimental functions X-Git-Url: http://git.droids-corp.org/?a=commitdiff_plain;h=7f7efe829bff42e23dc4d7d0705587c7d1974f16;p=dpdk.git interrupts: promote some experimental functions These are functions related to interrupts that have been in since 20.02 release or earlier. Signed-off-by: Stephen Hemminger Acked-by: Ray Kinsella --- diff --git a/lib/eal/include/rte_interrupts.h b/lib/eal/include/rte_interrupts.h index 9d1d53f46c..487e3c8875 100644 --- a/lib/eal/include/rte_interrupts.h +++ b/lib/eal/include/rte_interrupts.h @@ -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 diff --git a/lib/eal/version.map b/lib/eal/version.map index b354902738..45430bcda3 100644 --- a/lib/eal/version.map +++ b/lib/eal/version.map @@ -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;