From mboxrd@z Thu Jan 1 00:00:00 1970 From: Thomas Monjalon Subject: Re: FW: [PATCH 5/7] stack: add non-blocking stack implementation Date: Fri, 01 Mar 2019 22:12:53 +0100 Message-ID: <16181918.9taCLPWhEn@xps> References: <20190222160655.3346-1-gage.eads@intel.com> <2EC44CCD3517A842B44C82651A5557A14AF13386@fmsmsx118.amr.corp.intel.com> <9184057F7FC11744A2107296B6B8EB1E541EE3BD@FMSMSX108.amr.corp.intel.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7Bit Cc: Olivier Matz , "dev@dpdk.org" , "arybchenko@solarflare.com" , "Richardson, Bruce" , "Ananyev, Konstantin" , "gavin.hu@arm.com" , "Honnappa.Nagarahalli@arm.com" , "nd@arm.com" To: "Eads, Gage" Return-path: Received: from out2-smtp.messagingengine.com (out2-smtp.messagingengine.com [66.111.4.26]) by dpdk.org (Postfix) with ESMTP id 535B22B87 for ; Fri, 1 Mar 2019 22:13:05 +0100 (CET) In-Reply-To: <9184057F7FC11744A2107296B6B8EB1E541EE3BD@FMSMSX108.amr.corp.intel.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" 01/03/2019 21:53, Eads, Gage: > From: Olivier Matz [mailto:olivier.matz@6wind.com] > > On Fri, Feb 22, 2019 at 10:06:53AM -0600, Gage Eads wrote: > > > +#define STACK_F_NB 0x0001 > > > > What about adding the RTE_ prefix? > > I'm fine with either, but there's precedent for flag macros named > _*. E.g. RING_F_*, MEMPOOL_F_*, ETH_*, and SERVICE_F_*. They should be fixed. Every public symbols should be prefixed to avoid namespace conflict. At first, we should rename them and keep the old name as an alias. Later, non-prefixed names should be removed after a deprecation notice.