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 1B644A0C52 for ; Wed, 24 Nov 2021 17:24:03 +0100 (CET) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 155CD40040; Wed, 24 Nov 2021 17:24:03 +0100 (CET) Received: from NAM11-DM6-obe.outbound.protection.outlook.com (mail-dm6nam11on2081.outbound.protection.outlook.com [40.107.223.81]) by mails.dpdk.org (Postfix) with ESMTP id 612FE40040; Wed, 24 Nov 2021 17:24:01 +0100 (CET) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=HnGEF6W/Zm9L+0mgmA0+BFZ3/HdsR11Ub4Gt66S0W3F7BDijKpRJUem9LspOC18wfm/Qej21OG0A+uSP54/Rpuhlb86i0qyRS+4lRWq3FE8o6zTlPXQbC1ROE85vRIEjXCQN1BSFhgdGrPSGm5Gdo+aJngLz7X9NqIxY3mhVBf8cZDKJHr2Y5BwxlAU1mZgvPE049TL+sRgfThYTKnB+9tRf7oGGBkJfkH5KmIjUZj2V52AkpIj+/XS+54t/VWMi15hdEbWWVVAqapBf3LiKhPj5mz43+/RsPbfjYZnStCrtHjDXzFQZvweNgDOScrCt/IH/rziquRuEaIkSwTQtVA== 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=qapvCpYg2QkJ6SFXkIltT84SG3Dn79YLoayfhZSzP6k=; b=KFYslfmIm6bgGTWOzDrFlAHTh+tnNh1JhR0q7Z08FUc1U433o3DjVgFE15HokmN5QGzaOKJu4wijFkLz+Iommv8sVd/oTB5UX5rt8gTYIyH6UcSkHS277ZUdds8iB0IwYGQ/A1Bmzx5CJtNtExZEYK920jxJj5MgjCPN29ZioKqfb8bz5zgVp9g1NvVGov2de1gmNM9xV1MNcHhKljzMLAzo25RNdUgc5eajfNq/AEwiG9xwH/n2I5nJV/7c9aiofzXMdnFRsI7Ew4fhJ5iVcdvd4LfsBtQ16V4vYk/rOyXbgrs+Cskn2ARLLGulbIqao199WEXQ7L8U+B98zGm8DA== 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=qapvCpYg2QkJ6SFXkIltT84SG3Dn79YLoayfhZSzP6k=; b=dBO3PO99mBbe6sCjQjOao6unpFzinKYKiw2FBObs+aGFJQkgR6HbD4wZPq/tAorMGCAYyh8UlaNv65tb4eI4VzEQaa48T8v1gNpUp3RFrgdSVPE9xilxdffUuLUD93Q2w16tOZzMy0T7Xue4BVc/QYyccH4S7QYQry1+NUcFaWiHB3oQMFz+J4lcV+svi6Joz6wNyiMt/huBljJASCM42c9pLhNCwPO0tC66OjJ1mnpHq0MyprSByrqli/rnhC4rqti6LY5gAh16dLDTCxFJeMyu8xQM697rR8dSY51oy36EKDgNrE1V8gUb1zVTfBtWARn4HQo0GYK+8Yaxa2KuJw== Received: from DM4PR12MB5312.namprd12.prod.outlook.com (2603:10b6:5:39d::20) by DM4PR12MB5296.namprd12.prod.outlook.com (2603:10b6:5:39d::21) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4713.22; Wed, 24 Nov 2021 16:24:00 +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, 24 Nov 2021 16:24:00 +0000 From: Raslan Darawsheh To: Alexander Kozyrev , "dev@dpdk.org" CC: "stable@dpdk.org" , Slava Ovsiienko , Matan Azrad , Gregory Etelson Subject: RE: [PATCH] net/mlx5: fix GENEVE and VXLAN-GPE item matching Thread-Topic: [PATCH] net/mlx5: fix GENEVE and VXLAN-GPE item matching Thread-Index: AQHX4TbigU563CSls0ufybD9VUJL4awS3Lmw Date: Wed, 24 Nov 2021 16:24:00 +0000 Message-ID: References: <20211124132609.3315173-1-akozyrev@nvidia.com> In-Reply-To: <20211124132609.3315173-1-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-office365-filtering-correlation-id: efc99ada-787b-4a54-e9bd-08d9af66d280 x-ms-traffictypediagnostic: DM4PR12MB5296: x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:8273; x-ms-exchange-senderadcheck: 1 x-ms-exchange-antispam-relay: 0 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: QhRROWOldo794rV43U293r6ca4FoJgwE0+lkBjdO+OtJ3aT8tsu07giViAP0UEk24Jh2spxn3S2cbJaPmegTivh5D/84+z7T1ef2rDFAdiU4v26D65qjuEqV1NVr5wkChwlwADoRH9ZGIygdjzcUs+k191XOAarc3bciPg15ODBtpMi9o2nujSql4KAQgKXdQ2TGz/XcGFO76tU+3p94Q0AgFruLvlHPwZlssOLRcCncq9tgFt1Z0HY3yuau9nERacM7mYnprrvpKJ/gk9sZaMvdhctTXtomRDyq98dYk5Ng6pVWN9M3Q7hO5cIuHUAaqrpNj591oQhhmegHdc6cJ2LUY87oCXT/tWaZgdJ7FoBzGHdAWJA8cu2EmzAWZvFCga/iUVcaTCKDJsom0IzFLlXfpZLvXroZexXxfGygdWw9IEQH5G390nyCiFJcKE/y4GcJ8hHfoTuR1aMG0QAd11R59YP2MC5utWcvs1GWvZ1VjGZ/LBH+53MecF5yTjWmyWD0FEm4W3h1T4Rrr1xs2k42EupGoM2jm8vjHhCuIIG+1+ks9Sw1rxQqaZxbVAA0HHZwiOV+KoKET2zahIgBb6fzEVNpr6Si8d5QZj/jhvgsijg9vgAB3f8IGqLtkOXROoaU+zeAH8spYcIG/cMa5pVTHKbYSCRPZbjaB6N3EBQgmm2sLmk4PCUO7CI9+DDbjl5jyTKh32Pm3S0XX+YK4A== 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)(33656002)(83380400001)(38070700005)(6506007)(55016003)(52536014)(4326008)(107886003)(86362001)(8676002)(186003)(8936002)(110136005)(66446008)(38100700002)(76116006)(508600001)(53546011)(122000001)(64756008)(66946007)(5660300002)(2906002)(66476007)(4744005)(450100002)(7696005)(26005)(316002)(66556008)(71200400001)(54906003)(9686003); DIR:OUT; SFP:1101; x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?us-ascii?Q?xQyjjl23aXQPxwGSgbAjXnEeGhfHgYWBwj/D9/H7xkRbFruGI+/PlOw2zhH3?= =?us-ascii?Q?lGug08JH43YGLxuCyk/9vL/Zq0ZdWW6r+ho7kq9MDxjJGQP9IumZnXz8FMkN?= =?us-ascii?Q?UBwX7bMdk4BqUsx2ofLi/vL5OOyjqYm1pQzkVD6H5FhZF11AzHQv67VCa9aG?= =?us-ascii?Q?OakFwWbUg3o2JHS29GYd+Y+kXsQyekGJqXjB/Y/rWoDowCM9y9Tv2daSfjd5?= =?us-ascii?Q?+4PMpYKVALm1aQ9j0tbJl0icZ57uISWiU0Izl0fL5r2tKk/7d3z9ax1rUFVw?= =?us-ascii?Q?IpH1+BUG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= =?us-ascii?Q?BkqFtpvNzmeo7abBZ/sXbc7LvjJLJG0RH9WlVuFTJKRgzFKEy8TSZCDc2IZp?= =?us-ascii?Q?q1ynnFDkI7HpgHoc85zW+O96Y8KN/MFAu3SEC6nIkFOrBpV9cA0AiEcULWT7?= =?us-ascii?Q?Jjn90eO4+VfwshWGvGWBQ9NBwq96hWL/IvR43sTWTrkTvCV+5bOdl+TEOTaa?= =?us-ascii?Q?gkWV6kEZzHNyc+E1ND25YH2PR17ps2fXc6i2Ivz4+g7G3FwOPVqcCY/YUKo5?= =?us-ascii?Q?bDFpFhOcw2vp/QMyOrJRrDfjLEIUx5BUcCJGq5q6OEnec2fDeNAuS3dH89hL?= =?us-ascii?Q?9qoeAoQlxpA5BBh95eelKmls+7zYYyhinJr22cKUOv6IsjJ76OF9nD4B0EYL?= =?us-ascii?Q?PPTICqPHrEBjhgZyqte363yfcPH7zwVhKktOk2bfB9b1ZW8z2JxIR6n/vMII?= =?us-ascii?Q?QOgbpS9wF83TxfWrEjJJUt4=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: efc99ada-787b-4a54-e9bd-08d9af66d280 X-MS-Exchange-CrossTenant-originalarrivaltime: 24 Nov 2021 16:24:00.1679 (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: 0W+hw3MwP2HCyARaxeha5eMPnNxQ1ivl+4bSGQ1DfyydMdYtZTj3v+fjOPAUU0WsBtKl3GyQU3gDLzjAXjiIKg== X-MS-Exchange-Transport-CrossTenantHeadersStamped: DM4PR12MB5296 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: Alexander Kozyrev > Sent: Wednesday, November 24, 2021 3:26 PM > To: dev@dpdk.org > Cc: stable@dpdk.org; Raslan Darawsheh ; Slava > Ovsiienko ; Matan Azrad ; > Gregory Etelson > Subject: [PATCH] net/mlx5: fix GENEVE and VXLAN-GPE item matching >=20 > GENEVE and VXLAN-GPE item matching is done similarly to GRE matching. > Users can skip the specification of the protocol type and expect that > this type is deducted from the inner header type automatically. > But the inner header type may not be specified in order to match all the > protocol types. In this case, PMD should not specify the protocol type. > Check if we have the inner header type before setting the protocol type. >=20 > Fixes: 690391dd0e ("net/mlx5: fix GENEVE protocol type translation") > Fixes: 861fa3796f ("net/mlx5: fix VXLAN-GPE next protocol translation") > Cc: stable@dpdk.org >=20 > Signed-off-by: Alexander Kozyrev Patch applied to next-net-mlx, Kindest regards, Raslan Darawsheh