From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id 5FFB6A00C3; Tue, 1 Feb 2022 10:34:50 +0100 (CET) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id C462340691; Tue, 1 Feb 2022 10:34:49 +0100 (CET) Received: from EUR02-HE1-obe.outbound.protection.outlook.com (mail-eopbgr10053.outbound.protection.outlook.com [40.107.1.53]) by mails.dpdk.org (Postfix) with ESMTP id EFEFA40685 for ; Tue, 1 Feb 2022 10:34:48 +0100 (CET) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=C3dSqruorIfYo5IFY4Ks09krsCBGuT/z34QHxEOvv+xuoIo4BjqQEZeKtq8rL2OutGLAleYDYKxfK93OtpH7oWPvLJnJRn7RWUalpir7dJmrz12mK2TUkAaDaHJpM4kxk88a2QWStBXBXuNvEbGUfuXSQ7HLq5raS4R3PAdw8OopFihGdWRp7Ypw/ydDkQYcXiz5/HFSt9fN2TLmQF5wdezIvKVTsSblW5PcIZ0ufJb/xONSTYgsO4l1f8LkunrXS3jgteEAGmqrwb8sQ6sSiT3KlxnEqgpzzDx19YNuVtcebjz52T9YnOniISsig+EHxJiOuRXhV8RZy/+ZH6nFxg== 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-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=/6+w1YnxaZETIyWCqdHKWGok+bq1FaJBKuPlodng1dI=; b=nO4Wg0CFyHZwsru4eodeZX+u/7Ujf8KYPWA6p+iP/T60upPoPHNngvux3+VCN1/4frkUmYCCP53x7i/o9UnRXmXMe4mZ49FYJtfHT33kqL7SkOs3wWpWKEBRaPcfdmmEgtEIc5rlrloaOZWOsNf/qgupHQZfF7QDErptFabWH9w6ShIYOA8DSQrAY238F7Gv1mwlU1jCwagDs7bEBkYCQiscFhByCGY58vYeI9idhmjt8T0VTchzqxRDWedArTYH51RoHeGEux11OLsUfoG7CAg2ZoyS/87Tx7DuJsQFlVuL7GFwJjY8ekugHO78Am9ay2qcchcyN0D758VnsY055A== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=none; dmarc=none; dkim=none; 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=/6+w1YnxaZETIyWCqdHKWGok+bq1FaJBKuPlodng1dI=; b=mdSmmlZcbG2nGqtQh9WrBOfzdObY/2Lc5jx8O/bzISdeX8cVnZKLzXc/MDFjslhMkPCzgwNrC/zf+GmQrZV5nbFZGk7BZeZKNYczgqPFzT+UmROQ+B5Nl34obhh97g+yRZFEp6U12uyrQeNdqQxGW2bop8B29Ew9hTKHD9Ty75w= Received: from DB9PR04MB8429.eurprd04.prod.outlook.com (2603:10a6:10:24e::23) by PR3PR04MB7307.eurprd04.prod.outlook.com (2603:10a6:102:84::15) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4930.20; Tue, 1 Feb 2022 09:34:47 +0000 Received: from DB9PR04MB8429.eurprd04.prod.outlook.com ([fe80::ddab:6e8:fc04:389d]) by DB9PR04MB8429.eurprd04.prod.outlook.com ([fe80::ddab:6e8:fc04:389d%4]) with mapi id 15.20.4930.022; Tue, 1 Feb 2022 09:34:47 +0000 From: Nipun Gupta To: David Marchand , Jun Yang CC: dev , Thomas Monjalon , "Yigit, Ferruh" , Hemant Agrawal , Stephen Hemminger Subject: RE: [PATCH v3 10/15] net/dpaa2: support recycle loopback port Thread-Topic: [PATCH v3 10/15] net/dpaa2: support recycle loopback port Thread-Index: AQHYAIkJttEFgwTZKUSs+s+GT0Rn/Kx+muCAgAABaHA= Date: Tue, 1 Feb 2022 09:34:47 +0000 Message-ID: References: <20211206121824.3493-1-nipun.gupta@nxp.com> <20220103100129.23965-1-nipun.gupta@nxp.com> <20220103100129.23965-11-nipun.gupta@nxp.com> In-Reply-To: Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: authentication-results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=nxp.com; x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: 105cc9a4-28b7-4a1a-8df8-08d9e5661662 x-ms-traffictypediagnostic: PR3PR04MB7307:EE_ x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:2399; x-ms-exchange-senderadcheck: 1 x-ms-exchange-antispam-relay: 0 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: ZzmrhrtyOVJ8F0sRXPOiI8HCFMCMP+yKMKZZKdrKppVcNe8+apV+DsznHxKVW+CqNDtJZDhYskCWzLG74djpuMf9+c2uhHP+gwbZ4+naIKWNb9wzvAXxcFasI5tpIffuSbaemPjNsTWF9jV4s3ojnhvbVtSYXkOJhP15anpv+3eO0m8FihmcM4lYf404O6Fxe3BAtGyVKfKTJ/XTeRQQs9JTFHoxnSh5i64lIybb5llG08FvBU8DCo+o+4ipKWTY4H5J/qeMEcDU2BLpiTRvmQx7PYbpVIhZ9hiK+xY82FKmmmUSX3lglzr/fS2t7Dkqlf3tLdOb/vARuQSErDLCQ2Yiu/5Tbd7zV2XN/2i23u8BgRNWn/2t8vloXxz7uOizO3vRdqdus6bjNQLhtqVowT3+vEulqHirdU9sKYT1y6YphS1hfhR1uMxaq/x2oFy+3ogtpWfJ3RWW2Wsvkr3AtCUlecAQfLqi60LSqZRKfxrj+Ge5HPnoR3N0dgzHOUEKOZM6RMR4tOM2255+7YB83yyuASGXbSjz71NwubRfBtmehU39f3a//anu0ZsIHdj4P91b44RqfRitmjVlsJJ86J2saRpqPFWCXidQO0nY8i/t+S4x+2VUwMG7vuxuDRY7C39ORcq3dVKjbZNvtUnzS8quNlEh6U3NVWwK9L/QEOOgO259GcalQKTqLRXhrZe7PriQcShl2PvTlt0EzGJu8w== x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:DB9PR04MB8429.eurprd04.prod.outlook.com; PTR:; CAT:NONE; SFS:(13230001)(4636009)(366004)(64756008)(45080400002)(44832011)(53546011)(55236004)(66946007)(76116006)(52536014)(5660300002)(8676002)(122000001)(66556008)(8936002)(6506007)(2906002)(9686003)(66476007)(66446008)(4326008)(7696005)(55016003)(38100700002)(86362001)(38070700005)(83380400001)(966005)(110136005)(54906003)(186003)(316002)(71200400001)(26005)(6636002)(508600001)(33656002)(20210929001); DIR:OUT; SFP:1101; x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?us-ascii?Q?QF5aFHZexricVMdkeEzdv7DU9HEHvQJ+dEK/qJXAaXQ4T/v6qbJaTXgfyXUR?= =?us-ascii?Q?d+aR/3iH7gAnobe5spiJqrDwrnirnLNJLqR6ChjXLjqF5tOcLZsMzSwBGlME?= =?us-ascii?Q?vY30OfBa1/4P0MP5vjgSvT88pk3O4Qwf2RAx7/pfkzUGjq4skJD54CQ5reHO?= =?us-ascii?Q?UPZeliaFaOsH4j0/vmmRSrAk8qfl6cBe4NaN1TqAZpUoH56TIJV5nykfkUBm?= =?us-ascii?Q?BsjxhELSxdkGyeEX26sRmhhdXa4lWG7RJqDNIh5MZBNa2wjjiuVuhfeLmMv3?= =?us-ascii?Q?usAJemiNCg2fXgKdD73JpGy7UNq5Efi6j2k39FQEVpv7MVbz5q0WiUkc4ZBP?= =?us-ascii?Q?wXWlamO9u9fNx7+V7MixyAw2SlMIfE2w2PugSt5+eZkQQgZGMIwQTPt5Do0o?= =?us-ascii?Q?yhgT5n2b3e1sNntqQGWdR7iLA2eCJL4Hc8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oN0Qkv1Bzzutvy1E9hpWQPTaqdhemmDp4gR81DPm?= =?us-ascii?Q?5IweWCVNorUlfS1BKS0RtE8KOk9QldbOw0WGVYfLXpnTGQVSlRxqh69Y+ocv?= =?us-ascii?Q?xdOxYYGhk7jgZka5egXB9YQOl7R7bOVqVttzNTgI9hv45HG1I7L3HrbUTuh7?= =?us-ascii?Q?kdZ210qkrFyBIK0tJiy57HWOgcCwmCxUH1rTWetk4R4Rz6W3S2BDzz+zMGO5?= =?us-ascii?Q?xGcspgWQbDXGtg0iEGxKbNE+lEUq+VGUyRYds5Aw4uw6vpsYUBDyzNBzsRct?= =?us-ascii?Q?o7wUy7wfPdb34xWaSBjgY18=3D?= Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-AuthSource: DB9PR04MB8429.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: 105cc9a4-28b7-4a1a-8df8-08d9e5661662 X-MS-Exchange-CrossTenant-originalarrivaltime: 01 Feb 2022 09:34:47.3837 (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: fpienzW0okA4qAs/CiiYtDAxTuihENVLk30mCpVSCO1qqmOBsr7lZNnLnVoKWTLTCodpiCPtA/fQmWDGZc6kcw== X-MS-Exchange-Transport-CrossTenantHeadersStamped: PR3PR04MB7307 X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Hi David, Sure, we will send a patch asap. Regards, Nipun > -----Original Message----- > From: David Marchand > Sent: 01 February 2022 14:58 > To: Nipun Gupta ; Jun Yang > Cc: dev ; Thomas Monjalon ; Yigit, > Ferruh ; Hemant Agrawal ; > Stephen Hemminger > Subject: Re: [PATCH v3 10/15] net/dpaa2: support recycle loopback port >=20 > Hello guys, >=20 > On Mon, Jan 3, 2022 at 11:02 AM wrote: > > diff --git a/drivers/net/dpaa2/dpaa2_recycle.c > b/drivers/net/dpaa2/dpaa2_recycle.c > > new file mode 100644 > > index 0000000000..e274d24ead > > --- /dev/null > > +++ b/drivers/net/dpaa2/dpaa2_recycle.c > > @@ -0,0 +1,780 @@ > > +/* * SPDX-License-Identifier: BSD-3-Clause > > + * > > + * Copyright 2019-2021 NXP > > + * > > + */ > > + > > +#include > > +#include > > + > > +#include > > +#include > > +#include > > +#include > > +#include > > +#include > > +#include > > +#include > > +#include > > +#include > > + > > +#include "dpaa2_pmd_logs.h" > > +#include > > +#include > > +#include > > +#include > > +#include > > +#include "dpaa2_ethdev.h" > > +#include "dpaa2_sparser.h" > > +#include > > + > > +#include > > +#include > > +#include > > + > > +#define PAGE_SIZE (sysconf(_SC_PAGESIZE)) > > +#define PAGE_MASK (~(PAGE_SIZE - 1)) >=20 > This patch breaks compilation in Alpine Linux in next-net and main reposi= tories. > Can you provide a fix? > Thanks. >=20 >=20 > This was initially reported by UNH: > https://eur01.safelinks.protection.outlook.com/?url=3Dhttp%3A%2F%2Fmails.= dpd > k.org%2Farchives%2Ftest-report%2F2022- > January%2F250111.html&data=3D04%7C01%7Cnipun.gupta%40nxp.com%7C > a8213a91a0014639650d08d9e5652600%7C686ea1d3bc2b4c6fa92cd99c5c3016 > 35%7C0%7C0%7C637793044866714334%7CUnknown%7CTWFpbGZsb3d8eyJWI > joiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C300 > 0&sdata=3Db%2BT8BinlyFWaYSLaaOLtNTN9TA0epJAxN0Si9jbom7I%3D& > ;reserved=3D0 >=20 > FAILED: > drivers/a715181@@tmp_rte_net_dpaa2@sta/net_dpaa2_dpaa2_recycle.c.o > ccache cc -Idrivers/a715181@@tmp_rte_net_dpaa2@sta -Idrivers > -I../drivers -Idrivers/net/dpaa2 -I../drivers/net/dpaa2 > -I../drivers/net/dpaa2/base -I../drivers/net/dpaa2/mc -Ilib/ethdev > -I../lib/ethdev -I. -I../ -Iconfig -I../config -Ilib/eal/include > -I../lib/eal/include -Ilib/eal/linux/include > -I../lib/eal/linux/include -Ilib/eal/x86/include > -I../lib/eal/x86/include -Ilib/eal/common -I../lib/eal/common > -Ilib/eal -I../lib/eal -Ilib/kvargs -I../lib/kvargs > -Ilib/telemetry/../metrics -I../lib/telemetry/../metrics > -Ilib/telemetry -I../lib/telemetry -Ilib/net -I../lib/net -Ilib/mbuf > -I../lib/mbuf -Ilib/mempool -I../lib/mempool -Ilib/ring -I../lib/ring > -Ilib/meter -I../lib/meter -Idrivers/bus/pci -I../drivers/bus/pci > -I../drivers/bus/pci/linux -Ilib/pci -I../lib/pci -Idrivers/bus/vdev > -I../drivers/bus/vdev -Idrivers/mempool/dpaa2 > -I../drivers/mempool/dpaa2 -Idrivers/bus/fslmc -I../drivers/bus/fslmc > -I../drivers/bus/fslmc/mc -I../drivers/bus/fslmc/qbman/include > -I../drivers/bus/fslmc/portal -Idrivers/common/dpaax > -I../drivers/common/dpaax -I../drivers/common/dpaax/caamflib > -Ilib/eventdev -I../lib/eventdev -Ilib/hash -I../lib/hash -Ilib/rcu > -I../lib/rcu -Ilib/timer -I../lib/timer -Ilib/cryptodev > -I../lib/cryptodev -fdiagnostics-color=3Dalways -pipe > -D_FILE_OFFSET_BITS=3D64 -Wall -Winvalid-pch -Werror -O3 -include > rte_config.h -Wextra -Wcast-qual -Wdeprecated -Wformat > -Wformat-nonliteral -Wformat-security -Wmissing-declarations > -Wmissing-prototypes -Wnested-externs -Wold-style-definition > -Wpointer-arith -Wsign-compare -Wstrict-prototypes -Wundef > -Wwrite-strings -Wno-address-of-packed-member -Wno-packed-not-aligned > -Wno-missing-field-initializers -Wno-zero-length-bounds -D_GNU_SOURCE > -fPIC -march=3Dnative -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API > -Wno-format-truncation -DRTE_LOG_DEFAULT_LOGTYPE=3Dpmd.net.dpaa2 -MD > -MQ > 'drivers/a715181@@tmp_rte_net_dpaa2@sta/net_dpaa2_dpaa2_recycle.c.o' > -MF > 'drivers/a715181@@tmp_rte_net_dpaa2@sta/net_dpaa2_dpaa2_recycle.c.o.d' > -o > 'drivers/a715181@@tmp_rte_net_dpaa2@sta/net_dpaa2_dpaa2_recycle.c.o' > -c ../drivers/net/dpaa2/dpaa2_recycle.c > ../drivers/net/dpaa2/dpaa2_recycle.c:35: error: "PAGE_SIZE" redefined [-W= error] > 35 | #define PAGE_SIZE (sysconf(_SC_PAGESIZE)) > | > In file included from /usr/include/fortify/stdlib.h:29, > from ../lib/eal/include/rte_common.h:20, > from ../lib/mbuf/rte_mbuf.h:36, > from ../drivers/net/dpaa2/dpaa2_recycle.c:10: > /usr/include/limits.h:97: note: this is the location of the previous defi= nition > 97 | #define PAGE_SIZE PAGESIZE > | > cc1: all warnings being treated as errors >=20 >=20 >=20 > -- > David Marchand