[v3,1/4] mbuf: make rte_pktmbuf_free_bulk and rte_pktmbuf_copy stable API's
Checks
Commit Message
These two functions were added in 20.11 as experimental.
Time to promote the to stable status.
Signed-off-by: Stephen Hemminger <stephen@networkplumber.org>
---
lib/mbuf/rte_mbuf.h | 2 --
lib/mbuf/version.map | 4 ++--
2 files changed, 2 insertions(+), 4 deletions(-)
Comments
On 8/31/21 10:35 PM, Stephen Hemminger wrote:
> These two functions were added in 20.11 as experimental.
> Time to promote the to stable status.
>
> Signed-off-by: Stephen Hemminger <stephen@networkplumber.org>
Acked-by: Andrew Rybchenko <andrew.rybchenko@oktetlabs.ru>
On Wed, Sep 01, 2021 at 09:42:27AM +0300, Andrew Rybchenko wrote:
> On 8/31/21 10:35 PM, Stephen Hemminger wrote:
> > These two functions were added in 20.11 as experimental.
> > Time to promote the to stable status.
> >
> > Signed-off-by: Stephen Hemminger <stephen@networkplumber.org>
>
> Acked-by: Andrew Rybchenko <andrew.rybchenko@oktetlabs.ru>
Acked-by: Olivier Matz <olivier.matz@6wind.com>
@@ -1426,7 +1426,6 @@ static inline void rte_pktmbuf_free(struct rte_mbuf *m)
* @param count
* Array size.
*/
-__rte_experimental
void rte_pktmbuf_free_bulk(struct rte_mbuf **mbufs, unsigned int count);
/**
@@ -1470,7 +1469,6 @@ rte_pktmbuf_clone(struct rte_mbuf *md, struct rte_mempool *mp);
* - The pointer to the new "clone" mbuf on success.
* - NULL if allocation fails.
*/
-__rte_experimental
struct rte_mbuf *
rte_pktmbuf_copy(const struct rte_mbuf *m, struct rte_mempool *mp,
uint32_t offset, uint32_t length);
@@ -22,7 +22,9 @@ DPDK_22 {
rte_mbuf_set_user_mempool_ops;
rte_mbuf_user_mempool_ops;
rte_pktmbuf_clone;
+ rte_pktmbuf_copy;
rte_pktmbuf_dump;
+ rte_pktmbuf_free_bulk;
rte_pktmbuf_init;
rte_pktmbuf_pool_create;
rte_pktmbuf_pool_create_by_ops;
@@ -44,8 +46,6 @@ EXPERIMENTAL {
rte_mbuf_dyn_dump;
rte_mbuf_dyn_rx_timestamp_register;
rte_mbuf_dyn_tx_timestamp_register;
- rte_pktmbuf_copy;
- rte_pktmbuf_free_bulk;
rte_pktmbuf_pool_create_extbuf;
};