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 4FA00433AD; Thu, 23 Nov 2023 18:54:27 +0100 (CET) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id ED70942F6D; Thu, 23 Nov 2023 18:54:26 +0100 (CET) Received: from NAM02-SN1-obe.outbound.protection.outlook.com (mail-sn1nam02on2055.outbound.protection.outlook.com [40.107.96.55]) by mails.dpdk.org (Postfix) with ESMTP id 718D84013F for ; Thu, 23 Nov 2023 18:54:25 +0100 (CET) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=ez8qqs9kXHBQMD9gSf/fzRzsZSzQoXqxF9D4NsZZPf3DJxvC2UHneIVfaH33v+cDr4qej1WJIKyFADeifPoQwOuej7q0kisKcYYj1hzkGTRzajNrSSONX9lOnKPLIU5a3Dz8DSiUdB2PEG7eZV5Q76/oYCaI8ZkPV2Eirj1Vt77xNFcRIqcNTMZVZQjcdrd39yachwp2378galWKhMHpZVQ0yNhLRSEGtAtIFBvqhGNFutowC6hfCa5nQ7Xk2eqgAVwXonWYSxdSWRaWzZ8b++J2XNwGg4RZ2Jjxh+pnUzBd6LpO6CK/W/SRcUDnBT3HZPjJk4XUHeGkmAXYsGjlkw== 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=OpCnjBlLztfKJSyaN+QMXK3VwWP6zUqVEFRtGCMqor4=; b=VOTj62e/E3U9Spsaj1Snt2d3+pzHWuoB7eFX8aMCeLZVJPlut9lxkgEE+PH6STH0VX2RF+hgn/Zk73If/EKrCvX7TtHs3ABlN0EcSkfCqEgGV5CjaHjlcL3KBQgAwqHIbpNQQZmgfjDUCRwkR26A/gQbPWMP1PfrC48K2VgeHIKCZa3pTQY9DMQgKmiibQQR2J/stOwQNNmPJEXmSbC3D2qt2qKi1JHrzEj/tQ0P1w+/bxJ+AVtZ/wZgroHb8Uklo00k3TOn/2R/KgwilAbqPCcPAlSOTxfu4CubGxEIIRn3MWTCpC9+loWvsmxxYzXPOM+wKdCsNRi2aKTo5sIOkw== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=nvidia.com; dmarc=pass action=none header.from=nvidia.com; dkim=pass header.d=nvidia.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=Nvidia.com; s=selector2; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=OpCnjBlLztfKJSyaN+QMXK3VwWP6zUqVEFRtGCMqor4=; b=nizlzCff9U6nWeExuXIOKvAYBSGfQlAnCeV2fCJumtyw6WdzqJpVOzlv4onK/MyfJcRx94wyc2SSOJXflL9RLkYAJkidihamJDWLtRpPFvMGf++JTCb2MYJ6TGSdn15fCBcND+a52uEvvzFLJDrIT9v9ZNaFMgORrHreoxzNP/cTzJdJQcsgqt5ohDo9h6U45AE+1K8Vr7fq8tJCAND2frX7z8+FHLiOcf4iGkv0dksE1KZBVyPhOgZj8zQe9MDpHed4SZZbg0qR1x8HM6bkDEJ/y9mzYxVA82PlsT0Xm0Rgx4tSeDfh7G4FHr/5lMTWI6RbGr54H8qXtP0ss+9n3g== Received: from IA1PR12MB8311.namprd12.prod.outlook.com (2603:10b6:208:3fa::12) by DM4PR12MB6445.namprd12.prod.outlook.com (2603:10b6:8:bd::20) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7025.18; Thu, 23 Nov 2023 17:54:17 +0000 Received: from IA1PR12MB8311.namprd12.prod.outlook.com ([fe80::2d14:dd8e:f91d:3175]) by IA1PR12MB8311.namprd12.prod.outlook.com ([fe80::2d14:dd8e:f91d:3175%3]) with mapi id 15.20.7025.017; Thu, 23 Nov 2023 17:54:17 +0000 From: Dariusz Sosnowski To: Stephen Hemminger CC: Tyler Retzlaff , Slava Ovsiienko , Ori Kam , Suanming Mou , Matan Azrad , "dev@dpdk.org" Subject: RE: [PATCH v4 07/10] net/mlx5: replace zero length array with flex array Thread-Topic: [PATCH v4 07/10] net/mlx5: replace zero length array with flex array Thread-Index: AQHaG9Rmo6eznYX3O0KVnip7F0uqlrCINAbA Date: Thu, 23 Nov 2023 17:54:15 +0000 Message-ID: References: <20230113215205.125767-1-stephen@networkplumber.org> <20231120170942.197172-1-stephen@networkplumber.org> <20231120170942.197172-8-stephen@networkplumber.org> In-Reply-To: <20231120170942.197172-8-stephen@networkplumber.org> 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=nvidia.com; x-ms-publictraffictype: Email x-ms-traffictypediagnostic: IA1PR12MB8311:EE_|DM4PR12MB6445:EE_ x-ms-office365-filtering-correlation-id: f33c4354-c8cf-49db-d890-08dbec4d3593 x-ms-exchange-senderadcheck: 1 x-ms-exchange-antispam-relay: 0 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: shxjF+KUS/H7F/LFPQ7aJclTrcgx+N0rsIGy+J120h6C2UWldg9HHL1yeJBjrXQoCorwmT7glokN06PpjxCDzZPdlMjCSdDe5OQaPNsE/ZwIm2quYTiZv9FuMLcdovkNiZHwvY8tC6Z1NVQpRXcJgdlLRpdnLLm8fXfUliHAxf3YBMQ5PTKK9+gJk8e92cs3UrxW2xCq3iMZ8YodnX8EKKLn3ZEQBRnD+VSu22NT6F5cnCB1kF/KEC0VnvH/Z40xBhZuVqupFipgITF8AZ1EVmikrWWsqer2P521Ok2FN0BEZQsuHlj/VyxU6FeZGXouFOFTIf9WVgOaZDIBgFkf1Z2c1dseNuys0vynOrFqW33E1z4WQjK7thxmcH/Mi02Yocp6Vs4eo5xzR6K3Qi87Iiqx2htWl0Frs4DDq2D4bZuwb5fOsTCpFnX7ZubnRERKjKnRSp9Po/44BxKsr0WPqrSqR3eZmWrBduNmOjdi29rYegOKfc4Wd7Gheg8WJMyJ4CqtTuv+YA7rH/7rf/8nZL7SjYV5Crg0Y3ZzD2bF3RCzEBIUeMANx+UXpb1z7xwFhepHxF3tiylMjnWpEgqM+8O+8+tkHtbC5QJQsp9YpcFfcqXyEQ3/hRsFfc6RiNAJ x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:IA1PR12MB8311.namprd12.prod.outlook.com; PTR:; CAT:NONE; SFS:(13230031)(396003)(346002)(136003)(366004)(39860400002)(376002)(230922051799003)(64100799003)(186009)(1800799012)(451199024)(4744005)(2906002)(4326008)(52536014)(8676002)(41300700001)(8936002)(55016003)(316002)(71200400001)(66946007)(66446008)(6916009)(64756008)(66556008)(66476007)(26005)(54906003)(5660300002)(7696005)(6506007)(55236004)(9686003)(53546011)(478600001)(83380400001)(76116006)(122000001)(38100700002)(86362001)(38070700009)(33656002); DIR:OUT; SFP:1101; x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?us-ascii?Q?zOj+0jdxYsRXNDK807/y1SAB1SfI0rk3JCtmGBjiw3bjYDuGs1By+srqxFHz?= =?us-ascii?Q?6qBO+49TS5KN/NIaF0g14xS8SuOc3sAtXPLP2uoV7BXe6dxAxgog98YPFwey?= =?us-ascii?Q?gEBCO18aPGjfJ4WozKtmfVD3Q7jDTuipsKjYvrOYelfpVrxnCG6dKvYLbfIA?= =?us-ascii?Q?rISZ4eUtow2rnwCyJKIniSdnKNv8OJ/h04+1D2X9vDoVN92HbJVq2KpSh9GP?= =?us-ascii?Q?lsPYrsv+pUFDSn5YhXwUDGg4GqZ546O8wdu7OtzVYAMZBUkRGQihflGO8zZ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GTUW9+qCwj+PzknQCv7kuq1y+JQkEq?= =?us-ascii?Q?oPTvN0IyLxa3R8He2JKhyZf6GEMXas1qJ5PdiXEjrcsocu0tcdKKQYkMvvDu?= =?us-ascii?Q?ZvZN95YORiOjET0Ztl/xYGJ/5TPCfqyWy19qe3rhqJvlXgj/EeBjb9DtNfyC?= =?us-ascii?Q?+0NmP8YDMWutirPrkysA2Y5zhVzkmyQDJeHfTMceQzWU4DM41WuaJfDI4nRY?= =?us-ascii?Q?dGOmWQGcDK5VL2cY1ZatvmRIOiS4StGmMHyguVXgGjjE7OYKnNYfUCix4OSi?= =?us-ascii?Q?aBcdwmDN6Nkhvfv4/JV3Ay7E4yfAkPmOL7NlDj91GdpaWTSev4xE3+XmvyTA?= =?us-ascii?Q?h0vkDdOz81EARgF0r0DgNCVHoULxiX4i/BA/g6Jk6YoJen2Qy0UTOSh68Pn2?= =?us-ascii?Q?yx4ATRtWqjOZggzYlYtIruGRbSN1rQRV58Mlgr67?= Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-OriginatorOrg: Nvidia.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-AuthSource: IA1PR12MB8311.namprd12.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: f33c4354-c8cf-49db-d890-08dbec4d3593 X-MS-Exchange-CrossTenant-originalarrivaltime: 23 Nov 2023 17:54:15.8433 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 43083d15-7273-40c1-b7db-39efd9ccc17a X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-CrossTenant-userprincipalname: o+otfbMT091pY0alvR1yi3lMFAnxu7wgO0Dp9JSbbsu4lt47CV4fTvlxEH1TYatQgoQ/+Ko5XZJ4WD85nHg+Ug== X-MS-Exchange-Transport-CrossTenantHeadersStamped: DM4PR12MB6445 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, > -----Original Message----- > From: Stephen Hemminger > Sent: Monday, November 20, 2023 18:07 > Subject: [PATCH v4 07/10] net/mlx5: replace zero length array with flex a= rray >=20 > Zero length arrays are GNU extension. Replace with standard flex array. >=20 > Signed-off-by: Stephen Hemminger > Reviewed-by: Tyler Retzlaff > --- > drivers/common/mlx5/mlx5_prm.h | 2 +- > drivers/net/mlx5/mlx5.h | 4 ++-- > drivers/net/mlx5/mlx5_flow.h | 2 +- > drivers/net/mlx5/mlx5_tx.h | 3 ++- > 4 files changed, 6 insertions(+), 5 deletions(-) Look good to me. Thank you. Acked-by: Dariusz Sosnowski Best regards, Dariusz Sosnowski