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 B0420A0C4D for ; Tue, 3 Aug 2021 08:51:45 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id A6990411AA; Tue, 3 Aug 2021 08:51:45 +0200 (CEST) Received: from NAM12-BN8-obe.outbound.protection.outlook.com (mail-bn8nam12on2089.outbound.protection.outlook.com [40.107.237.89]) by mails.dpdk.org (Postfix) with ESMTP id 267EA40683; Tue, 3 Aug 2021 08:51:43 +0200 (CEST) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=dniIjwWgY8WDN/4NZJM/8iJ46OPdq1bW5TnvVg6cWy8ZWQUY1i0AEwg02oFlbCJxSswrolI03AdFRMtUwSkOVaa8C1SewDcCljMeeMX6de1r49DDh7EFKnMRCkNwzau3ls5mm9WIvydWV5YbyPz7L9N4sIXtFxwLD6aCrwZBDXzSPjOLj9TpN+nzPBs3dEKByK64CnMcV5KAVnzwu6nNcJAlLSe12zBo73RWyD84mCd4Ca60jk0qxLgswXGSb2O+DO1xZSxzx5EIsVFy6PHIPNvJivdsOnQMbBAtnDoRF/ThC38mF3SpT1eyHG18BdxyQwvGXGVz8dLNBEQBJVKiFQ== 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-SenderADCheck; bh=npISl51/xQDIEGtcUoXdA/A/9M8MnjfTfvHh25U05t0=; b=UaIa3+9wmL1HEKgBjzQbQrWZ8bt+bV6YE0JKqVMbP7e+2bWhYxM408ypgZfN/F2VUYR/DFuSwuwFrzwTfrebxwEkIUN7W+Won3+4jVNS5UdGR71YTTo99XKvm6o987CtTDU0PVZmITYfpU2s0f7X+gmCXdnZbc1TbTBhtfLPKQuO6Oq6LhkYvyVWsTRRRB8eXpG7Vn0i1RKN//U2yG3Nbq203fqPsHvesk0DgvykDVHBrfr6bUZNDOuqf9dWrWELLHS3eJTZG7tDD5VXsRY+hPhJ51O6USQGgBkPm4X0QDigZY11utRjFraeBnnw4mFK5BOQfeWorVsNH0WBQryUow== 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=npISl51/xQDIEGtcUoXdA/A/9M8MnjfTfvHh25U05t0=; b=Ymnfwfyqzka1PcNfz9dwO3N1szrK0dKtlSSJo9zvvxMz7xHiT7JDpHFpk51JQ7vNqbCpYwIUvU+PMwh3ifGBHR2T2tZezx5DgWZO5s+2jim9KRAN38073uEWyIUGANMlx+Wkj9lmpnZ9yVgzt05YiHwGCN/coEN+3gPCcJ5lkWLC4TScpCMyzKX7XvG4tQK7I2AXkCY+ZROSXnt4gXmLhyQHz72v43cWFgSgJwWF1tmnUaneS8f9nKMHOUDzem0w0x4f+ea/Mw2mBKHsvb0Tp9qxQALh9rTVZWjXmY2rqLkEfr/WYDtb1ppAmNnkUKDvP0tnadL1Ryc1cI6apQw8ew== Received: from DM6PR12MB3753.namprd12.prod.outlook.com (2603:10b6:5:1c7::18) by DM5PR1201MB0076.namprd12.prod.outlook.com (2603:10b6:4:55::14) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4373.26; Tue, 3 Aug 2021 06:51:40 +0000 Received: from DM6PR12MB3753.namprd12.prod.outlook.com ([fe80::2521:f25e:e8db:6e35]) by DM6PR12MB3753.namprd12.prod.outlook.com ([fe80::2521:f25e:e8db:6e35%6]) with mapi id 15.20.4373.026; Tue, 3 Aug 2021 06:51:40 +0000 From: Slava Ovsiienko To: Rongwei Liu , Matan Azrad , Ori Kam , NBU-Contact-Thomas Monjalon , Shahaf Shuler , Raslan Darawsheh CC: "dev@dpdk.org" , "stable@dpdk.org" Thread-Topic: [PATCH v2] net/mlx5: fix vni matching with non-std port at ConnectX-5 Thread-Index: AQHXh5jfwOuq264onkmy6shi4/72ZKthWL+g Date: Tue, 3 Aug 2021 06:51:40 +0000 Message-ID: References: <2220126.5qsbnr2OsU@thomas> <20210802122048.555306-1-rongweil@nvidia.com> In-Reply-To: <20210802122048.555306-1-rongweil@nvidia.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: authentication-results: nvidia.com; dkim=none (message not signed) header.d=none;nvidia.com; dmarc=none action=none header.from=nvidia.com; x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: 68c555c1-5d33-46c6-2677-08d9564b25f9 x-ms-traffictypediagnostic: DM5PR1201MB0076: x-ld-processed: 43083d15-7273-40c1-b7db-39efd9ccc17a,ExtAddr x-ms-exchange-transport-forked: True x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:7691; x-ms-exchange-senderadcheck: 1 x-ms-exchange-antispam-relay: 0 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: zRhmNsfCjO2WFWW8AJvSL+4BSkha4CqvWiLPEw146PE1fsC7/0QeHiXC0KYWaLwSVopPv+LQAoJM8rvJSdlLuM/NiTMNJVVc3Fo/5bDWNGnH7vUlJHh8g6OlURE3FVBwEK4+/prGoZV+dxzl88lZCK1FU54iwnJKHZZWxijA6ltJCiZZfa9lppH0njyMETD5Z11hE1jRiiv3ElIi4bsnNbMS6todFdokiHs2kkjNDUHX0DH7IdqP5cBBBl9D1EP3744ru8iBPfxneAuaZ+hVoa5dSGeErfQa/M0m1jJeo5J8m2XKupWe4FU2UHH+Ch2GCwaIjG36OFV1lvXLyvM58mU4+/h/24pC1GvcaI9Ttvu2tdbdZzEermGd9mCeEjRxRJdpnCkpyb/HVFCe8v53UwvNhkeTZHWGvO5X1+EqBWUkA5M/CMpIkH49l89sFdvbp/jAI/FhvidSZF/Mfth2OruFDyQwV0e8zhXIlEU/J0fi0Ps8pDJImd3ifKVNu4/WyvdaFB2BONSP21WmttWzdBMrxsMLMoDLkE1CLOHUpRclZLYrN6opyeQKukQy36rYbNrhwxrGblUHBkom5mj4cOV/lEzYySkyczT9eHkc46DnMIG9hnK/9CfA3M1S8jtvcnwgn0wVeH4Fx2pCrRlVQ76V9sub01wasCyI1re81yXtm08BuYixbUkoUIzoUd2yBWC56ieyGn6Xu4r2/rgL6Q== x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:DM6PR12MB3753.namprd12.prod.outlook.com; PTR:; CAT:NONE; SFS:(4636009)(376002)(366004)(346002)(136003)(39860400002)(396003)(8936002)(122000001)(6506007)(38100700002)(6636002)(5660300002)(8676002)(55236004)(478600001)(2906002)(53546011)(38070700005)(66946007)(83380400001)(110136005)(26005)(54906003)(33656002)(4326008)(9686003)(76116006)(55016002)(186003)(66446008)(71200400001)(66476007)(52536014)(86362001)(64756008)(66556008)(316002)(4744005)(7696005); DIR:OUT; SFP:1101; x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?us-ascii?Q?IGFDTI+wb0afr9kIk+gW4eVs1RBPQ7jalC/n3vz9ampCpn8dgriDAoCSVmnd?= =?us-ascii?Q?krgjDapcytR41orxJG6LvAe4dN5xbN74ZYUq2MSv77n9IRToCnuzV+BZsb7Q?= =?us-ascii?Q?I/XKmlA0N9BIiqgESfSEgKd/p6sDYbcEklUa1NPxjW6F932pHx0/7EH1Nx3l?= =?us-ascii?Q?ZgU9FzX5of/CWMI6EiqNAM9u3ZNcioGswtueokOgM0On+X0rT891/1JY4mz/?= =?us-ascii?Q?FWHP8mEZXj44yK0LTDscxBPm7zQiByRCBaBeSTRvEXQXDdTKvncAB9TotWND?= =?us-ascii?Q?np48Kfla1RKKSYSULdc63YciQlYxP4DUlilMzTpZ4hN7s/bG4c/bnEQVhNzg?= =?us-ascii?Q?mqIiwb5nlUHKdza9cS46AjOsdnrJXs/zpdTLVTv69GzUiyxw6LDSBBFYaglT?= =?us-ascii?Q?bCVB54guOnLBiRkUL4WRtNIJCkhs2tUc1BdbknOwmhweirkeYmCushqJNcNg?= =?us-ascii?Q?SyWfBWWyqPiKkSrwIsSB3GH6rmps88j+Ss8LwI/oasIEIgPKdxGY7WU/Bc1e?= =?us-ascii?Q?P+93m5bhKHaw9srDiBXaxnTT55LRgvs+X0odJfPk0k2cHYcCNz8d1bljSY16?= =?us-ascii?Q?7UsrdSc3H8wPH9+VGunlPGHyWgnvFlQMpP2z67/5fqCelopzuyMP4COD1AkO?= =?us-ascii?Q?xRgT8Tn4T8LP+VAYPj612rlD/onClyUsdGHmzDSvMANEKpSOes/pv7U1R/xg?= =?us-ascii?Q?fQvPFPznYkN1uxMSPeEhT/GAvYsdbR/5eM3U7qafRIFOalSF90wlhNukpE6m?= =?us-ascii?Q?o+RxOkJ5OULAJf7+7pS370pG3c7jL0OF6Nb3zr59xg9SPZhdzjjHCJuiX5HB?= =?us-ascii?Q?6lJRjUM0jXw5aXWd6wXimnOcScGGwPWwkLsb7of5MOy8sZLrlT38nnxcOkJ5?= =?us-ascii?Q?IhFTiUF9aucOFAyzFHeUD3Td32HUsbsrS+0uNkHd4LJlwWRJ9fQsdsP7e/qm?= =?us-ascii?Q?bmPQYxWMnz4PTBLzvr52UVOzHkGiJKhcorgmMGIQdbZLaH5fqhZq4ufxP6pI?= =?us-ascii?Q?wSstF591He9T4+gxag3Au1oAT/rHTNCv+LCqmN+bjdYgPl0PVJZflfhqBB6Y?= =?us-ascii?Q?F/bpeK1rEsoQW1yxb0+4MHi+pjav5Y0+qCfFYnpORSvnCRyimjFiL5ztonfX?= =?us-ascii?Q?MB9NZe02Slz+Wxcoj/SQrYaSgArD04z4sDV/c09+SipABueQB9+MDF8yBrfW?= =?us-ascii?Q?xmgNFZXqG4PN7+XgWV6Hvj6Wwq0PaajMwQ8HIn1+EdAMxPCl4nS0XViZetDV?= =?us-ascii?Q?Nwe0i4lphuZpNngMMBLSeql3qXkJ9kndwPD7vlu0SfT4OZBVwnBPfwSyaMUG?= =?us-ascii?Q?CikqqoQZXQ3ykNGMswWavWA1?= 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: DM6PR12MB3753.namprd12.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: 68c555c1-5d33-46c6-2677-08d9564b25f9 X-MS-Exchange-CrossTenant-originalarrivaltime: 03 Aug 2021 06:51:40.6238 (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: z5FK+Jliv7pRFmyEWE/VZ+HUG5xf9bwvZEXA9qD4BmLr5fGdjZEyN+QBp8nOYpyPw0UKth0KPm27aqvqbR6LgA== X-MS-Exchange-Transport-CrossTenantHeadersStamped: DM5PR1201MB0076 Subject: Re: [dpdk-stable] [PATCH v2] net/mlx5: fix vni matching with non-std port at ConnectX-5 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 Sender: "stable" > -----Original Message----- > From: Rongwei Liu > Sent: Monday, August 2, 2021 15:21 > To: Matan Azrad ; Slava Ovsiienko > ; Ori Kam ; NBU-Contact- > Thomas Monjalon ; Shahaf Shuler > ; Raslan Darawsheh > Cc: dev@dpdk.org; stable@dpdk.org > Subject: [PATCH v2] net/mlx5: fix vni matching with non-std port at > ConnectX-5 >=20 > In the recent update, the misc5 matcher was introduced to match VxLAN > header extra fields. However, ConnectX-5 doesn't support misc5 for the UD= P > ports different from VXLAN's standard one (4789). >=20 > Need to fall back to the previous approach and use legacy misc matcher if > non-standard UDP port is recognized in VxLAN flow. >=20 > Fixes: 630a587bfb37 ("net/mlx5: support matching on VXLAN reserved field"= ) > Cc: stable@dpdk.org >=20 > Signed-off-by: Rongwei Liu Acked-by: Viacheslav Ovsiienko