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 C673DA0C53 for ; Sun, 21 Nov 2021 15:39:02 +0100 (CET) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 9071F40143; Sun, 21 Nov 2021 15:39:02 +0100 (CET) Received: from NAM11-DM6-obe.outbound.protection.outlook.com (mail-dm6nam11on2043.outbound.protection.outlook.com [40.107.223.43]) by mails.dpdk.org (Postfix) with ESMTP id C7CC840143; Sun, 21 Nov 2021 15:39:00 +0100 (CET) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=NLstkcqaBd8QTMLHa7N34tl0tf82QhTvmBO71KZT61HN3MSMCQxfogb4dqpw6cmEnE8w6wPR4BQTGq/ox7c0VEthYuSr28EWqkuOwHVB8jJBlUaGp6IPZ09rh30kTYPP/SI0Na4GenKul9/inSg9GGieXtuOh44pd90Lisf6FJOE1yUaoqBSOMzpr9x4ZlM0/6rHHhaezOV7Ddb/PPCoFm+/gYB++ZR0VyyxsNVKNPEhxDbJY9FZUmdJJ2/sVQUK+xPfeUg+FYSXwuiJx/oj3yEbX/vhtQ5Vaf1N5RfGvMar1ATsl0OrPqo6q5JMLOBhT26npW6KhTm2NCjbOlcfCw== 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=FdQrwUJIWgj2RRUYDiJs0a1NObJiVWKkwWsusnAhZ+0=; b=AGnqW3AExcY6tCDcn7cVEqENYBjO3OtgPpJsmeW7eXd+jJio4scm+IthkAF1u9eXpWX04nKimPYoRzWaTRSoICe+aC87pSZ7jgXA2bqM0jlQ3ltQz8FSfJUovc2dLKEBad3hYFqrl2XsEEmdC0IruZPfYO7rrtDyPhDzsSRHMXrdFgom7P1OInObjR3KTXkNXvb9E/m0gEr56luabNMnhWl0ie9yr5QhGJHA13unB9Ond9ewpu3duzHkZBKrllVdcdYLKGJQ3akcwM63EpjXFT2HJ6/V69xroT37J2rhPzoh8saOLkwXkayWTaH2NDdqHDT1HWjf3rVCN4BNdO/cjA== 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=FdQrwUJIWgj2RRUYDiJs0a1NObJiVWKkwWsusnAhZ+0=; b=MGBIzItd+4GjG29CZ1AN8e8ycgb1+qM4OGCCH5cQhdnFothVz8rluTGt14ClfADd6SCx2vzcpwciNEimp3V5iFwQZp+6yDza1J0bZVFhsL5RhuQjlfLINTAWl1Pyy6oGY2/SO9A9ChspJdqSgXRSSPJwD9vbRTXdXJVh3vzxXdmN29klIjLbGhJJjclBrpKXrCPXZAsOxbMBSuWW6flznvNAiEdzZV8h4DyYpbAg6iTlqZY+jHDz38ZGyIIps94w8a0utKYifFdItSo0hAcOvLcJimedctuolatOJmEa+6kEdKs2V8fKgjJRzFZJVLxfW3oHDX8LuAny5PtHrLPn1w== Received: from DM4PR12MB5312.namprd12.prod.outlook.com (2603:10b6:5:39d::20) by DM8PR12MB5397.namprd12.prod.outlook.com (2603:10b6:8:38::6) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4713.24; Sun, 21 Nov 2021 14:38:59 +0000 Received: from DM4PR12MB5312.namprd12.prod.outlook.com ([fe80::7cf5:9d34:fc6b:b4a4]) by DM4PR12MB5312.namprd12.prod.outlook.com ([fe80::7cf5:9d34:fc6b:b4a4%9]) with mapi id 15.20.4713.019; Sun, 21 Nov 2021 14:38:59 +0000 From: Raslan Darawsheh To: "Jiawei(Jonny) Wang" , Slava Ovsiienko , Matan Azrad , Ori Kam , Suanming Mou CC: "dev@dpdk.org" , "stable@dpdk.org" Subject: RE: [PATCH 1/2] net/mlx5: fix metadata and meter split shared tag Thread-Topic: [PATCH 1/2] net/mlx5: fix metadata and meter split shared tag Thread-Index: AQHX3UW3iokaxxOvjEqmnJ0H/CFHcKwOEGmA Date: Sun, 21 Nov 2021 14:38:59 +0000 Message-ID: References: <20211119130201.14217-1-jiaweiw@nvidia.com> In-Reply-To: <20211119130201.14217-1-jiaweiw@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: 615e0fce-dd8b-4fe9-0a0d-08d9acfca79c x-ms-traffictypediagnostic: DM8PR12MB5397: x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:4941; x-ms-exchange-senderadcheck: 1 x-ms-exchange-antispam-relay: 0 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: YBIq4RptK+zfqC4oUzIUFbGm2MgBWRaLKQ2rpzd9r4Y15Wtlp96AqHsHTKTb6336GLOQYiyYC7KoSCqStTaEhILovbWP/A/KwlGa798QuflTtcW5pIvHMb9iPjv5hntwLhCyfo+dhRazg6Rr4g51JWtCOdLYg0w/OpkL1Z4l+zwVzRCW/s6NIoJ4dEHzTM5H4fxL1LG1p8R0b70TqmYvgHo3lVGVwj6SQIFVWXshPpBPVoDDyg0rtjPgvJ73roBtHucCoZ9BoEPqhWJhBqm9cFPwDX6+4BsGuklhV+5Ywq/7bjIwmVfgMadSYwyEOMc7OG03iKU53HRk44JvXMeFjUaJytCFTOLZwRYETJiW6cSVny8F9noa9be14PXSAx4Dc3imyyHUrWnLetyuLtWn+SIQz89mDgy+RCAWnGd0ZvxDZ9O08KPFs5U5+wKVO/HG0GIljY4cIFuUedR0nH6h2y7H+iezS/dkmnoFkZRYxHgWoqRx9RmqrijezSjI/okPSqz0v2nZPK18d6BzZszsoAorkEOw1MoNXPsGI5ckL8/hXW1Eebm09EycXpZxUKrLLQAMWrTwUwwg4ZWV3GxHY8Wk8FIty9LFoAVH2pEXVfb0ZRcW21NTY3NFMOPYAkx7Z+wmbbDOVlIDYvD+svv92dsv3y7SQqS9DR0ikoH2AntTJhnVQeyxMbIrERNlv8l+0O0bEleIXflI5Pls8jyYGA== x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:DM4PR12MB5312.namprd12.prod.outlook.com; PTR:; CAT:NONE; SFS:(4636009)(366004)(316002)(71200400001)(9686003)(38070700005)(4326008)(38100700002)(55016002)(122000001)(7696005)(86362001)(76116006)(33656002)(6636002)(83380400001)(6506007)(53546011)(508600001)(66446008)(66946007)(450100002)(64756008)(66556008)(66476007)(8676002)(54906003)(110136005)(8936002)(2906002)(5660300002)(26005)(52536014)(186003); DIR:OUT; SFP:1101; x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?us-ascii?Q?0CMHS56kxpc9p8dSjoOoiy6B9RRvxSYX38WuhSP9tF5HFJ9lk+ULKaC5QF8I?= =?us-ascii?Q?ny84E5VwXs1whE0eJhFnN3vOX0YwCqYe3LSFAgqSp1kFzzg5oOMLl1ke4O9o?= =?us-ascii?Q?GLrsJa6YClvLzsnnfit7hx+J9CObFEiTv90EIYzt9I2DkuDfuBkpS521RC23?= =?us-ascii?Q?sfJQ0EyNBnM/flD/Xz5m/PnrK7dUH8v0w/NX86IBo4QSjBdGK4hPey211Do0?= =?us-ascii?Q?tirWtCbadYi53mPNlcy/DUJN4dopoJobPOhxV8EFJ9y9JiQvrfjRKtUBu6sT?= =?us-ascii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BLGO4oYsjPiWcrc+kN5C8XQU?= =?us-ascii?Q?F59XuQAj780c10hFKD3iGfKpSMaVqrC/O03jMs8KgxwMIYMpJqSbqWebY5u/?= =?us-ascii?Q?AQPFXEwDSPCdhUwwycGuHrNPlWlFta+Xwhm46YRzeRBLkKQZ1EeGNIrxkTQV?= =?us-ascii?Q?d6VmmlZRLmeTrgA+tpyLkiVlzAvOnI2MqgsMARMEtSQ8cAnd171rynIyazLR?= =?us-ascii?Q?AOtJMypVffUYxtarpBY66DKrbmsqDGJSFmcVTsZsXUwxACU3jhYTjut+5tFR?= =?us-ascii?Q?AUOxFXk7XTTerrEQGemg/GcXty4+uxsErlYBBShendHkkBC0O1PnQjWNs95V?= =?us-ascii?Q?eK0TlkO2IFJ7OQnIHZBOUT5RsXzCTDliRsMjKBvvztjBEIBDDLVTMBHMlq+P?= =?us-ascii?Q?n02iZKSjulFez9zHX/8uZsIShmWvyJAZ4PCvxmuTyDOYQPZnBmA5cEUS1evU?= =?us-ascii?Q?LKeEv8idbhKYmM0VlTOUT0I=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: DM4PR12MB5312.namprd12.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: 615e0fce-dd8b-4fe9-0a0d-08d9acfca79c X-MS-Exchange-CrossTenant-originalarrivaltime: 21 Nov 2021 14:38:59.2188 (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: mzt4eGqQsGplulwgUvY6zrMH6+n8d5mfk2i/W8r7NlVgGZJUsvGzOLYuWAoqj/VRMJ4w4PFdTJmi2B7UdkFnRg== X-MS-Exchange-Transport-CrossTenantHeadersStamped: DM8PR12MB5397 X-BeenThere: stable@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: patches for DPDK stable branches List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: stable-bounces@dpdk.org Hi, > -----Original Message----- > From: Jiawei(Jonny) Wang > Sent: Friday, November 19, 2021 3:02 PM > To: Slava Ovsiienko ; Matan Azrad > ; Ori Kam ; Suanming Mou > > Cc: dev@dpdk.org; Raslan Darawsheh ; > stable@dpdk.org > Subject: [PATCH 1/2] net/mlx5: fix metadata and meter split shared tag >=20 > In the metadata flow split, PMD created the prefix subflow > with removed Queue or RSS action and appended the set tag and > copy table jump actions. If the flow being split for metadata > was the meter prefix subflow, the driver supposed to share the same > meter split tag action for the metadata split flow. There was the wrong > check for preceding meter split tag action, causing append with metadata > split set tag action and resulting the meter suffix subflow was missed > due to tag value mismatch. >=20 > This patch adds the checking before copying into extend action list, > to make sure the correct shared tag is used. >=20 > Fixes: 8d72fa668964 ("net/mlx5: share tag between meter and metadata") > Cc: stable@dpdk.org >=20 > Signed-off-by: Jiawei Wang > Acked-by: Viacheslav Ovsiienko Series applied to next-net-mlx, Kindest regards, Raslan Darawsheh