ring: remove experimental flag from custom element API
Remove the experimental tag for rte_ring_xxx_elem APIs that have been around for 2 releases. Signed-off-by: Feifei Wang <feifei.wang2@arm.com> Reviewed-by: Honnappa Nagarahalli <honnappa.nagarahalli@arm.com> Reviewed-by: Ruifeng Wang <ruifeng.wang@arm.com> Acked-by: Konstantin Ananyev <konstantin.ananyev@intel.com>
This commit is contained in:
parent
2f86fb666e
commit
019bffab51
@ -40,6 +40,7 @@ extern "C" {
|
||||
#endif
|
||||
|
||||
#include <rte_ring_core.h>
|
||||
#include <rte_ring_elem.h>
|
||||
|
||||
/**
|
||||
* Calculate the memory size needed for a ring
|
||||
@ -401,10 +402,6 @@ rte_ring_sp_enqueue_bulk(struct rte_ring *r, void * const *obj_table,
|
||||
RTE_RING_SYNC_ST, free_space);
|
||||
}
|
||||
|
||||
#ifdef ALLOW_EXPERIMENTAL_API
|
||||
#include <rte_ring_elem.h>
|
||||
#endif
|
||||
|
||||
/**
|
||||
* Enqueue several objects on a ring.
|
||||
*
|
||||
|
@ -23,9 +23,6 @@ extern "C" {
|
||||
#include <rte_ring_core.h>
|
||||
|
||||
/**
|
||||
* @warning
|
||||
* @b EXPERIMENTAL: this API may change without prior notice
|
||||
*
|
||||
* Calculate the memory size needed for a ring with given element size
|
||||
*
|
||||
* This function returns the number of bytes needed for a ring, given
|
||||
@ -43,13 +40,9 @@ extern "C" {
|
||||
* - -EINVAL - esize is not a multiple of 4 or count provided is not a
|
||||
* power of 2.
|
||||
*/
|
||||
__rte_experimental
|
||||
ssize_t rte_ring_get_memsize_elem(unsigned int esize, unsigned int count);
|
||||
|
||||
/**
|
||||
* @warning
|
||||
* @b EXPERIMENTAL: this API may change without prior notice
|
||||
*
|
||||
* Create a new ring named *name* that stores elements with given size.
|
||||
*
|
||||
* This function uses ``memzone_reserve()`` to allocate memory. Then it
|
||||
@ -109,7 +102,6 @@ ssize_t rte_ring_get_memsize_elem(unsigned int esize, unsigned int count);
|
||||
* - EEXIST - a memzone with the same name already exists
|
||||
* - ENOMEM - no appropriate memory area found in which to create memzone
|
||||
*/
|
||||
__rte_experimental
|
||||
struct rte_ring *rte_ring_create_elem(const char *name, unsigned int esize,
|
||||
unsigned int count, int socket_id, unsigned int flags);
|
||||
|
||||
|
@ -15,13 +15,7 @@ DPDK_20.0 {
|
||||
DPDK_21 {
|
||||
global:
|
||||
|
||||
rte_ring_reset;
|
||||
} DPDK_20.0;
|
||||
|
||||
EXPERIMENTAL {
|
||||
global:
|
||||
|
||||
# added in 20.02
|
||||
rte_ring_create_elem;
|
||||
rte_ring_get_memsize_elem;
|
||||
};
|
||||
rte_ring_reset;
|
||||
} DPDK_20.0;
|
||||
|
Loading…
x
Reference in New Issue
Block a user