summaryrefslogtreecommitdiff
path: root/drivers/net/mlx5/mlx5_rxtx.h
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 /drivers/net/mlx5/mlx5_rxtx.h
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 'drivers/net/mlx5/mlx5_rxtx.h')
-rw-r--r--drivers/net/mlx5/mlx5_rxtx.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/mlx5/mlx5_rxtx.h b/drivers/net/mlx5/mlx5_rxtx.h
index 75194a3..c2529f9 100644
--- a/drivers/net/mlx5/mlx5_rxtx.h
+++ b/drivers/net/mlx5/mlx5_rxtx.h
@@ -622,7 +622,7 @@ mlx5_tx_complete(struct mlx5_txq_data *txq)
static inline struct rte_mempool *
mlx5_mb2mp(struct rte_mbuf *buf)
{
- if (unlikely(RTE_MBUF_INDIRECT(buf)))
+ if (unlikely(RTE_MBUF_CLONED(buf)))
return rte_mbuf_from_indirect(buf)->pool;
return buf->pool;
}