From mboxrd@z Thu Jan 1 00:00:00 1970 From: Olivier Matz Subject: Re: [PATCH v4 1/2] mbuf: add function returning default buffer address Date: Fri, 11 Jan 2019 09:05:26 +0100 Message-ID: <20190111080526.s6vouk7hfmkdq7yk@platinum> References: <20190109085426.39965-1-yskoh@mellanox.com> <20190110224030.2671-1-yskoh@mellanox.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: shahafs@mellanox.com, dev@dpdk.org, roszenrami@gmail.com, david.marchand@redhat.com To: Yongseok Koh Return-path: Received: from mail.droids-corp.org (zoll.droids-corp.org [94.23.50.67]) by dpdk.org (Postfix) with ESMTP id F3DC01B96E for ; Fri, 11 Jan 2019 09:05:29 +0100 (CET) Content-Disposition: inline In-Reply-To: <20190110224030.2671-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" 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 Acked-by: Olivier Matz