From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Burakov, Anatoly" Subject: Re: [PATCH 2/7] mem: use proper prefix Date: Thu, 1 Nov 2018 10:08:17 +0000 Message-ID: <68244b83-2810-043e-f9b5-0b8984e99ab9@intel.com> References: <20181031172931.11894-1-alejandro.lucero@netronome.com> <20181031172931.11894-3-alejandro.lucero@netronome.com> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit To: Alejandro Lucero , dev@dpdk.org Return-path: Received: from mga01.intel.com (mga01.intel.com [192.55.52.88]) by dpdk.org (Postfix) with ESMTP id 38CC3293B for ; Thu, 1 Nov 2018 11:08:20 +0100 (CET) In-Reply-To: <20181031172931.11894-3-alejandro.lucero@netronome.com> Content-Language: en-US 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 31-Oct-18 5:29 PM, Alejandro Lucero wrote: > Current name rte_eal_check_dma_mask does not follow the naming > used in the rest of the file. > > Signed-off-by: Alejandro Lucero > --- I don't think this belongs in the _mem_ namespace. It is usually used for things to do with memory, while the DMA mask IMO sits firmly in the domain of EAL, specifically bus subsystem. However, i don't have strong feelings one way or the other, so if you do decide to go forward with this naming... > diff --git a/lib/librte_eal/rte_eal_version.map b/lib/librte_eal/rte_eal_version.map > index 04f624246..ef8126a97 100644 > --- a/lib/librte_eal/rte_eal_version.map > +++ b/lib/librte_eal/rte_eal_version.map > @@ -295,7 +295,7 @@ EXPERIMENTAL { > rte_devargs_parsef; > rte_devargs_remove; > rte_devargs_type_count; > - rte_eal_check_dma_mask; > + rte_mem_check_dma_mask; ...then this should be in alphabetical order. > rte_eal_cleanup; > rte_fbarray_attach; > rte_fbarray_destroy; > -- Thanks, Anatoly