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

2019-01-11 Thread Yongseok Koh
On Fri, Jan 11, 2019 at 09:32:52AM +0100, David Marchand wrote: > On Fri, Jan 11, 2019 at 9:11 AM David Marchand > wrote: > > > On Thu, Jan 10, 2019 at 11:40 PM Yongseok Koh wrote: > > diff --git a/lib/librte_mbuf/rte_mbuf.h b/lib/librte_mbuf/rte_mbuf.h > > > >> index bc562dc8a9..5787616999 1006

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

2019-01-11 Thread Thomas Monjalon
11/01/2019 09:11, David Marchand: > On Thu, Jan 10, 2019 at 11:40 PM Yongseok Koh wrote: > > + * @warning > > + * @b EXPERIMENTAL: This API may change without prior notice. > > + * This will be used by rte_mbuf_to_baddr() which has redundant code once > > + * experimental tag is removed. > > Good

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

2019-01-11 Thread David Marchand
On Fri, Jan 11, 2019 at 9:11 AM David Marchand wrote: > On Thu, Jan 10, 2019 at 11:40 PM Yongseok Koh wrote: > diff --git a/lib/librte_mbuf/rte_mbuf.h b/lib/librte_mbuf/rte_mbuf.h > >> index bc562dc8a9..5787616999 100644 >> --- a/lib/librte_mbuf/rte_mbuf.h >> +++ b/lib/librte_mbuf/rte_mbuf.h >>

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

2019-01-11 Thread David Marchand
On Thu, Jan 10, 2019 at 11:40 PM 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 > returns > comes after mbuf structure and private data. > > r

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

2019-01-11 Thread Olivier Matz
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_m

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

2019-01-10 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 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