From mboxrd@z Thu Jan 1 00:00:00 1970 From: Shreyansh Jain Subject: Re: [PATCH v4 11/41] bus/dpaa: add QMan driver core routines Date: Thu, 28 Sep 2017 17:15:56 +0530 Message-ID: <4d0e7de5-efeb-3527-9517-292335b8752a@nxp.com> References: <20170823141213.25476-1-shreyansh.jain@nxp.com> <20170909112132.13936-1-shreyansh.jain@nxp.com> <20170909112132.13936-12-shreyansh.jain@nxp.com> Mime-Version: 1.0 Content-Type: text/plain; charset="utf-8"; format=flowed Content-Transfer-Encoding: 8bit Cc: , To: Ferruh Yigit Return-path: Received: from NAM01-SN1-obe.outbound.protection.outlook.com (mail-sn1nam01on0087.outbound.protection.outlook.com [104.47.32.87]) by dpdk.org (Postfix) with ESMTP id D71D9FFA for ; Thu, 28 Sep 2017 13:35:10 +0200 (CEST) In-Reply-To: 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 Tuesday 19 September 2017 07:48 PM, Shreyansh Jain wrote: > On Monday 18 September 2017 08:23 PM, Ferruh Yigit wrote: >> On 9/9/2017 12:21 PM, Shreyansh Jain wrote: >>> Signed-off-by: Geoff Thorpe >>> Signed-off-by: Roy Pledge >>> Signed-off-by: Hemant Agrawal >>> Signed-off-by: Shreyansh Jain >> >> <...> >>> +#ifdef RTE_LIBRTE_DPAA_CHECKING >> >> This is not defined anywhere, it looks this will come from config file >> in further patches, config file update can be moved to this patch. > > Its more of a debugging macro and it was introduced in later patches. > Not that I see any reason why it can't be introduced here. I will fix this. > >> >>> +    eqcr->busy = 0; >>> +    eqcr->pmode = pmode; >>> +#endif >> In the v5, taking cue from yours and Thomas' comments, I have removed a few debugging macros and combined a couple. I have also changed this to "HWDEBUG" and documented this. This macro is necessary for enabling some internally debugging configurations (like error queues).