From mboxrd@z Thu Jan 1 00:00:00 1970 From: Andrew Rybchenko Subject: Re: [PATCH v2 1/4] mbuf: add accessor function for private data area Date: Tue, 19 Jun 2018 15:56:27 +0300 Message-ID: References: <20180618233534.21611-1-dg@adax.com> Mime-Version: 1.0 Content-Type: text/plain; charset="utf-8"; format=flowed Content-Transfer-Encoding: 7bit Cc: Olivier Matz To: Dan Gora , Return-path: Received: from dispatch1-us1.ppe-hosted.com (dispatch1-us1.ppe-hosted.com [67.231.154.164]) by dpdk.org (Postfix) with ESMTP id DB69F4C57 for ; Tue, 19 Jun 2018 14:56:37 +0200 (CEST) In-Reply-To: <20180618233534.21611-1-dg@adax.com> Content-Language: en-GB 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 06/19/2018 02:35 AM, Dan Gora wrote: > Add an inline accessor function to return the starting address of > the private data area in the supplied mbuf. > > This allows applications to easily access the private data area between > the struct rte_mbuf and the data buffer in the specified mbuf without > creating private macros or accessor functions. > > No checks are made to ensure that a private data area actually exists > in the buffer. > > Signed-off-by: Dan Gora Reviewed-by: Andrew Rybchenko