[2/2] mbuf: remove experimental tag of external buffer attachment
Checks
Commit Message
Remove the experimental tag of rte_pktmbuf_attach_extbuf() which was
introduced in 18.05.
Signed-off-by: Yongseok Koh <yskoh@mellanox.com>
---
lib/librte_mbuf/rte_mbuf.h | 9 +--------
1 file changed, 1 insertion(+), 8 deletions(-)
Comments
On 1/14/19 8:20 AM, Yongseok Koh wrote:
> Remove the experimental tag of rte_pktmbuf_attach_extbuf() which was
> introduced in 18.05.
>
> Signed-off-by: Yongseok Koh <yskoh@mellanox.com>
Acked-by: Andrew Rybchenko <arybchenko@solarflare.com>
On Mon, Jan 14, 2019 at 10:42:21AM +0300, Andrew Rybchenko wrote:
> On 1/14/19 8:20 AM, Yongseok Koh wrote:
> > Remove the experimental tag of rte_pktmbuf_attach_extbuf() which was
> > introduced in 18.05.
> >
> > Signed-off-by: Yongseok Koh <yskoh@mellanox.com>
>
> Acked-by: Andrew Rybchenko <arybchenko@solarflare.com>
>
Acked-by: Olivier Matz <olivier.matz@6wind.com>
@@ -1489,13 +1489,6 @@ rte_pktmbuf_ext_shinfo_init_helper(void *buf_addr, uint16_t *buf_len,
* attached with appropriate free callback and its IO address.
* - Smaller metadata is required to maintain shared data such as refcnt.
*
- * @warning
- * @b EXPERIMENTAL: This API may change without prior notice.
- * Once external buffer is enabled by allowing experimental API,
- * ``RTE_MBUF_DIRECT()`` and ``RTE_MBUF_INDIRECT()`` are no longer
- * exclusive. A mbuf can be considered direct if it is neither indirect nor
- * having external buffer.
- *
* @param m
* The pointer to the mbuf.
* @param buf_addr
@@ -1507,7 +1500,7 @@ rte_pktmbuf_ext_shinfo_init_helper(void *buf_addr, uint16_t *buf_len,
* @param shinfo
* User-provided memory for shared data of the external buffer.
*/
-static inline void __rte_experimental
+static inline void
rte_pktmbuf_attach_extbuf(struct rte_mbuf *m, void *buf_addr,
rte_iova_t buf_iova, uint16_t buf_len,
struct rte_mbuf_ext_shared_info *shinfo)