From mboxrd@z Thu Jan 1 00:00:00 1970 From: Olivier Matz Subject: Re: [PATCH v6 1/2] mbuf: support attaching external buffer to mbuf Date: Thu, 26 Apr 2018 21:42:09 +0200 Message-ID: <20180426194208.vm7rr5svn6xq7ki5@neon> References: <20180310012532.15809-1-yskoh@mellanox.com> <20180426011010.28078-1-yskoh@mellanox.com> <1a65f081-4c92-78d5-b00c-08e66fdef5c8@solarflare.com> <1854520.Legm0nyyME@xps> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: Andrew Rybchenko , Yongseok Koh , wenzhuo.lu@intel.com, jingjing.wu@intel.com, dev@dpdk.org, konstantin.ananyev@intel.com, stephen@networkplumber.org, adrien.mazarguil@6wind.com, nelio.laranjeiro@6wind.com To: Thomas Monjalon Return-path: Received: from mail.droids-corp.org (zoll.droids-corp.org [94.23.50.67]) by dpdk.org (Postfix) with ESMTP id 90B964C6F for ; Thu, 26 Apr 2018 21:42:21 +0200 (CEST) Content-Disposition: inline In-Reply-To: <1854520.Legm0nyyME@xps> 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, Apr 26, 2018 at 06:10:36PM +0200, Thomas Monjalon wrote: > 26/04/2018 18:05, Andrew Rybchenko: > > On 04/26/2018 04:10 AM, Yongseok Koh wrote: > > > -#define RTE_MBUF_INDIRECT(mb) ((mb)->ol_flags & IND_ATTACHED_MBUF) > > > +#define RTE_MBUF_INDIRECT(mb) RTE_MBUF_CLONED(mb) > > > > We have discussed that it would be good to deprecate RTE_MBUF_INDIRECT() > > since it is not !RTE_MBUF_DIREC(). Is it lost here or intentional (may > > be I've lost > > in the thread)? > > I think it should be a separate deprecation notice. Agree with Andrew that RTE_MBUF_INDIRECT should be deprecated to avoid confusion with !DIRECT.