From mboxrd@z Thu Jan 1 00:00:00 1970 From: Shreyansh Jain Subject: Re: [PATCH v3 20/40] drivers: enable compilation of DPAA Mempool driver Date: Fri, 22 Sep 2017 12:05:08 +0530 Message-ID: <433901bb-6f1d-ad3e-2720-07392c2d0c04@nxp.com> References: <1499179471-19145-1-git-send-email-shreyansh.jain@nxp.com> <20170823141213.25476-1-shreyansh.jain@nxp.com> <20170823141213.25476-21-shreyansh.jain@nxp.com> <10181677.XQAPLOLpmf@xps> Mime-Version: 1.0 Content-Type: text/plain; charset="utf-8"; format=flowed Content-Transfer-Encoding: 7bit Cc: , , To: Thomas Monjalon Return-path: Received: from NAM01-BN3-obe.outbound.protection.outlook.com (mail-bn3nam01on0083.outbound.protection.outlook.com [104.47.33.83]) by dpdk.org (Postfix) with ESMTP id 901067CDE for ; Fri, 22 Sep 2017 08:24:16 +0200 (CEST) In-Reply-To: <10181677.XQAPLOLpmf@xps> 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 Friday 22 September 2017 03:25 AM, Thomas Monjalon wrote: > 23/08/2017 16:11, Shreyansh Jain: >> +CONFIG_RTE_LIBRTE_DPAA_MEMPOOL_DEBUG=n > > Please could you try to remove this kind of option? > We are going to remove them from DPDK. OK. I will revisit and remove which are not impacting the performance. > > For control path, no need of removing logs at compilation time. > For data path, compilation of logs is controlled by CONFIG_RTE_LOG_DP_LEVEL. > For enabling/disabling logs at runtime in the component, > there is the dynamic log types. > I had already introduced dynamic log types for DPAA1. There weren't much examples for me to identify 'best practice'. I preferred this toggling so that I can be clear about when debugging is truly disabled.