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

2019-01-14 Thread Thomas Monjalon
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 de

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

2019-01-14 Thread 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