From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from NAM03-BY2-obe.outbound.protection.outlook.com (mail-by2nam03on0073.outbound.protection.outlook.com [104.47.42.73]) by dpdk.org (Postfix) with ESMTP id E0A711B015; Fri, 22 Dec 2017 07:51:32 +0100 (CET) Received: from BLUPR0301CA0009.namprd03.prod.outlook.com (10.162.113.147) by CY1PR03MB2363.namprd03.prod.outlook.com (10.166.207.150) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P256) id 15.20.323.15; Fri, 22 Dec 2017 06:51:31 +0000 Received: from BL2FFO11FD055.protection.gbl (2a01:111:f400:7c09::185) by BLUPR0301CA0009.outlook.office365.com (2a01:111:e400:5259::19) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384) id 15.20.345.14 via Frontend Transport; Fri, 22 Dec 2017 06:51:30 +0000 Authentication-Results: spf=fail (sender IP is 192.88.168.50) smtp.mailfrom=nxp.com; intel.com; dkim=none (message not signed) header.d=none;intel.com; dmarc=fail action=none header.from=nxp.com; Received-SPF: Fail (protection.outlook.com: domain of nxp.com does not designate 192.88.168.50 as permitted sender) receiver=protection.outlook.com; client-ip=192.88.168.50; helo=tx30smr01.am.freescale.net; Received: from tx30smr01.am.freescale.net (192.88.168.50) by BL2FFO11FD055.mail.protection.outlook.com (10.173.161.183) with Microsoft SMTP Server (version=TLS1_0, cipher=TLS_RSA_WITH_AES_256_CBC_SHA) id 15.20.302.6 via Frontend Transport; Fri, 22 Dec 2017 06:51:16 +0000 Received: from [10.232.14.39] ([10.232.14.39]) by tx30smr01.am.freescale.net (8.14.3/8.14.0) with ESMTP id vBM6pSra027460; Thu, 21 Dec 2017 23:51:28 -0700 To: Ferruh Yigit , Hemant Agrawal CC: , References: <20171222021316.52433-1-ferruh.yigit@intel.com> From: Shreyansh Jain Message-ID: Date: Fri, 22 Dec 2017 12:35:27 +0530 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.5.0 MIME-Version: 1.0 In-Reply-To: <20171222021316.52433-1-ferruh.yigit@intel.com> Content-Type: text/plain; charset="utf-8"; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit X-EOPAttributedMessage: 0 X-Matching-Connectors: 131583990763941086; (91ab9b29-cfa4-454e-5278-08d120cd25b8); () X-Forefront-Antispam-Report: CIP:192.88.168.50; IPV:NLI; CTRY:US; EFV:NLI; SFV:NSPM; SFS:(10009020)(7966004)(336005)(396003)(376002)(39860400002)(39380400002)(346002)(2980300002)(1110001)(1109001)(3190300001)(339900001)(199004)(189003)(24454002)(31696002)(53936002)(67846002)(31686004)(106466001)(50466002)(498600001)(8656006)(230700001)(36756003)(305945005)(5660300001)(65826007)(105606002)(76176011)(2906002)(6246003)(97736004)(8936002)(65956001)(65806001)(68736007)(8676002)(81166006)(47776003)(6636002)(2950100002)(58126008)(4326008)(23676004)(54906003)(110136005)(83506002)(85426001)(2486003)(104016004)(316002)(229853002)(356003)(86362001)(64126003)(77096006)(81156014); DIR:OUT; SFP:1101; SCL:1; SRVR:CY1PR03MB2363; H:tx30smr01.am.freescale.net; FPR:; SPF:Fail; PTR:InfoDomainNonexistent; A:1; MX:1; LANG:en; X-Microsoft-Exchange-Diagnostics: 1; BL2FFO11FD055; 1:cbe+fliUbYhKWFwHv2iZMQqJFpYCr9R2rSG6Wrn+eR9kK8MKo1kzD1AsGcOOn9qi0vt1UmPi4UkoUAM+lJ9N4RXhR6S6O0U/rj6Jx3PXAJMmz/GE8OVgSoiTci2QC6EX X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: af2f8c3b-a9e3-4fa0-ecde-08d549086613 X-Microsoft-Antispam: UriScan:; BCL:0; PCL:0; RULEID:(5600026)(4604075)(4534020)(4628075)(201703131517081)(2017052603307); SRVR:CY1PR03MB2363; X-Microsoft-Exchange-Diagnostics: 1; CY1PR03MB2363; 3:IB8g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HPgQgeNJnXMjb1Goi03QBBMyqtyEEGgLc/pkIqqWkJgtOKjXNlVbuFDlxrQocULRGL/7ULJf0hYmIbTLJR0DCPBJmK7k8GPJTaRD3ecquYwQEqz8N1jKnY1pzyM7ypmuhK72ZjDBuc43jy3j/FNcdVE2T34QNToOMB/JPEDCyAjO12fCyKmCim0mKiFrJuQMw34oEb5sattdOHOirPsC8n5JEji3ZT2CPYKYvRxZM4a7/pG2LPUT1gz66+5DeAv7tfqdUCodwijmx/xmpzCk0bdP7l2UtS1jYPuDCvd4THxoV2HsqEgaVV5o= X-Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-Test: UriScan:(185117386973197)(228905959029699); X-Exchange-Antispam-Report-CFA-Test: BCL:0; PCL:0; RULEID:(6095135)(2401047)(8121501046)(5005006)(10201501046)(3231023)(93006095)(93001095)(3002001)(6055026)(6096035)(20161123559100)(20161123565025)(20161123556025)(20161123561025)(20161123563025)(201703131430075)(201703131433075)(201703131441075)(201703131448075)(201703161259150)(201708071742011); SRVR:CY1PR03MB2363; BCL:0; PCL:0; RULEID:(100000803101)(100110400095)(400006); SRVR:CY1PR03MB2363; X-Forefront-PRVS: 05299D545B X-Microsoft-Exchange-Diagnostics: =?utf-8?B?MTtDWTFQUjAzTUIyMzYzOzIzOkRVZFN0d3A1anhub0N5bEtCRTRIUERmcWpD?= =?utf-8?B?SEQrQjJIOU5lU2Q2SWNQTnY5c09tc3lHeXBvNFF6NnU0d3hxRVIwVjFrd25V?= =?utf-8?B?RCtRSUdBeWI3akFlaGtOR1FucS9nZ3JSSjVvWXBHWU1KUFVJVkE0cFVFbzkr?= =?utf-8?B?NUVRRU5ST2grWlF1MmNIcTBBV3dlQUorT2NvZzBYbmRPK0w2RUVjdTN3NjVY?= =?utf-8?B?M0YrWWxuTXBDNlFidnFYY2lZenY1ejFTb3pVbEMxeU1HejllL1ZqWTlsRUIv?= =?utf-8?B?V3hmVWFyTDVXY2hSWUlrOE1XYWlwT1JyMlpNOVpxMVd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jqHxiw/2UYlFZGOp/hpwGDq7Pb7oRPVIR8rmHEHSp+566x9t0k+j7Q9BAuUbx9b9VPGQgG5HFy3S2JkcmjtT7aKJ9Jd8SJsJHOYoCoTLE=; 5:5oFqpkLKUThPTzexjMMy/oiCS0WshvnTDeri2tcH0Hs1+fiQM2n1zhG/bwuqidQjGZ0Vxii9IHU8FjITXVKJH1YLXeM6KiGlLeBhkmmwKjSEUBD7P5OV8elSlgKNZr3oEdb1kYX2ErkJJW2p/+Ca5T9aHx0sRZTbbryMt8mqFfM=; 24:K2iqXZdyqjT232HqJJucnrhHT6jpPP0PLaMHUpxgNhcs0rgd1OC1YsarezAMbERiNe6V/ujPMXU/cd1N+Mm2+ZkxUJh1vjA/uKOqe6rhP3k=; 7:/k2xs+ZUroDLu2og0pJrhYYimKeP0RYiFjALzjMSAEkoOUr1AXLln9f5kUDiSjfRr8p0o8FhW8A1VXm3R5GzbA7u+ZPC/4B4Hfa7V6QbFqSndb+wpekiAMtObcHxUs0XLz0pbUudqaYKFlpvZpDiHNPvjtWTmS7kZ9laVZQ/E87unVOLcBYi5yNRsO7SakAs/H17E+CB+qAq2qHopsPB5ID5jko6gjZvMohH585TeVyKRaXPPqLo8b/r15FZo9mK SpamDiagnosticOutput: 1:99 SpamDiagnosticMetadata: NSPM X-MS-Exchange-CrossTenant-OriginalArrivalTime: 22 Dec 2017 06:51:16.2381 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: af2f8c3b-a9e3-4fa0-ecde-08d549086613 X-MS-Exchange-CrossTenant-Id: 5afe0b00-7697-4969-b663-5eab37d5f47e X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp: TenantId=5afe0b00-7697-4969-b663-5eab37d5f47e; Ip=[192.88.168.50]; Helo=[tx30smr01.am.freescale.net] X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: CY1PR03MB2363 Subject: Re: [dpdk-dev] [PATCH] bus/dpaa/base: fix build when assert enabled X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 22 Dec 2017 06:51:33 -0000 On Friday 22 December 2017 07:43 AM, Ferruh Yigit wrote: > Enabling CONFIG_RTE_ENABLE_ASSERT cause build error because some fields > protected by RTE_LIBRTE_DPAA_HWDEBUG macro accessed within DPAA_ASSERT. > > All DPAA_ASSERT macro usage causing the build error wrapped with > RTE_LIBRTE_DPAA_HWDEBUG macro. > > Fixes: f38f61e982f8 ("bus/dpaa: add BMAN hardware interfaces") > Fixes: c47ff048b99a ("bus/dpaa: add QMAN driver core routines") > Cc: shreyansh.jain@nxp.com > Cc: stable@dpdk.org > > Signed-off-by: Ferruh Yigit > --- > In near future, I will find a better way to have HWDEBUG. But, until that time, we can go with this patch. Ferruh, thanks for doing this. Acked-by: Shreyansh Jain