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 9AF81A0C41; Tue, 3 Aug 2021 08:43:38 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id DB58D411A2; Tue, 3 Aug 2021 08:43:37 +0200 (CEST) Received: from NAM12-BN8-obe.outbound.protection.outlook.com (mail-bn8nam12on2066.outbound.protection.outlook.com [40.107.237.66]) by mails.dpdk.org (Postfix) with ESMTP id 5E60940683; Tue, 3 Aug 2021 08:43:36 +0200 (CEST) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=ALR+bH1BB5IlXxH6XVEfa4idfsOl6NxWACsxw316VC4626KCd/YTnHd8Vi47o3sgbOk2wNauLGB1h93doCqVy+s9HGrAi5r0vH/Dcule5BVdNT2vpNgw9nC+dIJIr8/vOe5aA2u+206xlPMN0KFDGxcy8GwIJmdc0e9yMuunlcvZ8fPZ9us68RZZjPZ5TyKsZA+gdpenInyfHZJibIVCfEidEupGV/89hQajM9GmsMD5I7By30k6xoxkxeG4q6xx740Q5WKS/E2f2Z73y+z4Jm9swGnYppwt9RHwAked9OpEgKMllevPuntiX9sB3JwYZkMl/3sM7fFtB34VygqbCQ== 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=FdZdN5mCjbNrtVl5T5eQ81Gtc7hegxyXR8zA9RiWAJA=; b=evMX6umXaRz4Fql2VCCixiDh6QR2EyWGnYtThD4oodcrjV0Xqr4Xc9QF9L0ZL3Y8Njc0jdEzmNky9tshLL6lqFXpoSian/6VxTuL6IY7KJsPqMW4dVwD7EdXqH2A4bj7xA2wxbzeER0C3QC6ASYCsobJxyK3MbGCvjtRnbAb7cEKt4M0TdR7fIX0xhXFn38c/V7gT4B6zYtTkJEzX/CqhXoZQEoIr7qHrvBduJMqJxBxthaRtPy3m+NL30YHJIdI8Bw7fxv7SoBpvjlituZRsDPw/0I1yXswbEBoT3VW7ZcVtgH1CmDxP1rAqb/S8tQ2p1EOd+5p1npZYrrOTuGJtQ== 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=FdZdN5mCjbNrtVl5T5eQ81Gtc7hegxyXR8zA9RiWAJA=; b=ppX9x2bh5TNf4DBgfVE/SUcLsfRXFLftSJWapgtsC262N26EGRwcFHP3T0UIr5cIj+6oKT0wab8h8eyNK5WNZjyIHzivhWwvjsZyLIPg5u3WgW+QMo/Dvxezj4I86rS63+cqnWcA+B7TEOLzhB3bmElRR/SUSkaHLMyY+B5iXNzMDl/a5t9uOxFp8xGuzOWO0j1Mpgk1xlI4BQ6psHc+9y+JmffsILcQPBCA79BwxzzYzDBuYOeAo42j9RO2MmYHLnRydaaLOKXc+lqE8giOIuTGIH+qrXS6Q/jksb4yrtSB9hH7Hgm/RbwU+pdfVjiVGu8T5oUTWTpBSAeXLGghBg== 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:43:34 +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:43:34 +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/72ZKthVlHg Date: Tue, 3 Aug 2021 06:43:34 +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: 0a75e650-4eb8-4ced-5391-08d9564a0438 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: sFIo0CjIx75YO7oUljB2FJ+hJFV7qNMhaRHUxlfyWjAVcUwtHpccWXIKeN6inKY9chyfDvTKUIr1KAkey4eKhYGRXqHdggw/uUnvlu2prNcY7+xQeMgQTq4eQri0qAZia9Rr2lYqD4kPkqWlQt8Kx9U5knMlP11UlfdBIqbXfBdzWxV/siwfm3h7orV828xrTmC0yc9D6Xo2zMj+foUJ+OTsh7eL0EHnbkLc3slfrI20URItS8UhKQOS3fRepwDtsnO4sFcLktX2g/pnt6I5w4wko3qKSJVll7mgnQ/hobc7K670bwcNie+SykVTF/CSAICXPw7Hre/3sztxGmYJlcvHiVn0fxmMhGWYm4gISEw34n0NiRjvOBs7LrOrOc2KR6d0Qb9j65YNy845dBQfDfGLB9JT/+ra5lfYO3uQ9NNZ26jtp0VbUGSFbsXSKQFAuijTxyZhRmQZ0G2RCFm83uuEfltHiSpk4gva7iqSkiLAFmgT3xAikao7w977sHCahlj6ma7B4EZgu6+xpyAeGfYLG13T8PcjXjSocp28GXdVNpNBna+blzNkYk9TBwAdRL+7MbOsg6jdUKZcW6aCLc1zo/Wh2zFBHm3VXzv4mnuukR8J3EDohYphv8KR1OMSVIokoc4XzS6CSa+nAdpcPjS2UitajlvciM2EHC2AR27hnOkUD3oMkCsH9m8859w0nwglLhDd81nzRbv0W4knRw== 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?Lj4CgtboOXg1DusAhElFj4oDQvU0UeWymVoJvAM2MyIaEtRDR4iirrFwsIEP?= =?us-ascii?Q?5TP0frNlEqxP6egz7Ecdli6mQ1BwOjMIWVuo+W4lPpFSOUJVd6vSc+Pbtn0P?= =?us-ascii?Q?LThA5BmJ9weXtAEA500qsfdHYu8ID7MbswGIporpxGyly6VuvssZxgmDzMe0?= =?us-ascii?Q?AH5SqpC0HpCMnjpiBXEw69nfHx76K57rNJr92diGCdg8KGufGtA5peIuCu2G?= =?us-ascii?Q?apSRoA8RPPEmo0lOq4dQNQDM2i4K/dJy5XmZIxRQdEHMPsWFeDt1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EYFv558LC3m/i9+ww8vdghoGEfRJ?= =?us-ascii?Q?aWcwVTXS8wt04jOMJ4XhqRv93UezxP74N3v9LQm+edVdCJqhpnpjqJ6O2Hm4?= =?us-ascii?Q?/gcHlEdf5GGrsc6jiriT8MnnbGs4cTMzBaVdJUJ1MdHy7T/4auQqHOnqxfth?= =?us-ascii?Q?R97eOcyKMRTeO321KIKTEzpj?= 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: 0a75e650-4eb8-4ced-5391-08d9564a0438 X-MS-Exchange-CrossTenant-originalarrivaltime: 03 Aug 2021 06:43:34.6055 (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: l+LIDD68+Dvyn4zth4SAqHB6uNobKUhFApNQc232BG/+M4FWcA4aMiG1oz2yAN0tQPQu3E4Uxk+ZPOOkBeH3ag== X-MS-Exchange-Transport-CrossTenantHeadersStamped: DM5PR1201MB0076 Subject: Re: [dpdk-dev] [PATCH v2] net/mlx5: fix vni matching with non-std port at ConnectX-5 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 Sender: "dev" > -----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 Signed-off-by: Viacheslav Ovsiienko