From mboxrd@z Thu Jan 1 00:00:00 1970 From: Thomas Monjalon Subject: Re: [PATCH v6 1/3] ether: support runtime queue setup Date: Wed, 25 Apr 2018 09:54:07 +0200 Message-ID: <3588521.VWcPbH3XqV@xps> References: <20180212045314.171616-1-qi.z.zhang@intel.com> <2014014.MPIIikSFdI@xps> <039ED4275CED7440929022BC67E70611531A7E9E@SHSMSX103.ccr.corp.intel.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7Bit Cc: "dev@dpdk.org" , "Ananyev, Konstantin" , "Xing, Beilei" , "Wu, Jingjing" , "Lu, Wenzhuo" , "Yigit, Ferruh" , "Doherty, Declan" To: "Zhang, Qi Z" Return-path: Received: from out3-smtp.messagingengine.com (out3-smtp.messagingengine.com [66.111.4.27]) by dpdk.org (Postfix) with ESMTP id 1749723C for ; Wed, 25 Apr 2018 09:54:10 +0200 (CEST) In-Reply-To: <039ED4275CED7440929022BC67E70611531A7E9E@SHSMSX103.ccr.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" 25/04/2018 07:33, Zhang, Qi Z: > > 10/04/2018 15:59, Thomas Monjalon: > > > > --- a/lib/librte_ether/rte_ethdev.h > > > > +++ b/lib/librte_ether/rte_ethdev.h > > > > +#define DEV_RUNTIME_RX_QUEUE_SETUP 0x00000001 /**< Deferred > > setup > > > > +rx queue */ #define DEV_RUNTIME_TX_QUEUE_SETUP 0x00000002 > > /**< > > > > +Deferred setup tx queue */ > > > > > > Please use RTE_ETH_ prefix. > > Actually I saw all the offload flag is started with DEV_, so > Should I still need rename to RTE_ETH_DEV_CAPA_***? Yes The flags starting with DEV_ will be managed later because it is hard to rename an existing flag. It is in my roadmap. The idea is to not add new flags with wrong namespace prefix.