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

Thomas Monjalon thomas at monjalon.net
Tue Jan 15 02:35:06 CET 2019


14/01/2019 22:16, Yongseok Koh:
> This patch introduces two new functions - rte_mbuf_buf_addr() and
> rte_mbuf_data_addr_default().
> 
> rte_mbuf_buf_addr() reutrns the 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>
> Reviewed-by: David Marchand <david.marchand at redhat.com>

Series applied, thanks





More information about the dev mailing list