From mboxrd@z Thu Jan 1 00:00:00 1970 From: Olivier MATZ Subject: Re: [PATCH 06/12] mbuf: add functions to get the name of an ol_flag Date: Wed, 12 Nov 2014 18:44:11 +0100 Message-ID: <54639C6B.2010706@6wind.com> References: <1415635166-1364-1-git-send-email-olivier.matz@6wind.com> <1415635166-1364-7-git-send-email-olivier.matz@6wind.com> <20141110171905.GF10776@bricha3-MOBL3> <2601191342CEEE43887BDE71AB977258213A41C6@IRSMSX105.ger.corp.intel.com> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: "dev-VfR2kkLFssw@public.gmane.org" , "jigsaw-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org" To: "Ananyev, Konstantin" , "Richardson, Bruce" Return-path: In-Reply-To: <2601191342CEEE43887BDE71AB977258213A41C6-kPTMFJFq+rEu0RiL9chJVbfspsVTdybXVpNB7YpNyf8@public.gmane.org> List-Id: patches and discussions about DPDK List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces-VfR2kkLFssw@public.gmane.org Sender: "dev" Hi Konstantin, On 11/12/2014 06:21 PM, Ananyev, Konstantin wrote: >>> This patch introduces 2 new functions rte_get_rx_ol_flag_name() >>> and rte_get_tx_ol_flag_name() that returns the name of a flag from >>> its mask. It also fixes rxonly.c to use this new functions and to >>> display the proper flags. >> >> Good idea. Couple of minor comments below. > > Yes, that looks like a good idea to me too. > Just one thought - there is probably no need to make rte_get_*_ol_flag_name() inlined > and put them into rte_mbuf.h > Seems like rte_mbuf.c - is a good place for these 2 functions definitions. > > Konstantin > Agree, I'll add this change to the list. Thanks, Olivier