[dpdk-dev] [PATCH v4 1/2] mbuf: add function returning default buffer address

Olivier Matz olivier.matz at 6wind.com
Fri Jan 11 09:05:26 CET 2019


On Thu, Jan 10, 2019 at 02:40:29PM -0800, Yongseok Koh wrote:
> This patch introduces two new functions - rte_mbuf_buf_addr() and
> rte_mbuf_data_addr_default().
> 
> rte_mbuf_buf_addr() reutrns the default buffer address of given mbuf which
> comes after mbuf structure and private data.
> 
> rte_mbuf_data_addr_default() returns the default address of mbuf data
> taking the headroom into account.
> 
> Signed-off-by: Yongseok Koh <yskoh at mellanox.com>

Acked-by: Olivier Matz <olivier.matz at 6wind.com>


More information about the dev mailing list