From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from dpdk.org (dpdk.org [92.243.14.124]) by inbox.dpdk.org (Postfix) with ESMTP id 6F60CA046B for ; Thu, 25 Jul 2019 08:04:43 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id EE09D1C0C2; Thu, 25 Jul 2019 08:04:41 +0200 (CEST) Received: from EUR04-DB3-obe.outbound.protection.outlook.com (mail-eopbgr60062.outbound.protection.outlook.com [40.107.6.62]) by dpdk.org (Postfix) with ESMTP id 384CE1BE37 for ; Thu, 25 Jul 2019 08:04:40 +0200 (CEST) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=DHJfozT3zIHYsCrReYkwgdmM4NEi6UH7PHp6NvDjBxSunW2CGIsYh+lsrSV1uFH4RucLU67nwgo+Pg0I6S8XQbWiVNo1c2kiYaeo4OrCEPFSo6gWV8bTKByZflny+BkFEPdtVDpkSRyq2nIY85PBQojaXsJ3GfZYHDFFSVTsrNvffv1DTllr+D5UCivfLqmdfzpCEd5+BVGAIaxSuxw2cOyTDfzrtQ3QQIcgvlP8iPDY1cu/PuMPrXbTC6xf3uLS19UntffdlJjn64cdMQRG1Omd50fCZX0rNWA9VIzdo3w9R+80lniY2O7wE8rxOMhDryLV/vPuwt1gCsp+sf7Q+w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=Ql1RdgZ/YD/ErnjPrPGGqQHTpimldsLWn3a9I9SVjuY=; b=CxFenDlTtN/c+yxailfklGu81KpiNEYAoveuoWeX9isj67d23qzw2PHoSd8V64Of44bcj/t2vtuql1vVIL0RxkAWzOiiFJ//B8toFTy5LTr8zYkVTywhoL68iZUI3EUEmp9Gclb1GYYFKSe1lEhz03DAWiaorKwzJy1Ik/w8m32+zJ04gHqbW8QclZb7JjkT6S2QO6MiqCxkzogOMhu8fFcsYx2+dfikQ8l+Pb2zYVjJqlllR4dwabhn47V1AYJwYB2I29aHEvEfTeFT0Rbh9raW77bEkU1JN8qyHOSzfGiyVhPGxNSxevQPop6rjfg3+818WNxBY8/ef4JHrLsCuQ== ARC-Authentication-Results: i=1; mx.microsoft.com 1;spf=pass smtp.mailfrom=nxp.com;dmarc=pass action=none header.from=nxp.com;dkim=pass header.d=nxp.com;arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nxp.com; s=selector2; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=Ql1RdgZ/YD/ErnjPrPGGqQHTpimldsLWn3a9I9SVjuY=; b=lztcS2nPrqcWTSIIUQsBXtlpAVMH2heAV3P3/3uvft3lnIwTg8CSFvfFLy6o3XPH9WKMflpHcgRmcy/wxQL15vZF4MkmE2DiHa7utNhEKUTRsDIEn1qp38wI+osEUUQjx7X4fCx68uLT8SBIWiUovGz/RmS6AbcVbPujrFRbLIA= Received: from VI1PR0401MB2541.eurprd04.prod.outlook.com (10.168.62.139) by VI1PR0401MB2671.eurprd04.prod.outlook.com (10.168.64.138) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2094.16; Thu, 25 Jul 2019 06:04:38 +0000 Received: from VI1PR0401MB2541.eurprd04.prod.outlook.com ([fe80::fc95:c275:6483:e490]) by VI1PR0401MB2541.eurprd04.prod.outlook.com ([fe80::fc95:c275:6483:e490%2]) with mapi id 15.20.2115.005; Thu, 25 Jul 2019 06:04:38 +0000 From: Hemant Agrawal To: Matan Azrad , Stephen Hemminger CC: Sachin Saxena , "dev@dpdk.org" Thread-Topic: [dpdk-dev] [Bug 335] Compilation fails when HEADROOM is 0 Thread-Index: AQHVQjVR2TOjNPRo2UuIUvj5l8ZqgKbZ5wkAgAAM+ICAAASKAIAA4Hhg Date: Thu, 25 Jul 2019 06:04:38 +0000 Message-ID: References: <20190724092405.7d2405a8@hermes.lan> In-Reply-To: Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: authentication-results: spf=none (sender IP is ) smtp.mailfrom=hemant.agrawal@nxp.com; x-originating-ip: [92.120.0.5] x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: 6c22d85c-0d2e-4ad7-8f3e-08d710c5f9dd x-ms-office365-filtering-ht: Tenant x-microsoft-antispam: BCL:0; PCL:0; RULEID:(2390118)(7020095)(4652040)(8989299)(4534185)(4627221)(201703031133081)(201702281549075)(8990200)(5600148)(711020)(4605104)(1401327)(4618075)(2017052603328)(7193020); SRVR:VI1PR0401MB2671; x-ms-traffictypediagnostic: VI1PR0401MB2671: x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:8273; x-forefront-prvs: 0109D382B0 x-forefront-antispam-report: SFV:NSPM; SFS:(10009020)(4636009)(376002)(39860400002)(346002)(136003)(396003)(366004)(13464003)(199004)(189003)(6246003)(486006)(64756008)(54906003)(6116002)(476003)(76116006)(33656002)(66476007)(66446008)(11346002)(66066001)(446003)(229853002)(6306002)(9686003)(55016002)(3846002)(66556008)(316002)(110136005)(44832011)(66946007)(71200400001)(81166006)(81156014)(71190400001)(76176011)(7696005)(2906002)(53936002)(86362001)(74316002)(8936002)(68736007)(8676002)(478600001)(305945005)(53546011)(186003)(4326008)(25786009)(5660300002)(102836004)(14454004)(99286004)(26005)(6506007)(256004)(52536014)(6436002)(966005)(7736002); DIR:OUT; SFP:1101; SCL:1; SRVR:VI1PR0401MB2671; H:VI1PR0401MB2541.eurprd04.prod.outlook.com; FPR:; SPF:None; LANG:en; PTR:InfoNoRecords; A:1; MX:1; received-spf: None (protection.outlook.com: nxp.com does not designate permitted sender hosts) x-ms-exchange-senderadcheck: 1 x-microsoft-antispam-message-info: fLNqqexnWRI/qLV6gZGgtvnfCDzebVOGKgg/glPqwRo5aL/SvENR/5xedojPGpNAnavV1v4S9SE0q12mzS+QARfDc0bw3U1/tGd16Y2gteYIC4U22O2EElchmjYf9sFc+gW+jdgT3Hb9HosURK6skP827muQGAGrdtml3M0P1uZzN2OF8tvGyxp8OxHLgFp/On8geuibYYlUEMy+/jqRpejn291HIyrmHjprHOwGeLCCX9Su9Rdhp3fA9l2GJEwyJeRnr8/yvudWQOZtBFOksUVVLJs4dSIeD1rZ8kdhvokAQnQaIooZL7SGCklsyYHkpUGj6Ms0TcK0lOjuy7anajsPHW9gB1vOVMNhAOHy+/0PPNwhioX8hZRcynLgCiNm06d3ON7zdBYRLT1Ps0Z1EbysdvHqW5D7DVv8kL5kKVM= Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: 6c22d85c-0d2e-4ad7-8f3e-08d710c5f9dd X-MS-Exchange-CrossTenant-originalarrivaltime: 25 Jul 2019 06:04:38.1522 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 686ea1d3-bc2b-4c6f-a92c-d99c5c301635 X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-CrossTenant-userprincipalname: hemant.agrawal@nxp.com X-MS-Exchange-Transport-CrossTenantHeadersStamped: VI1PR0401MB2671 Subject: Re: [dpdk-dev] [Bug 335] Compilation fails when HEADROOM is 0 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: , Errors-To: dev-bounces@dpdk.org Sender: "dev" HI Matan, > > On Wed, 24 Jul 2019 15:37:40 +0000 > > Matan Azrad wrote: > > > > > Hi Hemant, Sachin > > > > > > Looks like issue in dpaa. > > > Please check. > > > > > > > -----Original Message----- > > > > From: dev On Behalf Of bugzilla@dpdk.org > > > > Sent: Wednesday, July 24, 2019 6:35 PM > > > > To: dev@dpdk.org > > > > Subject: [dpdk-dev] [Bug 335] Compilation fails when HEADROOM is 0 > > > > > > > > https://bugs. > > > > > > > dpdk.org%2Fshow_bug.cgi%3Fid%3D335&data=3D02%7C01%7Cmatan%40 > > > > > > > mellanox.com%7Cef4c519dd7b1495178f808d7104c7400%7Ca652971c7d2e4d > 9 > > > > > > > ba6a4d149256f461b%7C0%7C0%7C636995792862104273&sdata=3DDrdcC > J > > > > > > > mYUMZxk3j%2F%2BxPlqXMOAb9GDNBPzSNzpifzcMU%3D&reserved=3D0 > > > > > > > > Bug ID: 335 > > > > Summary: Compilation fails when HEADROOM is 0 > > > > Product: DPDK > > > > Version: unspecified > > > > Hardware: All > > > > OS: All > > > > Status: UNCONFIRMED > > > > Severity: normal > > > > Priority: Normal > > > > Component: ethdev > > > > Assignee: dev@dpdk.org > > > > Reporter: matan@mellanox.com > > > > Target Milestone: --- > > > > > > > > The compilation error: > > > > In file included from > > > > > > > /auto/mtrswgwork/matan/reps/matan_rep/dpdk.org/drivers/bus/fslmc/po > > > > rtal/dpaa2_hw_dpbp.c:28:0: > > > > > > > /auto/mtrswgwork/matan/reps/matan_rep/dpdk.org/drivers/bus/fslmc/po > > > > rtal/dpaa2_hw_pvt.h:76:2: > > > > error: #error "Annotation requirement is more than > > > > RTE_PKTMBUF_HEADROOM" > > > > #error "Annotation requirement is more than > > RTE_PKTMBUF_HEADROOM" > > > > ^ > > > > cc1: error: unrecognized command line option > > > > "-Wno-address-of-packed- member" > > > > [-Werror] > > > > cc1: all warnings being treated as errors > > > > make[6]: *** [portal/dpaa2_hw_dpbp.o] Error 1 > > > > make[6]: *** Waiting for unfinished jobs.... > > > > In file included from > > > > > > > /auto/mtrswgwork/matan/reps/matan_rep/dpdk.org/drivers/bus/fslmc/po > > > > rtal/dpaa2_hw_dpio.c:37:0: > > > > > > > /auto/mtrswgwork/matan/reps/matan_rep/dpdk.org/drivers/bus/fslmc/po > > > > rtal/dpaa2_hw_pvt.h:76:2: > > > > error: #error "Annotation requirement is more than > > > > RTE_PKTMBUF_HEADROOM" > > > > #error "Annotation requirement is more than > > RTE_PKTMBUF_HEADROOM" > > > > ^ > > > > cc1: error: unrecognized command line option > > > > "-Wno-address-of-packed- member" > > > > [-Werror] > > > > cc1: all warnings being treated as errors > > > > make[6]: *** [portal/dpaa2_hw_dpio.o] Error 1 In file included > > > > from > > > > > > > /auto/mtrswgwork/matan/reps/matan_rep/dpdk.org/drivers/bus/fslmc/po > > > > rtal/dpaa2_hw_dpci.c:26:0: > > > > > > > /auto/mtrswgwork/matan/reps/matan_rep/dpdk.org/drivers/bus/fslmc/po > > > > rtal/dpaa2_hw_pvt.h:76:2: > > > > error: #error "Annotation requirement is more than > > > > RTE_PKTMBUF_HEADROOM" > > > > #error "Annotation requirement is more than > > RTE_PKTMBUF_HEADROOM" > > > > ^ > > > > cc1: error: unrecognized command line option > > > > "-Wno-address-of-packed- member" > > > > [-Werror] > > > > cc1: all warnings being treated as errors > > > > make[6]: *** [portal/dpaa2_hw_dpci.o] Error 1 In file included > > > > from > > > > > > > /auto/mtrswgwork/matan/reps/matan_rep/dpdk.org/drivers/bus/fslmc/fsl > > > > mc_vfio.c:40:0: > > > > > > > /auto/mtrswgwork/matan/reps/matan_rep/dpdk.org/drivers/bus/fslmc/po > > > > rtal/dpaa2_hw_pvt.h:76:2: > > > > error: #error "Annotation requirement is more than > > > > RTE_PKTMBUF_HEADROOM" > > > > #error "Annotation requirement is more than > > RTE_PKTMBUF_HEADROOM" > > > > ^ > > > > > > > > -- > > > > You are receiving this mail because: > > > > You are the assignee for the bug. > > > > It seems reasonable for a driver to require headroom to store extra > > data in receive buffer. It should be documented though. >=20 > Yes. >=20 > But if so, this driver should not be compiled by default, or change to ra= ise > run-time error instead. >=20 > What do you think? [Hemant] We will change it to run-time error.