summaryrefslogtreecommitdiff
path: root/lib/librte_mbuf
diff options
context:
space:
mode:
authorYongseok Koh <yskoh@mellanox.com>2019-01-13 21:20:54 -0800
committerThomas Monjalon <thomas@monjalon.net>2019-01-14 16:37:36 +0100
commit952f4cf5f042e933b6e22b0944d5392f3cf03e30 (patch)
tree78c936a0e7023696baacde0aa2b48008aa9d1fb1 /lib/librte_mbuf
parent6af649a44c4ccc6a830bab2d6c928776b99b934c (diff)
downloaddpdk-952f4cf5f042e933b6e22b0944d5392f3cf03e30.zip
dpdk-952f4cf5f042e933b6e22b0944d5392f3cf03e30.tar.gz
dpdk-952f4cf5f042e933b6e22b0944d5392f3cf03e30.tar.xz
mbuf: remove deprecated macro
RTE_MBUF_INDIRECT() is replaced with RTE_MBUF_CLONED() and removed. This macro was deprecated in release 18.05 when EXT_ATTACHED_MBUF was introduced. Signed-off-by: Yongseok Koh <yskoh@mellanox.com> Acked-by: Andrew Rybchenko <arybchenko@solarflare.com> Acked-by: Olivier Matz <olivier.matz@6wind.com>
Diffstat (limited to 'lib/librte_mbuf')
-rw-r--r--lib/librte_mbuf/rte_mbuf.h8
1 files changed, 1 insertions, 7 deletions
diff --git a/lib/librte_mbuf/rte_mbuf.h b/lib/librte_mbuf/rte_mbuf.h
index d53b682..10e28bb 100644
--- a/lib/librte_mbuf/rte_mbuf.h
+++ b/lib/librte_mbuf/rte_mbuf.h
@@ -834,12 +834,6 @@ rte_mbuf_to_priv(struct rte_mbuf *m)
#define RTE_MBUF_CLONED(mb) ((mb)->ol_flags & IND_ATTACHED_MBUF)
/**
- * Deprecated.
- * Use RTE_MBUF_CLONED().
- */
-#define RTE_MBUF_INDIRECT(mb) RTE_MBUF_CLONED(mb)
-
-/**
* Returns TRUE if given mbuf has an external buffer, or FALSE otherwise.
*
* External buffer is a user-provided anonymous buffer.
@@ -1632,7 +1626,7 @@ __rte_pktmbuf_free_direct(struct rte_mbuf *m)
{
struct rte_mbuf *md;
- RTE_ASSERT(RTE_MBUF_INDIRECT(m));
+ RTE_ASSERT(RTE_MBUF_CLONED(m));
md = rte_mbuf_from_indirect(m);