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 8A52E42EAB; Tue, 18 Jul 2023 16:31:15 +0200 (CEST) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 2EDBE410D3; Tue, 18 Jul 2023 16:31:15 +0200 (CEST) Received: from NAM02-SN1-obe.outbound.protection.outlook.com (mail-sn1nam02on2074.outbound.protection.outlook.com [40.107.96.74]) by mails.dpdk.org (Postfix) with ESMTP id F3D5640A84; Tue, 18 Jul 2023 16:31:13 +0200 (CEST) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=PySy25xjpxVDFimIa1XXkSqKz/ASnFt3fZMZXG6f1lA5Z1uglBvCBmlTehvrF6b82PgcRGjtT5zqd/walfBvH92FhnAAiDhoD/jbGeSgMjdQqf6/Osu5W7nOmt+dA71kBYRVJBmIt36/oHnuJK/PhOjtGw/zXcg4U5pP8IitB1iOIcWW0UHwRev6zVRFmO3LTZzBLkywOSBZQp/7/CFE5eNO0OaG3DHOOjV3IOPj+cY8o2NwbKnoRfG7ug7y6k42QUDXWElRHkh/21eKrJOq7LB8kKgeUFNyI8pFvWZJH961wdf3n9H9nBEIsefJc/IQrbMH5tLjYQkzpllmduCPSQ== 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=cloiYKuyVux0lCiv32jev8AaL3tg5DeXaAKwcfOIOvU=; b=YOfl3SUgkRnFp3qJkMYUpjISr+Me0vDRpyH4mPCitnpFvBZ7Gkborar0JsrPkaeHVZjklq5E7fBa5G/Z4M6Jslfkb675vONWzD0A+COEEvC/pS8T/ct91TxXytWUwCCHisqUdHfMOaPGJFAM3AXFxqNFwlDi6zMGmhMRDlSUO+smF7afMRhX7Xr7mYpN9mQwOKiPiVZwuWAjLhdjVemh1z/aZ9TuszpGYeJ8ytUZ/ZxsMo4B11814rpMfikufhboYR8Cac17WOb2ATFOSR5QIeLQfTAxHGmfb9kBnuI+awYrqGVarZUJtJgQl2zMCcOxTosZPcd+Ajk2XUw7VksGVA== 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=cloiYKuyVux0lCiv32jev8AaL3tg5DeXaAKwcfOIOvU=; b=QHyomy/OhGG660lb3LHxyP0LYGlzJsg6eAX4z3ubhUKOWUSgCLAqWW4GGLUEqdMZr0lmPU3HNFGwUqzBaQU55ZgMLyIi9sVpJR6r6uBRPvtF3KzGYCHYehc1stD1lDzBo9JRIghAthph0fGgYUHX6w1IbUB20SUPzjTbmlwedRar8mhULs4a1kTbh6RWpCK0ln3SVG800aIvnJufbyu/mw9v4wD0JC0ewk8Z/d/qEh07POGLKF+j1e8pHGMJ5i7gIHq7NYlPc9dqFSHPCz3R29d9WvY4m8moYQf4p5phgeTNB1tju14cG4Ru0PzdEcU4mMycEtrGm3+4VlDsafCjig== Received: from MW2PR12MB4666.namprd12.prod.outlook.com (2603:10b6:302:13::22) by DM4PR12MB5721.namprd12.prod.outlook.com (2603:10b6:8:5c::10) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6588.31; Tue, 18 Jul 2023 14:31:11 +0000 Received: from MW2PR12MB4666.namprd12.prod.outlook.com ([fe80::2cfc:1584:a7e4:d1ed]) by MW2PR12MB4666.namprd12.prod.outlook.com ([fe80::2cfc:1584:a7e4:d1ed%5]) with mapi id 15.20.6588.031; Tue, 18 Jul 2023 14:31:10 +0000 From: Ori Kam To: Alexander Kozyrev , "dev@dpdk.org" CC: "stable@dpdk.org" , Raslan Darawsheh , Slava Ovsiienko , Matan Azrad , "stephen@networkplumber.org" Subject: RE: [PATCH v2 2/3] net/mlx5: fix handle validation for meter mark Thread-Topic: [PATCH v2 2/3] net/mlx5: fix handle validation for meter mark Thread-Index: AQHZuXxah86qd5fsOUaMW8cngJNJh6+/leMw Date: Tue, 18 Jul 2023 14:31:10 +0000 Message-ID: References: <20230711152044.3141138-1-akozyrev@nvidia.com> <20230718133214.3895192-1-akozyrev@nvidia.com> <20230718133214.3895192-2-akozyrev@nvidia.com> In-Reply-To: <20230718133214.3895192-2-akozyrev@nvidia.com> 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: MW2PR12MB4666:EE_|DM4PR12MB5721:EE_ x-ms-office365-filtering-correlation-id: c378bdd4-bc8a-4b1c-f64f-08db879ba1d3 x-ms-exchange-senderadcheck: 1 x-ms-exchange-antispam-relay: 0 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: uI/xPBCMQq5F62vPOQt7pZUZ0byXFwE/Yzdj54ecxPYflq0So+OFzy0xQ5OObhueBmFUlKb2eV0lAfW6qNsdxy1c9Yf7BEYnOvchSatbrVpUlkiInVQY/WFh7hDl6fagcClqefcGKyLFRFaQ1livaQTQa/OtQGIuFtU16II41RbzyNMfK3IpE2KqzQDr14+0+eYvJQUmNs4HCFH7iipXdFpC4nulxOo/De8mK0eVtm6zdE2fDW+Nk4yU15pY1DZtPyL2UK5+ajn74Yt9rMVCqmMlkoP8fg9jVa12FxPhKATfhx4HxJ59olcKBo5PHgqgAO4tg2h/ceB4yZa9KxCgt/kTsgeoSfMthpbO6xo8N7c3ZqqpoE9Ord5odhshvkTrAHmKISvRtZi6QxZ3k/cIRCnm5dBKFrH6jdTRWoPvO6haecXa141G+4paEokTgPRln/Oz5JAgIHS2PeVEl7DgWhqMrwQlgb5HHTQFLLds/PK8QGvWXCVU8tWYFJeYw2DY3TEV2OliOg1SOAbejiNkHUW9PFlweGt1uW/97HqY6wLTYjgPohXq7O7ZYNI75kzJovQMtW0LUtbLw1jUe0fKUBtGrM7Mz+BnNDJU3vCXtX+/FtE1XuFLXkDQob1OFz0J x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:MW2PR12MB4666.namprd12.prod.outlook.com; PTR:; CAT:NONE; SFS:(13230028)(4636009)(39860400002)(346002)(376002)(396003)(136003)(366004)(451199021)(2906002)(478600001)(86362001)(38100700002)(55016003)(9686003)(122000001)(83380400001)(26005)(186003)(6506007)(33656002)(38070700005)(52536014)(5660300002)(4744005)(8676002)(8936002)(66556008)(7696005)(110136005)(54906003)(71200400001)(66476007)(316002)(41300700001)(66446008)(76116006)(64756008)(4326008)(66946007); DIR:OUT; SFP:1101; x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?utf-8?B?bzBsUHRSZXpBVEduL2Jzd2ZzZXJnck9BYTVFRGZuVzZEaUttNmN5ZUtsQm9m?= =?utf-8?B?ZDhUZzVVUXFpcXhKNnl3MkhUU1psa1RJREFJU01ZQkdSOXZMS0VrVUk1Qno3?= =?utf-8?B?OTRkamxPQk5nNTdhMXh0VmJKOHBtZGx0TEtWM01rRU1PWFFGdiswM2hRNW1H?= =?utf-8?B?TUUrMGcrY1JVSFZsbkt6MmFuc3ExSkFCd1czd3FSVCtNdnJpd1l2aHk0RzhH?= =?utf-8?B?K3FxZVVlNk42NXVCWCt6bXN4dHQ4STNDcEh5M29yV3VLTkJrUUlEWUxqVVds?= =?utf-8?B?OFJONDB6UktKa0dxY1dUSHgvUm1uVUs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C4=3D?= Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: base64 MIME-Version: 1.0 X-OriginatorOrg: Nvidia.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-AuthSource: MW2PR12MB4666.namprd12.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: c378bdd4-bc8a-4b1c-f64f-08db879ba1d3 X-MS-Exchange-CrossTenant-originalarrivaltime: 18 Jul 2023 14:31:10.7711 (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: LnYxGwGrCyxQaNkks6VuRKcpfYKKpIXJve1MJE0n+Br/qepE4qd6m29UtjJ2o8mvNKPfSQLs4Dbu8TEMtP+/Bw== X-MS-Exchange-Transport-CrossTenantHeadersStamped: DM4PR12MB5721 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 DQoNCj4gLS0tLS1PcmlnaW5hbCBNZXNzYWdlLS0tLS0NCj4gRnJvbTogQWxleGFuZGVyIEtvenly ZXYgPGFrb3p5cmV2QG52aWRpYS5jb20+DQo+IFNlbnQ6IFR1ZXNkYXksIEp1bHkgMTgsIDIwMjMg NDozMiBQTQ0KPiANCj4gU2tpcCB0aGUgTUVURVJfTUFSSyB2YWxpZGF0aW9uIGZvciB0aGUgaW5k aXJlY3QgYWN0aW9uIHVwZGF0ZS4NCj4gVGhlIG9sZCBzeW5jaHJvbm91cyBpbmRpcmVjdCBhY3Rp b24gdXBkYXRlIHdhcyBsZWZ0IG91dA0KPiBkdXJpbmcgdGhlIE1FVEVSX01BUksgaW1wbGVtZW50 YXRpb24gaW4gZmF2b3Igb2YgdGhlIGFzeW5jIHdheS4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