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 61160A0093; Mon, 7 Mar 2022 11:36:35 +0100 (CET) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id E493A40688; Mon, 7 Mar 2022 11:36:34 +0100 (CET) Received: from NAM10-DM6-obe.outbound.protection.outlook.com (mail-dm6nam10on2044.outbound.protection.outlook.com [40.107.93.44]) by mails.dpdk.org (Postfix) with ESMTP id 36E7B4014E; Mon, 7 Mar 2022 11:36:34 +0100 (CET) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=n5YuGVMKRvKs27njksjK2snhvwWUrh0Obi9t8HFwUyaKM6ssVtyyyfEuphm5rl1MEAlBwyICSl6f/FX1rLW1ZdT+OJ9fX8sbUBSWywKLl3dNsr33wHUbrsJtoYhJPUGdtXEpBAwvrLTZ8mkVUwNjjhQAfu4MU80KXoQpMLl7qoFmsKfKkI2+gED8pxB3gk8T8Y6e07+lDC/KNkL6a5sGfgJOyCj5NGlLWziUhuT2SDm2SarHLxpWEoGPkV/6WtmUozv1dQad5P1qBJz+MRxbgwi1S5xVZJECkQ15YThkyQW39gsNTvulI3tEM6Sekena1ojTqkR/a9RG8HD/7SKg2A== 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=YQ4P69bhNprLDn+EDRdOJXnTD+3NyEB2YCo0IOcaEK8=; b=daV+HHDyd8oYGq60hOQYgpo+ag2+90TaTVRNidTyissISUxZV8gslBo+udsQHCifq1BTn4xg0p+rdruhQnTvPfFOB0B0/zt4bIPYFA5cAS5/pOFWro5rz2Dv6DN4hymOGNE0XLD/nsuy90vAjyYujMECNIf5iEz+7JLB3Y/jmfA4bRxS4m2XZI4zrHrCz9nYRhWwemPfIGoKCjnMT57uHJoEctyIM2F6h7mObWEfug7CgLLTupBQKH+7n5MZ7av3msPEnssK3KtTDn7QpURMirD26fT95In/6f5QdVOq9eo1UuJhxVEdI/Uwo+fiX8fG9JoGwQIyiR5Bm4C973lPAw== 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=YQ4P69bhNprLDn+EDRdOJXnTD+3NyEB2YCo0IOcaEK8=; b=DxOP8004RFA7I6t+Dy6h4VxJreER4FOIiTll1yd6hjXwuOiIX1hDOIVDnvO4LJxhr1BDx/WsLYw/ZpBqd/+Nm26WTRv1JNNxpJR+IEMfJ5QMN7FjlGIR235amQdIfzodhxbyHlK5DC2Z+hjlahLRyDlH+iqfzHBe2XGeQLvylFuuT3jxTdEDqPtlfxdGW3F5rQJCAzvH2xikMQa2sTmS7zMyzP2VCy+m5b+lrZ+DC7akoDJH5Pzl6NCTs+t/tm4DpB7om4dsXfdO8lHqfN8o4RuTamld3pGvXIXx/VHO0aErC8v62AGFpSYF+5Us5jjwcAMUgOpzR545tzoNUfbPqw== Received: from BYAPR12MB3078.namprd12.prod.outlook.com (2603:10b6:a03:a8::31) by DM6PR12MB4404.namprd12.prod.outlook.com (2603:10b6:5:2a7::13) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5038.14; Mon, 7 Mar 2022 10:36:32 +0000 Received: from BYAPR12MB3078.namprd12.prod.outlook.com ([fe80::e045:deb6:35a2:49fd]) by BYAPR12MB3078.namprd12.prod.outlook.com ([fe80::e045:deb6:35a2:49fd%6]) with mapi id 15.20.5038.026; Mon, 7 Mar 2022 10:36:32 +0000 From: Raslan Darawsheh To: Shun Hao , Matan Azrad , Slava Ovsiienko , Ori Kam , "NBU-Contact-Thomas Monjalon (EXTERNAL)" , Raja Zidane CC: dpdk-dev , "stable@dpdk.org" Subject: RE: [PATCH v1] net/mlx5: fix meter policy creation assert Thread-Topic: [PATCH v1] net/mlx5: fix meter policy creation assert Thread-Index: AQHYLiEV4689xkpolUeS9RudmeoKg6yzwYrg Date: Mon, 7 Mar 2022 10:36:31 +0000 Message-ID: References: <20220302103302.10940-1-shunh@nvidia.com> In-Reply-To: <20220302103302.10940-1-shunh@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-office365-filtering-correlation-id: cdb9a17e-3c0d-419d-e713-08da0026588e x-ms-traffictypediagnostic: DM6PR12MB4404:EE_ x-ld-processed: 43083d15-7273-40c1-b7db-39efd9ccc17a,ExtAddr x-microsoft-antispam-prvs: x-ms-exchange-senderadcheck: 1 x-ms-exchange-antispam-relay: 0 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: xaC0jadXfYzQasI4ZDDO2O1aQUlDDozS+vMp9mQUcCWUFlij5jS1rOFQMx8/oi4WLSD/KIDA3xWm6xA+62KiyQUmCx3autFcOMWmWmeUAPlGpJ5dg3V47iR4lFiAAbxNbi+2Pty0YXBh8GcdDfLxjDx2h+LQ6MiRKbL35jDJlx9ia4jHAjY6IqySuDo5/3IKJh+ZAK44BzvMoWUxB9XFO8VEVh8vVWu/Xi4GyLruSDJxAlW2kr6s118BD0uShjpa1iZEGZGP1XkweS0Cp+oQAwqPsKmGVN7FK2f4Xa9qEHTnJBaqChY9uh4kCv66+mON1lH21TcAYmOZJvihOrCuolfVYS4ZcdggORbEZaFGshZf49LJFM38b0z6Oz+l9IN1QTv9y0KhC069l+EJUMzYLQoQjE+pHZnUQLh/Q6AOViBFGVFCwnfCu8ofv3GDmgGQ7R3q/7Tzcm2XKyW3j5+JCbDKusBs1K4GQ/JpAfIV2a7tE64/fjVq22eNfQwPdo6YkwF5jlUwTw/QrHGVTyzwt0td14n6QP6nZTAkeDhxRzmwTFbKEw1cQ1YUKDsaTxWRL6DoLWyo2ezWNgMMwLrh+eZEj56ASqPbMd3BWGLXKD0jrcim9UJJnhhIqfdQf2zKbw+Vp+e07HbARNkpd0RSB/3kN18gZXAiIuKakIBspiL3PnLzv0pNelfOUPOG/xUqxnIGBFB/qz1xEpEgIrRUyg== x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:BYAPR12MB3078.namprd12.prod.outlook.com; PTR:; CAT:NONE; SFS:(13230001)(4636009)(366004)(9686003)(110136005)(86362001)(54906003)(66476007)(6636002)(53546011)(6506007)(7696005)(33656002)(508600001)(83380400001)(55016003)(26005)(186003)(52536014)(71200400001)(4744005)(122000001)(2906002)(8936002)(5660300002)(38100700002)(38070700005)(316002)(66946007)(66556008)(66446008)(76116006)(64756008)(8676002)(4326008); DIR:OUT; SFP:1101; x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?us-ascii?Q?LgQTUdex7B/H74QysiYmgyYzjz0djlms36TVvPBty6wLm9AeKhtC/Y/n4XXu?= =?us-ascii?Q?wQFZusVP02h/RlbRhyS615Nc1xSqGZO3eDw1U2BgtdA4PLw7BhjALi+so56O?= =?us-ascii?Q?CDnNMpIp6+ZI6sM6VHqScHgP7Kh5JOdv7DTgPC/sHJC6lESfbT7J2KosSWQV?= =?us-ascii?Q?mK9lvzRR6Z8Y3drYOCbIE778pn11+oQ50rihUagqmn6+RqUF8eMmCYU1a+qW?= =?us-ascii?Q?GB5Z1DzTGuAK45eQ0gthYy85RwkZJZZyN2RB8jxSLb6hgfHASq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xcfe7wkMkSf5vgTDeoLgjojwbYdzYIiOBhmodrYT7wgr?= =?us-ascii?Q?8viEGT9mVPI5unUcIDlvwDilXD0K4VG/6nBvQvNpcQDODkpR6OfZOHqkDcQI?= =?us-ascii?Q?srhw9kkLA25vUYmWFrN/0A86SKTZ4m6A7qenkTqNq9WMLAzniWINnnRBy9Ko?= =?us-ascii?Q?455CguAdNcvX0Weuo/QKPEQKM+TzT2cYNkotPXPmz2822u1QZHIawNmbY8kp?= =?us-ascii?Q?Xq53LwWAvSOqM/qHk8LHsic8PUBuBoDTl2EDORzsZdKfgZ725Y7ZujbUqQmq?= =?us-ascii?Q?6wr1os1PCxGK92ZGDsKp0fo4D145+Rb6weLgNWZvqLPYICb0BvNXDXGknZYB?= =?us-ascii?Q?rqnv5kFADN/fnQEjig3T84tMYeuf2FVb+MCkG6/kUt4qjq7KzMy8oUUJXzxS?= =?us-ascii?Q?vZEeSfkjYmlc+2YiKzzDVCeAAYYvTryR3y1wV0V8XsEHdFFsINjjsOrzcnyX?= =?us-ascii?Q?E3Crq9bUJaDu378tuzR6c0c=3D?= 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: BYAPR12MB3078.namprd12.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: cdb9a17e-3c0d-419d-e713-08da0026588e X-MS-Exchange-CrossTenant-originalarrivaltime: 07 Mar 2022 10:36:31.8832 (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: f96iciYlOhGRK9UgxpY5HRiM9q3ug1bBgux92j38mtqNVOo6WMBncsNYLVSlVqeizAyn9guj6kfw+Fd+ZOo8Dg== X-MS-Exchange-Transport-CrossTenantHeadersStamped: DM6PR12MB4404 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: Shun Hao > Sent: Wednesday, March 2, 2022 12:33 PM > To: Matan Azrad ; Slava Ovsiienko > ; orika@nvidia.com ; thomas@monjalon.net ; Raja > Zidane > Cc: dev@dpdk.org ; Raslan Darawsheh ; > stable@dpdk.org > Subject: [PATCH v1] net/mlx5: fix meter policy creation assert >=20 > The meter policy creation doesn't belong to RTE flow creation > process, so thread workspace was not initialized and there will be > assert error when using it. >=20 > This patch removes the incorrect using of thread workspace in meter > policy creation, and adds a flag in policy instead. When creating > RTE flow, can use the flag to set the mark flag in thread workspace. >=20 > Fixes: 082becbf1f35 ("net/mlx5: fix mark enabling for Rx") > Cc: stable@dpdk.org >=20 > Signed-off-by: Shun Hao > Acked-by: Matan Azrad Patch applied to next-net-mlx, Kindest regards, Raslan Darawsheh