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 50EFFA0545; Sun, 28 Aug 2022 13:59:35 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id DE50E40696; Sun, 28 Aug 2022 13:59:34 +0200 (CEST) Received: from mx0b-0016f401.pphosted.com (mx0a-0016f401.pphosted.com [67.231.148.174]) by mails.dpdk.org (Postfix) with ESMTP id 6395E40685; Sun, 28 Aug 2022 13:59:33 +0200 (CEST) Received: from pps.filterd (m0045849.ppops.net [127.0.0.1]) by mx0a-0016f401.pphosted.com (8.17.1.5/8.17.1.5) with ESMTP id 27SA5WU1011877; Sun, 28 Aug 2022 04:59:28 -0700 Received: from nam10-bn7-obe.outbound.protection.outlook.com (mail-bn7nam10lp2102.outbound.protection.outlook.com [104.47.70.102]) by mx0a-0016f401.pphosted.com (PPS) with ESMTPS id 3j7gmqum06-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Sun, 28 Aug 2022 04:59:28 -0700 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=jONMoCbelUSLScRPj8wl9WHHFBcAZNHmY5JcBAM6AoXbnH7+SDC/Kjj9KV6/qIG7c0N9rJptEEMDw5+VPgJqNWzb6qK2GlzY7/JyyCj0QpYA9+ahkzClhkB9UEW8VHG8mGnAoVXDqTOjtumXzartwjw9GuhNLzbWbqd5byC+AuWaVJYuWAWVaxmadPUC3dOH5PMeC7xJvsnCgWNlth2nu14OxYEVBQtD1Wa4ykdtF2etjG5HIut5E3ugxMw/Rrc+SCazyWt2ZbrBrZZHokPA2l4W+eXdxSelw1O7uYGHLYkR5r7IHyvV+9aShN7UkEnKi9w08fdS2C3IXfmtbrbzMA== 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=1KOFRpBMvXxsYelftyPJhW/l0/8jCLxK9jf2NkgP0fs=; b=l7oVKYiMWp2buYW7wDYKAt3vhaYVWDovDuoshJK4JUVtzJSxWFziiWvMMa62Fiyly+9kX3LMD0fZ0o8mGGiFs9aFGmLdVoHoI/sKzKidINxpkOk0hkifMN7NzHc7oTVMcly316KXTiI98Ol77y3mXIkWZhtJt/jWO3ekuuUfnferAatLf3uNA1dPTjS234m2vbd71s0EFUMFDJE8+mgO1/31Kmwg62LQE7Pg06xBf6G6XCKI7lka6PZYtggcHd7ooA2Kg76J+o6vatljlS2+IKoGp5gNpmQMtTAjDvbB6nm0t2t7/VmdpeGtCJ0x2590aq9mkmtzNH97KheeeSqrhw== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=marvell.com; dmarc=pass action=none header.from=marvell.com; dkim=pass header.d=marvell.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=marvell.onmicrosoft.com; s=selector1-marvell-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=1KOFRpBMvXxsYelftyPJhW/l0/8jCLxK9jf2NkgP0fs=; b=P49RX2zxeQ7vGtBcrWkrsw0FSml7f4vsao+A6EDG8QoofxxqwbWkB9IMFoPNn81kvLFZatcayJKe4PfObTonAQdTt+QZ3j9V/JmAwWAeGOsFKxF9fL2ifzjcLxkq0OeYfXOPWGZWnH5+lSJsbb1+WI1eUBqBoQD5Ga8qRvetgAQ= Received: from CO6PR18MB4484.namprd18.prod.outlook.com (2603:10b6:5:359::9) by DM6PR18MB3739.namprd18.prod.outlook.com (2603:10b6:5:c4::12) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5566.21; Sun, 28 Aug 2022 11:59:25 +0000 Received: from CO6PR18MB4484.namprd18.prod.outlook.com ([fe80::b0e9:25a1:1aea:4382]) by CO6PR18MB4484.namprd18.prod.outlook.com ([fe80::b0e9:25a1:1aea:4382%8]) with mapi id 15.20.5566.021; Sun, 28 Aug 2022 11:59:24 +0000 From: Akhil Goyal To: Amit Prakash Shukla , Radu Nicolau , Ruifeng Wang CC: "dev@dpdk.org" , Jerin Jacob Kollanukkaran , "stable@dpdk.org" , Amit Prakash Shukla Subject: RE: [PATCH] examples/ipsec-secgw: compilation fix for GCC-12 Thread-Topic: [PATCH] examples/ipsec-secgw: compilation fix for GCC-12 Thread-Index: AQHYt8DKcQh43KKCHE2ZZqZZbaiRUa3EO5sg Date: Sun, 28 Aug 2022 11:59:24 +0000 Message-ID: References: <20220824135230.2581478-1-amitprakashs@marvell.com> In-Reply-To: <20220824135230.2581478-1-amitprakashs@marvell.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: 711027a9-1549-4e1c-e659-08da88ecc056 x-ms-traffictypediagnostic: DM6PR18MB3739:EE_ x-ms-exchange-senderadcheck: 1 x-ms-exchange-antispam-relay: 0 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: gUc1OrcWviQyyx3oNfVr6dWB4DnDmDmKms9z8jJKmNnKZ5nVrlGAzSECni9hAg7Lwkst7QqxfhboXwQRqtXK/fuTwpWeDjx9tnaC9FDNrD+BsbogT9WlLFsBZKUQxauv4EBeJTCBy9dSJqDBpOv3CJcYN7Oex38+vaDi7tr9Q5cAx8T4T6/QPHC8Sub+ueyjNFqXAKsDlEfrsTN6rl0VXlI286pdPFrrSb3eb0UorrMkT4Osnmc7PLtETcFxVkyb6jqrduloy07c6fBq/ybNhB+PXu/88xPnCMDt9v+wuJNYr2JwnWcprzqUnpFMO4J0UjEvaxQJ2qt2/gmAxz98qlLbRPlVoxn8a8Hem+vEsyjLxAY3OFxAL9bOSJCxFfbAc4KsOOknVi5KaFW3DeVaQFfFAYsy0jqdRAXhnLvLJgYOFraThUrJiicnylV6DIPW9LIBHnzqbHd/JJkpI7oTkFNgWb9gKRko6b1cgnyVHDJnkDuXuYA+gaacZMRP8hRChlm+5Cn/O8nt7TmtySaO1vkUpPJo8UOpG40B2RbgKnnF6TFBfI3orih72eZc1H/L1r718/pqJaZQsjUT2CSl9RdpfUNEu9sIIVKt5CXi/mUKOK4AieQFTRe9J7O9BIrvWFspOuBZoo3eM9O4sFCNk/VZk1fRhPJx5s2+4Rznv2YasB5LOkdTs2H+cTn/1o5lQKcnp0idNQxqD02GeUbCDB3p1BUZcw2k0Z5QsHMS15Qd0h7s3JIv+a0GIOA6zFT1DgmxbpenHeICljcJgD1T0Q== x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:CO6PR18MB4484.namprd18.prod.outlook.com; PTR:; CAT:NONE; SFS:(13230016)(4636009)(396003)(376002)(366004)(346002)(39850400004)(136003)(316002)(54906003)(110136005)(71200400001)(8676002)(86362001)(4326008)(66446008)(76116006)(66946007)(66476007)(64756008)(66556008)(478600001)(38070700005)(52536014)(8936002)(41300700001)(5660300002)(107886003)(38100700002)(122000001)(6506007)(7696005)(2906002)(55236004)(83380400001)(55016003)(26005)(9686003)(186003)(33656002); DIR:OUT; SFP:1101; x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?us-ascii?Q?GPFBqgKhIjsajLKbe9ZTGKlJFxBgrQuVQ3yS+x4lsp+xCocmLlRfiP3YHX+A?= =?us-ascii?Q?aoXAJb+qwI8G0mzUg4afMk+Zpje0FbMWA3Ih8ljEpa9wHZLQ2y541dHRPvbT?= =?us-ascii?Q?iolQ2mNeSaXGB+FOt+6zfKybzQ6KK3Wf+G6D8hUZobICT6VbJ/H8dodDfJct?= =?us-ascii?Q?x+BrsptqSRADVljCGbSePoscneY9syyApwoUvvigcNsU00tXzPfoGG9jopeY?= =?us-ascii?Q?5Hd3laqljZp0Iohss8Zxn93//vCrLOqYQSHcLI6GXTG/B0PdgtuTNGiaMjNl?= =?us-ascii?Q?75wMdK/ePeLphOUX2PoXCvYsQ+vm1hwe0v56gbNs0IcFTiK5841xo/trksQI?= =?us-ascii?Q?kl6x2PfHLWGEfnf6txvNWfZ+qiEz1GAqPu151lRnIXrMmBAas+8IR4EsiCox?= =?us-ascii?Q?XXMxYRuxZBVJvV92jkgR66KOrKgXWU0WV7VjpXehOo1f0BHYrFm33vIeahMo?= =?us-ascii?Q?qxhxOziQcXnmu5pPaeu1Q5n6ikINEya3j9OKWdibUSDpJ2ST09hr3pPl53XE?= =?us-ascii?Q?HnHc6bk5WQKzmv6ev71SsfynmjmN0II4fiqESB/Jvafjn3bvvzy/vQ9z6nsL?= =?us-ascii?Q?3iAEyqgbcSKFAcc78YHG1Su6Bc5NTitMCuTw19vS2B5c6E6dB7YEUkzPHsxc?= =?us-ascii?Q?PWpQwWGG/kE1btWr/cAuQFLWLzpDWEEnGlEP0bs1WWZd0tE9T2ADlBD1o9i9?= =?us-ascii?Q?pSVEQzY2Wycmr02eAzfioEGNSANvm7p3n1bClA7BMxyh3KuHyzQMcI9CcEdK?= =?us-ascii?Q?NzKt37BMXgU4Sj1dsRx5AhsLC2YDdJvPMnd9aTU5/bEqror2sStMgF2fuRsQ?= =?us-ascii?Q?tU/WL+9w4O4yRiCzgbyujlxtNcjwPVLBznc7CauSHCcDvCzjxvkHgkc0lmke?= =?us-ascii?Q?9mubiTlUiwFM/x2s3Ax8IATIJwvwp3ASvU96PTvtdZg7UWLYybrvUy4w491Y?= =?us-ascii?Q?G8FM3X45EGxf6zzBS50R5Zn4weJD0eyq6MhMpLcLe4+cAxgeYeVyR8j4uwsJ?= =?us-ascii?Q?CP12S6JqjLJBF/E3dqcKURiP65uzy48hI6wT0cEuR+4EE6M3FFTc6CP83TfC?= =?us-ascii?Q?MBtU0ICdAkLvafHLSTuK/6wuYUPmk+WTgZ0/+0HRx5r18ft61D2W6hMRt2US?= =?us-ascii?Q?ddgQm2vYhgxzWVRLE07rtiUOjv7HNiH1LxDeoHdCw0NtASCDYj7oWUVdN+1A?= =?us-ascii?Q?EfrSVxZtXAhU0siP8LfJSJ7RjPFBws+vA6XKquA/o/g++nnhfMt6w+gcer9S?= =?us-ascii?Q?GS/3EwlefXN1lEaDIIy55Mron+mMsZvLfLiKibuI46+LFw7D9jvERqUms3Ft?= =?us-ascii?Q?cgwkspDyV/Sw2w9qINVvYBNHmPGi72j+kKizZxoCWs0qTYEWwHyzJCAMMcpP?= =?us-ascii?Q?KCv+CLuyJyU7cl6EAOMACCloV9gwON2CRgW3Pq0XB2RBZchMbe15V7o4na0U?= =?us-ascii?Q?XSsnSegUF3VSMtU9YnMhm73arFQ6A/LG4pourO9vSl2ufx2hs3xzHNH70FpV?= =?us-ascii?Q?FwMZUMF9OIQQCHe6Rx52TFiaLvqrVHbFrzSf7PkSJAmijG8cW2ChK3Aesjnc?= =?us-ascii?Q?67evGzUflAn5sSzPF4jwxFvVINVJp3UaPj+m55Ix?= Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-OriginatorOrg: marvell.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-AuthSource: CO6PR18MB4484.namprd18.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: 711027a9-1549-4e1c-e659-08da88ecc056 X-MS-Exchange-CrossTenant-originalarrivaltime: 28 Aug 2022 11:59:24.6457 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 70e1fb47-1155-421d-87fc-2e58f638b6e0 X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-CrossTenant-userprincipalname: dnm2HgZnYSmT/+ky2G9KT5qRfPxC+p/VVzsVikeSlZlC89hYY+ORaonD8oW578oJSWwD0R9zpdlb2r+1D/ZdeQ== X-MS-Exchange-Transport-CrossTenantHeadersStamped: DM6PR18MB3739 X-Proofpoint-GUID: KXSpq6DdnvaBcS1LDqCsyvjFssy99_t0 X-Proofpoint-ORIG-GUID: KXSpq6DdnvaBcS1LDqCsyvjFssy99_t0 X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.205,Aquarius:18.0.895,Hydra:6.0.517,FMLib:17.11.122.1 definitions=2022-08-28_06,2022-08-25_01,2022-06-22_01 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 > Subject: [PATCH] examples/ipsec-secgw: compilation fix for GCC-12 >=20 > Typecasting uint32_t array to uint16_t and accessing it as max array > size(at time of declaration of uint32_t array) causes gcc-12 to > throw an error. >=20 > GCC 12 raises the following warning: >=20 > In function 'send_multi_pkts', > inlined from 'route6_pkts_neon' at > ../examples/ipsec-secgw/ipsec_lpm_neon.h:170:2, > inlined from 'ipsec_poll_mode_wrkr_inl_pr' at > ../examples/ipsec-secgw/ipsec_worker.c:1257:4: > ../examples/ipsec-secgw/ipsec_neon.h:261:21: error: 'dst_port' may be use= d > uninitialized [-Werror=3Dmaybe-uninitialized] > 261 | dlp =3D dst_port[i - 1]; > | ~~~~^~~~~~~~~~~~~~~~~ > In file included from ../examples/ipsec-secgw/ipsec_worker.c:16: > ../examples/ipsec-secgw/ipsec_worker.c: In function > 'ipsec_poll_mode_wrkr_inl_pr': > ../examples/ipsec-secgw/ipsec_lpm_neon.h:118:17: > note: 'dst_port' declared here > 118 | int32_t dst_port[MAX_PKT_BURST]; > | ^~~~~~~~ >=20 > Fixes: ce23f7ceec6b ("examples/ipsec-secgw: add support of NEON with poll > mode") > Fixes: dcbf9ad5fdf4 ("examples/ipsec-secgw: move fast path helper functio= ns") > Cc: stable@dpdk.org >=20 > Signed-off-by: Amit Prakash Shukla > Change-Id: I083405d2c083cb1228e1a0126240937675a44cd9 Applied to dpdk-next-crypto Thanks.