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 <stephen@networkplumber.org>
Acked-by: Ray Kinsella <mdr@ashroe.eu>
This commit is contained in:
Stephen Hemminger 2022-02-16 11:39:16 -08:00 committed by Thomas Monjalon
parent 218f2f9749
commit 7f7efe829b
2 changed files with 4 additions and 18 deletions

View 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

View 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;