From mboxrd@z Thu Jan 1 00:00:00 1970 From: Thomas Monjalon Subject: Re: [PATCH v5 1/2] mbuf: add function returning buffer address Date: Tue, 15 Jan 2019 02:35:06 +0100 Message-ID: <3801715.Y6TRi60XTC@xps> References: <20190109085426.39965-1-yskoh@mellanox.com> <20190114211622.6900-1-yskoh@mellanox.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7Bit Cc: dev@dpdk.org, olivier.matz@6wind.com, shahafs@mellanox.com, arybchenko@solarflare.com, roszenrami@gmail.com, david.marchand@redhat.com To: Yongseok Koh Return-path: Received: from out3-smtp.messagingengine.com (out3-smtp.messagingengine.com [66.111.4.27]) by dpdk.org (Postfix) with ESMTP id 047A81B10D for ; Tue, 15 Jan 2019 02:35:10 +0100 (CET) In-Reply-To: <20190114211622.6900-1-yskoh@mellanox.com> List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" 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 > Acked-by: Olivier Matz > Reviewed-by: David Marchand Series applied, thanks