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 1A911A0C43; Mon, 15 Nov 2021 08:53:19 +0100 (CET) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 084984113C; Mon, 15 Nov 2021 08:53:19 +0100 (CET) Received: from NAM12-MW2-obe.outbound.protection.outlook.com (mail-mw2nam12on2056.outbound.protection.outlook.com [40.107.244.56]) by mails.dpdk.org (Postfix) with ESMTP id 136B240141; Mon, 15 Nov 2021 08:53:17 +0100 (CET) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=B23/Af5SEjcKVRZz8bISYHsoz4wA745JYSmwP9MrGkFi3zd01Ag6vNRSMbEpqsYxwSp73whaClA6IA0vrvSR0mLoC+yAIOTR0C8hUcI0WGQfflQJn+AqfhOoN1ugvVV+LmMnQAn7/FV5O/Dkgegonzt8RlxU0cH/2Aw6YMFFPIqr53eTGTXWv8XM3drisp2Mymq+KyGxDo2KKm4goWVvSKkKq4wXVxeeXtFDgUgOX04A2g2PW0Awb53IJqh155UFkRDDq0OUOuwADr6GQzevQwlvD0kO7S5Ff8Dpvt5f/RSph6qUYVfew/FQei5S3cKr77HmUuLtNOuBPbofjv02Lw== 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=ANOLk0G8wQ3STFjeXgFRZj5n53SvbXpV47NZZW0PHME=; b=M0uvfCO2GPUQstSs+DL8Yizf/bTvSP3zZpGLR3i6gFWOdptE7ek1LmwDzlfu+zVLLcpAGgZ//SfEPOWLZj+bxMYSVgrJmjkNBQHL81yOQyc+nVWKc4nHr1BYCoFIOHSUJU3/ELdvQI9bTEK8sJpr6UBdMX5stFduPvASvpLELl8Pfpx7U5sU62wYj4FiQlVEQ1FnyXFqLlxMoQnntHtqlxNZYz4OgaRo252iU4IDmUQzw9kT0+cc3CXbHHQ/ZHrCQCaqOi+d0q6b+5i6e0k+atUc9gk33TUdZM5/VO4Ow1bTuA5yKCzn9CDuVCoW29AWX8iQIyR4UiLZiKtUc5K/KA== 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=ANOLk0G8wQ3STFjeXgFRZj5n53SvbXpV47NZZW0PHME=; b=ZTCnnIUbjJ/n1Ma+5aesO/WSHzVdl555ANvPlx/6NzLNS/5Ca51X8u/k0vEQmASkgRFWRXfG1H1fkZ7NZXKxc+5i8/inM0R0untGL5AchEDtckgz2R08AJ9fsVztgbCeHD7qg0ht0SmsKSOSn4irXVXGmzd6nDXHKcZiDVMcjtW2+9QOTagCMIJalUSsfXeSrlqxJw/ATNGEGHWwkky178OjRLnVwg3vZlCgwRdYyOleP0mFLytHDOfxMs3+5VqygQWowFGecsvk85vBXPiY15N+RqaaobridaqzmUXdUTaD40bAU4YIveXTQ61FwfrHDtA1bTOcs7yz0SxeWMj0KQ== 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:53:15 +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:53:15 +0000 From: Slava Ovsiienko To: Gregory Etelson , "dev@dpdk.org" CC: Matan Azrad , Raslan Darawsheh , "stable@dpdk.org" , Yongseok Koh , Ori Kam Subject: RE: [PATCH 5/5] net/mlx5: fix GRE protocol type translation Thread-Topic: [PATCH 5/5] net/mlx5: fix GRE protocol type translation Thread-Index: AQHX2W1ynyWdq/Ob5kybPDoy21zx7awEOMWg Date: Mon, 15 Nov 2021 07:53:15 +0000 Message-ID: References: <20211114153617.25085-1-getelson@nvidia.com> <20211114153617.25085-5-getelson@nvidia.com> In-Reply-To: <20211114153617.25085-5-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: 6b3ea4c8-0a79-41b0-59ee-08d9a80cfb36 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: yG88g0/17ixakniNctA9yrTUZ9TuZIaVgZN0DGpqA4XBge4NUt+LClA2MErqPXUz+neHhUcTkGuPmSZqEMDN36FYXC2OunjlgQch5zX8Vjhvwa5vTe8DGK+COQoSsCBcfEWrf9n7/FSsnLpEUDWnrIzuD8FxkZfMdw4k+P2MDkWbIoVvtjrpw3E0y2NaHIOJB0JrJQN2xXts7F0w6wTiqhDCqh6K/fqbLzyQ0pmjmTcxfcYFxi/BWd+mOGhQaTMC+HBvSXfosZJoQWWOoUjmzfYt07cplVk/Qu+TFrYbqVTcEn/6TD8PhJnl1Q5qJ9wImzbMeyjyT3hfqYKduxzgaVNR9iU78Mn4D/69Ft1mXTKsF4gaMtlcnNhwfbcGZ5HvLqTTHVxxpryYubmA2wpJi3jNInaZpWj0KNaqn8dS8n2myLo1R+3El7yQZpY7ejZrzG0BrEMzFAHRs9Ilv4m9xCtUWIF/uQw1r8h2ufagxHucPfZlXWxjqsRnjtph/pBdBrGn/Re06mxruYN4FixOoJcgHvgrw9Eccr+erpxza1UcgRYlqAc0qcuzcKQxZH49onDdlDxVEpERitlpj5LuUyOz1YC7h1cFeCN/4mnA7SBIv8B0A8Yc+LtLDuv8pVW/klIbsu5KJeZK+KR21RQ32FpHaiajN5xfgLkwJu1tM3cqtrqSojSZt/bihJeBEaxh1zVFMFxEVXRXSJyRWPiIvQ== 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)(107886003)(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?DKX2XdCE9wG6ZmflJpSV7TonLI967mpZ9EfA27h/5GZiStoHbJJBPUBmy7Ft?= =?us-ascii?Q?V6CAqFZntvEV51rQGB2FrP7APWWxpSwMUmTmiqeZ2xplCjGz36lQ7haUMRJW?= =?us-ascii?Q?/mMKrUorqHtyHqgYHq0WwecILoJOljgCV3vl47c6Lu0QNagBrYNHIRawY0fe?= =?us-ascii?Q?G2sTtcHW68sgrKdtKz0p0CM5n78rXGvaD27cWRtO4XWvaOcwViQP7EXpnEkp?= =?us-ascii?Q?WPnxW/KTqgJN+ghklDSQuWXN+zMShJv3QX08qrlj1EtCd53noLr7S6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CfipZhmlia81ZTwzoscnOTK?= =?us-ascii?Q?1sZfQ2IcpKWoCtmI+xY8dWp4qJ6ye4bJZJM2lGeJInle48sD6i258Lijf/k2?= =?us-ascii?Q?Vbi4FWMMsmPp1iTLTIIqXcxDru5O5lWPZlvHIl65CV0MAb5ZVhJ942iFiJLU?= =?us-ascii?Q?oWVCLr2BnLGsXhq16lU02its19lFY4Yk2keGJd9djf5URd+paueWM95MaHh1?= =?us-ascii?Q?8SslB5Uj4vpjvnbbYB4ouJYKMKLL2NZ9hHFwv0UTQxSEpDlj9qb4DSDRoIDN?= =?us-ascii?Q?mZZ7V9pRDj0iFx7UdWSho9e8GYycdElMEh6JV25l5HQQTavnZOCkD3CilTgi?= =?us-ascii?Q?NNTqN1C3e3hO87l5AqGsGv6xKMxAs/O7hH/z+fnDTv0xEaJnydBUKZd1lv3J?= =?us-ascii?Q?8bx7R1mMZsUJbgPPyc4DZXmTBP6wJGWJVzdBTpwt7IynVkb07YjsRW7tMKJh?= =?us-ascii?Q?IA=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: 6b3ea4c8-0a79-41b0-59ee-08d9a80cfb36 X-MS-Exchange-CrossTenant-originalarrivaltime: 15 Nov 2021 07:53:15.5583 (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: 539hRrOs5VqAEspPoFPkf6D6NCxTsfz9d2Hrx5SWqTV/Lefst493JddbDDgkdxEG9dGrcCd/+Touwo2vMScc4w== X-MS-Exchange-Transport-CrossTenantHeadersStamped: DM6PR12MB3849 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 > -----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 > ; Yongseok Koh ; Ori Kam > > Subject: [PATCH 5/5] net/mlx5: fix GRE protocol type translation >=20 > When application creates several flows to match on GRE tunnel without > explicitly specifying GRE protocol type value in flow rules, PMD will tra= nslate > 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 GRE > protocol type, if application did not specify any without explicitly spec= ifying > GRE protocol type value in flow rules, protocol type value. >=20 > Cc: stable@dpdk.org >=20 > Fixes: fc2c498ccb94 ("net/mlx5: add Direct Verbs translate items") >=20 > Signed-off-by: Gregory Etelson Acked-by: Viacheslav Ovsiienko