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 59FEFA0C45 for ; Wed, 17 Nov 2021 12:55:45 +0100 (CET) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 50E1D426D3; Wed, 17 Nov 2021 12:55:45 +0100 (CET) Received: from NAM12-DM6-obe.outbound.protection.outlook.com (mail-dm6nam12on2070.outbound.protection.outlook.com [40.107.243.70]) by mails.dpdk.org (Postfix) with ESMTP id 95E98411EE; Wed, 17 Nov 2021 12:55:42 +0100 (CET) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=I1LMCq/dcNulGo+KceLM8fjlE2hYo68Z48X2P+zgNiyJ/9s3kt/lIG+c8+JxBoSZeCuzGeclch2nfSKR7xJtEx8SUvnhzCp54QvWCo0Qs7h1fEQ5VVtDYZ9w4YQQzvwSngv//yTd17EO8yQIZSGV/Ll/PML1mRod5bNmcrE11ww6Gr9gMDxdBX9YQqVh9fJm5O2EanhDxBFfUPYSOQeRjwnfGhIUbhky1fWvTe8MGfKwXHCxi4DMwQqkT1giEkW56Z3yPmPuCzZ+WEcsWpKqvRZdTqYZfrNqbYGBtaVzfMr2nq7WyBEhsXBZEhKsdpV7p2OqdNpR/4mqn9xPLnNx5w== 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=Kcmg+Stcu+X4qpRt2ANQVayHMtrOjseFEfJ9iLzvkMA=; b=BsMgBWwjpHMiHYQdHX1WSXzOraoNiyueC/8KudIvULROgkZESMAaIkYNP9xCa6kLgP2mJbrVHHvAPUS9mxWsfrP55vMJBQO3LtGuPzISszojC5ih7RfzYy9KMn47zw6rIKpQw1HGvqCgibAtbBVrc8qSSN9Oh6zANx23ehNEBI1zogurVUCdJPLrrGUDluI80wCOU3oBqhnbgUQNQp6nz/G8SZJxoyitzQazwPxQjZlUibyGDYNGEU07mzXMbvkPt6MvcMZKW4qqJ29YrQKNCbc8D1ykJhyZkBYbQ94O3xXnQyCbf+N4qbTXBosSO6kr84Fu6hD/MPc6zS4cCFc4Jg== 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=Kcmg+Stcu+X4qpRt2ANQVayHMtrOjseFEfJ9iLzvkMA=; b=V2rU+xQKB1KASneXQtpnVjL3uHAzCstPNcUaeVLKCGFJgUOBpSWocHg8kvND5DLos9CTLtQ33mCfR8vqIB0sHN58quJekLTjJqe3Ba/aSMFMs4lk7SDJczjkY3R7nsPMTvG+4s3n97CL19yDaB/SZwaBVMikfrivdljdXtwJNhfSj5wYXz8nEoCUl6TNdSG2WyirAttCfGEJnTU5XcVRL5+0229Gf72MmkYhgQAe7JnYYGmmfvm6gyt42myvC5rG8vUdhNJ5JQmtitJ2gTdRTcUhZodrJRwKmF686F3FQIX9ycpx5K9KkveoBttaRM46swsVvUX7pn4IIy4/8FXxlA== Received: from DM4PR12MB5312.namprd12.prod.outlook.com (2603:10b6:5:39d::20) by DM4PR12MB5086.namprd12.prod.outlook.com (2603:10b6:5:389::9) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4713.19; Wed, 17 Nov 2021 11:55:41 +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; Wed, 17 Nov 2021 11:55:41 +0000 From: Raslan Darawsheh To: Dariusz Sosnowski , Matan Azrad , Slava Ovsiienko CC: "dev@dpdk.org" , "stable@dpdk.org" Subject: RE: [PATCH] net/mlx5: fix MPLS tunnel outer layer overwrite Thread-Topic: [PATCH] net/mlx5: fix MPLS tunnel outer layer overwrite Thread-Index: AQHX25oUEl4hBNwIxkq0yk5Q+FXdr6wHnMuA Date: Wed, 17 Nov 2021 11:55:41 +0000 Message-ID: References: <20211117095933.75440-1-dsosnowski@nvidia.com> In-Reply-To: <20211117095933.75440-1-dsosnowski@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: 943b592e-9996-45b2-ab38-08d9a9c12dd1 x-ms-traffictypediagnostic: DM4PR12MB5086: x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:6108; x-ms-exchange-senderadcheck: 1 x-ms-exchange-antispam-relay: 0 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: XQJxlRqoTxwJxkCwM9NIYREYw06ZL7SXzwE3iJtffiA8zupWsJQ6KND8XB1qMg6A7UroGMYIQd5bHnZch62Raa65BzwQXfmm5J4/d5g5hzlwKlKRVAVrzf8+4p2FxzDvu5C9xdFNE8y5J3gq1OmjZOd/BBtvzqFTeGdk0ibf2L6EHZZhztV7SpW6LyDQ+fq6GflHEED1OubwMVB/58LKwc3zZDFiXg5NZDwXBuAn4wEWLFB60T+nqATAKs0KHXwZc8FGscNWJpqiLhSLq4kvVV12RGro/GUNb4MqxQZtldfwUb6rom9hje9NFR+tRLf+ZsoyE73uB1jS4IKN+w6sv6/SpJbGFDzdtcMb88hamkxz24C90OqSkIAfTO/JQvENaWbFxL+IkRMalNeTIqNLmGQfBsYNOuFBs1dK80z9q5iCuatl5jyziT8FYTPm2K1kd5jAHjmx+LOz/6wB1EetitybNA64n7KMLueePdRze7Sa7PYla6SN7f9SC0AOH9QGQlAKcHkiJXBNUVlwIDCp/VDRa5gwsD18SAVrGoNRzBCyajRPoCh3aJTGk+pAneD7CvHpPxYQsal2Vkz29+WJwXlzVDdcofOrl1AtLV5Ut/UbgnsCAsx0/VAVZHVAxbcgpitCPLIRG2DkXTIqWvWxHvCw29c6j+kx7xieHbGDKAZxYUI6xxPRCCxwgxc2+RCpKUB+Kn3UDiwNsJX2S37K0g== 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)(76116006)(52536014)(4326008)(8676002)(38100700002)(66946007)(5660300002)(7696005)(86362001)(508600001)(6636002)(83380400001)(8936002)(26005)(66476007)(66556008)(64756008)(66446008)(53546011)(6506007)(4744005)(9686003)(186003)(33656002)(38070700005)(71200400001)(2906002)(54906003)(110136005)(55016002)(316002)(450100002)(122000001); DIR:OUT; SFP:1101; x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?us-ascii?Q?Jyu8oWR4IapDz2PWfXWptKqrC9xlFbX2U48tes9T1eS1d7f8ktL0Bro35L1Q?= =?us-ascii?Q?xeoSHmKRNJn+kKtx8Peu9jX8urwW/4s81k/S7avIBtznwNP2lj8L7V7dn7/n?= =?us-ascii?Q?Y3eWXaGgcMLBr3a06TriWqb23wV+qd6ACvPSpBn3sBd04PSoEqvD0zW1ihI6?= =?us-ascii?Q?Wo8fLPL+SlVWUfwAgKKWGTxeg6apYGBCB8zroJ59EEaKiOqPD5cB0p1YsKVB?= =?us-ascii?Q?PfYGA9Qf/iu/t2aMYpTxby6eiw27Q4YGCcbQuSfe5iVexKpd81G7KkFeTa4A?= =?us-asc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PaoQK+snOJo0SmFppoI4J8EEpHJDSFr0PRuwpcs?= =?us-ascii?Q?msuV3rClhWG39zboGOay7R+HGtozdmbNaeMIKV9ho9rV1kf6gLVTLX/58YU3?= =?us-ascii?Q?5/yGDkPyH4SsCqGzOXAULj/m2BB51DuOj2vK6/TQuK2+gZmFWvdyMf77tQXQ?= =?us-ascii?Q?zIF7UlisepFwBlQ99bVggAc+sp9ahoU9GwioRVXFrn4x4wbGYmddVrZV6oJ2?= =?us-ascii?Q?xDC/aNT9cstHHn648MUmLjoV0HFnts9y2INUyieh84xNQLqU+zrpqBavMAGp?= =?us-ascii?Q?5cweGUk/sEi1WNePvpP2NVFSq1ynKQSF2BBmHqfr6Hb8/xZNadr5bgWLZjMl?= =?us-ascii?Q?lPK+O7K73u7r1VXci/+SxCMy7oxd8wCZe8r8Ix1lQ+iCyRdGHk3fKAs16rWi?= =?us-ascii?Q?saBo4ccGus+irhW2oBRZtPiMZzGghsSTgN1fBmRdt3EMtoVmYcgywd4rx4GI?= =?us-ascii?Q?lV2X0KjtOuedggCSq+BLXzc=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: 943b592e-9996-45b2-ab38-08d9a9c12dd1 X-MS-Exchange-CrossTenant-originalarrivaltime: 17 Nov 2021 11:55:41.0610 (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: 0e/M9HU+m87/o5YEIOMVW3T3tjoD/ROahFfkiE9SFs9JkHvJqGy9NVmDemI/vRgnxKrmpT/kQ0NUlJyIpO3SWQ== X-MS-Exchange-Transport-CrossTenantHeadersStamped: DM4PR12MB5086 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: Dariusz Sosnowski > Sent: Wednesday, November 17, 2021 12:00 PM > To: Matan Azrad ; Slava Ovsiienko > > Cc: dev@dpdk.org; stable@dpdk.org > Subject: [PATCH] net/mlx5: fix MPLS tunnel outer layer overwrite >=20 > mlx5 PMD incorrectly overwrote outer layer fields in MPLS tunnel rte_flow > patterns using defaults for MPLS tunnels. This included overwriting UDP > destination port in MPLSoUDP and GRE protocol field in MPLSoGRE. >=20 > This patch fixes this behavior. If application provides the values in flo= w > pattern items preceding the MPLS flow item the provided values will be > used, otherwise the defaults will be applied. >=20 > Fixes: d1abe664ddde ("net/mlx5: add MPLS to Direct Verbs flow engine") > Cc: stable@dpdk.org >=20 > Signed-off-by: Dariusz Sosnowski > Acked-by: Viacheslav Ovsiienko Patch applied to next-net-mlx, Kindest regards, Raslan Darawsheh