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 99F97A0C43 for ; Mon, 15 Nov 2021 08:54:22 +0100 (CET) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 8AF7F40141; Mon, 15 Nov 2021 08:54:22 +0100 (CET) Received: from NAM11-CO1-obe.outbound.protection.outlook.com (mail-co1nam11on2083.outbound.protection.outlook.com [40.107.220.83]) by mails.dpdk.org (Postfix) with ESMTP id D6D4240141; Mon, 15 Nov 2021 08:54:21 +0100 (CET) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=Uxkt5LMc16dWVgrcCJDLsx6sVHgo2+gopMu4ADEWE2pnDCTuburAp+3/nsMEHdViVy0Mq9GFkoE7rxfpckqqeutU3TS9viPjNdsYSgzBbvS98g6MjTdRaycZ9u9RscNzp/qirb3MXWCwHIVaOEE9TwNHj9bNPsWilwbn23UqFuxy3ra2P7m+ozDX7lusTsbe7WOLPF7wmYpH868Zmxe1Rk+HKTbBmm+KbSQa+2vDdsLfhhNSGKCsl3mKPtpKAer/mB53mOkD6Ik65OPVZY1KzuF3OQNivMvXU/+rF8L6sZHj36RtPS2pW/HLva491bWeD5Y4ztfXLWz8053oKrqbPA== 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=bQgNaVEDD9uMsMeEUSXykY2+d5IrG218Zsm4Dmw/PEY=; b=ZnETn/1HJ+wMz9QmMQrixNoBeo8PSVcysz3DEnwU4064wwCjNpThBLDI0mxOBo/cc7ZuBlc3FjkKkazu5rReWiJt3VphEetbVpuoD7n2cJSzMpnwlwIfEIQ8RhHOhU8oYVTi13InS6jkkirjJlbyE8Pr9IjGsMvJRDBT+wWxK/+XmFvh4eNTZLfAgKytasJUgqO9ctOW9y5OKzRohW5LHPyn6sRZoYri0vVPnpPcabXUGIlFzcXaVqiWW9/i/VUg+3/fexgzB1HwQCuvaXHZ6m6QYIhbLI/qlmkJjJJZu/nxqyKp/ULkG/5A1unPInDtXEwvnaeYpLzdM03s/9Evig== 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=bQgNaVEDD9uMsMeEUSXykY2+d5IrG218Zsm4Dmw/PEY=; b=ORkdrIgR/3x57lpVIsZH2NMPf1/Lk1otDiVZmm8KfQegz6zabQc835B9Wm623IFKQG8Wi5O4WjSevgyzfDZeA7yK4xrwHfOjGuT6yD4+HEc0DTR0gQXN32/Hvdt3qZO7YsKtbBSPpoPclswjnZs/45PxgIN+D4GO+OSpg+Qn2KK0NUWbOO7Ln1OiNFvjnDN3RCJame4hl4XdGL/uMTESQUWzAM531fmMadb+3bolkS148BCravr2dbtiORMw0/VN1EDnwVrVSj8N9MKTEY9cco5D4oWEDfQqBIxAB3aLhaDbJM0u9glVgblKX9ZY2khjh4oab99XVzMMUc+X7aynJw== Received: from DM6PR12MB3753.namprd12.prod.outlook.com (2603:10b6:5:1c7::18) by DM6PR12MB3849.namprd12.prod.outlook.com (2603:10b6:5:1c7::26) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4690.27; Mon, 15 Nov 2021 07:54:20 +0000 Received: from DM6PR12MB3753.namprd12.prod.outlook.com ([fe80::8dc4:eba4:b43b:7d59]) by DM6PR12MB3753.namprd12.prod.outlook.com ([fe80::8dc4:eba4:b43b:7d59%5]) with mapi id 15.20.4690.027; Mon, 15 Nov 2021 07:54:20 +0000 From: Slava Ovsiienko To: Gregory Etelson , "dev@dpdk.org" CC: Matan Azrad , Raslan Darawsheh , "stable@dpdk.org" Subject: RE: [PATCH 4/5] net/mlx5: fix GENEVE protocol type translation Thread-Topic: [PATCH 4/5] net/mlx5: fix GENEVE protocol type translation Thread-Index: AQHX2W1wHoGIOZODdU2adlmk2BX+BKwEOQWA Date: Mon, 15 Nov 2021 07:54:20 +0000 Message-ID: References: <20211114153617.25085-1-getelson@nvidia.com> <20211114153617.25085-4-getelson@nvidia.com> In-Reply-To: <20211114153617.25085-4-getelson@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: e929127a-e63c-4c0e-f945-08d9a80d21c6 x-ms-traffictypediagnostic: DM6PR12MB3849: x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:6430; x-ms-exchange-senderadcheck: 1 x-ms-exchange-antispam-relay: 0 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: 6xHEuQa9doy2QbXZv2spdR5xJ8MkwVsW53IgFqpExe3u6rTrEaz34SPF+EQjkEWVdcq2cQvzh4BTQ59fRr24io0hd3Jpz7x2Ck/bxdDrhmLkFRDp9BfhlcehC2cLWnF3D7lBzhNEehdl1icqCItwX62n+hgTFjtIY+xUdrdaixwRmADwELg6afkSJAdS1oDn9X57sg6PJ6o+7u7aWmUrWI5Mk5Hx71IIHCMouHFboQCz08eXlKkSNE5SjWZZKFOPJSPHPZX7jUCTMWvAfsxkss2gdx3QKSk/Ihd6YMiD4pD5Ib5YbL4uHQ3kdfiLcn+pUqP8xVBJU5hSL3grbPp8/b5NBU0xmt6avjej8ETdsrLChOl4ct+ZJDGikI6W1MXE3AuJdo6KAMFdXRxdnFd529NDeWotka3HD0wu5/W98cHfEnc/OMZosh1xPqAO6FQiFj3sJPJGc/slSOBKwIsnXtodVeoxYgdMaSTtqp+II6vsdS20fFYAIz2D38wOQoun38teu525n+9mBTMRsrUH2zkBH3MBOyW4H7Kd8Eu/9TT8DJ8xQ/WlyK6YA5bQ6f7A0SFZTE5fLdXC+l+3KrwKpL+W5ef7+kErXMAiyzYDXH0OeuIbeQASgwbllft4Mc4c3pgiQaWI/OwDPS94SHnGnknoWKbtU5v6Cyp8zHEN0cqqgMJMiHsgHjCmcsE+VpLr8yxPyFFgxnJGTqUs/vv6ZQ== 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)(366004)(33656002)(508600001)(2906002)(66946007)(66556008)(8936002)(76116006)(186003)(4744005)(4326008)(38070700005)(122000001)(450100002)(66446008)(64756008)(66476007)(54906003)(26005)(110136005)(316002)(53546011)(6506007)(71200400001)(9686003)(8676002)(52536014)(7696005)(86362001)(38100700002)(83380400001)(5660300002)(55016002); DIR:OUT; SFP:1101; x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?us-ascii?Q?b3iF0VIEAgvR8ceBxXtXAfI+W9F3K3qiCPVK4Xv974QT/cypF7EIsn21M2fR?= =?us-ascii?Q?6hgVlUKtjZiXwPE2+pwom2n2Q5D0gUDlUl36w8UBg1zj64q3IiCX7geW8tVz?= =?us-ascii?Q?O1OPmlhP5lw2+F/F0BGW4DVR+lbposJ9HLP1MZ/vA9o4rU6oN/fq85OgC/dT?= =?us-ascii?Q?7kJIwcxzxybaolbpAUVDhKzN1JtfGgzuUR7Hhz3ro9JlGDaE5Ama0t2Ucjiz?= =?us-ascii?Q?ARwMzjcxe5FbWirCyRjMwAsW0zb68xeQtcRRTt4SvvPHHM+EpAlKw+zj4VFZ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z3uH9cBzspNq8WShbbZu/g5GxbJpX0EZMx7GkFFtHgICakFGRa6CSTWQ?= =?us-ascii?Q?GFzcA2UcBTqDJO3s9D20+swn/sFmpIWhqSJWWZ73CwfeQe9odhFisEh5rOZD?= =?us-ascii?Q?emGAoV2b5RSovJDCR+Y8W5Tt6VtJOQasn1Jlg/VY4E2cCtsRy+SBPwdTX5rV?= =?us-ascii?Q?FPShCpDxu7jnwoEISrQjo+6AuT9KojugrflBX1hqVg7KejwIhh8v6Juaf+up?= =?us-ascii?Q?0bRS1TR+All+9z9zxQf4Tb8R7+/GaDb4R9QpPaYHZxinYpI/JmdNdWkOJCJz?= =?us-ascii?Q?ks+xPqab6lWOaQlfQ3f46EChgBK9teeEPrCFpdR3Z7VfXwduHG0PCHEBzsHj?= =?us-ascii?Q?EyB3o78vQbkrhZNk4PcyquGADxjprctEwgMe2y4bgIEjQQ/V8uoR+eHLmctj?= =?us-ascii?Q?ZV4X6KYc5+7gMoTKJGIn0Em9TND6EH+06uksV3IbCbn40Dq0qLsxXJCK3yAW?= =?us-ascii?Q?2w=3D=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: DM6PR12MB3753.namprd12.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: e929127a-e63c-4c0e-f945-08d9a80d21c6 X-MS-Exchange-CrossTenant-originalarrivaltime: 15 Nov 2021 07:54:20.2676 (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: uC8GxL7uLfyX+CU+YN3C8L6krFdnrFo6sAlQQz32G6J300Ce7gprBXLWxqbvmZgJljWgb21Zi95AaU+ScqNJgg== X-MS-Exchange-Transport-CrossTenantHeadersStamped: DM6PR12MB3849 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 > -----Original Message----- > From: Gregory Etelson > Sent: Sunday, November 14, 2021 17:36 > To: dev@dpdk.org; Gregory Etelson > Cc: Matan Azrad ; Raslan Darawsheh > ; stable@dpdk.org; Slava Ovsiienko > ; Moti Haimovsky > Subject: [PATCH 4/5] net/mlx5: fix GENEVE protocol type translation >=20 > When application creates several flows to match on GENEVE tunnel without > explicitly specifying GENEVE protocol type value in flow rules, PMD will > translate that to zero mask. > RDMA-CORE cannot distinguish between different inner flow types and > produces identical matchers for each zero mask. >=20 > The patch extracts inner header type from flow rule and forces it in GENE= VE > protocol type, if application did not specify any without explicitly spec= ifying > GENEVE protocol type value in flow rules, protocol type value. >=20 > Cc: stable@dpdk.org >=20 > Fixes: e59a5dbcfd07 ("net/mlx5: add flow match on GENEVE item") > Signed-off-by: Gregory Etelson Acked-by: Viacheslav Ovsiienko