src/dpdk/drivers/net/mlx4/mlx4_rxtx.h
static inline struct rte_mempool *
mlx4_mb2mp(struct rte_mbuf *buf)
{
	if (unlikely(RTE_MBUF_CLONED(buf)))
		return rte_mbuf_from_indirect(buf)->pool;
	return buf->pool;
}
/**
 * Get Memory Pool (MP) from mbuf. If mbuf is indirect, the pool from which the
 * cloned mbuf is allocated is returned instead.
 *
 * @param buf
 *   Pointer to mbuf.
 *
 * @return
 *   Memory pool where data is located for given mbuf.
 */
Get Memory Pool (MP) from mbuf. If mbuf is indirect, the pool from which the
cloned mbuf is allocated is returned instead.

@param buf
Pointer to mbuf.

@return
Memory pool where data is located for given mbuf.
Get Memory Pool ( MP ) from mbuf . If mbuf is indirect the pool from which the cloned mbuf is allocated is returned instead . @param buf Pointer to mbuf . @return Memory pool where data is located for given mbuf .
static inline struct rte_mempool *
mlx4_mb2mp(struct rte_mbuf *buf)
{
	if (unlikely(RTE_MBUF_CLONED(buf)))
		return rte_mbuf_from_indirect(buf)->pool;
	return buf->pool;
}
static inline struct rte_mempool * mlx4_mb2mp ( struct rte_mbuf * buf ) { if ( unlikely ( RTE_MBUF_CLONED ( buf ) ) ) return rte_mbuf_from_indirect ( buf ) -> pool ; return buf -> pool ; }
Get Memory Pool (MP) from mbuf.
Get Memory Pool ( MP ) from mbuf .