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 CC962A04A4; Wed, 2 Mar 2022 17:31:18 +0100 (CET) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 5AE7042715; Wed, 2 Mar 2022 17:31:18 +0100 (CET) Received: from NAM11-CO1-obe.outbound.protection.outlook.com (mail-co1nam11on2076.outbound.protection.outlook.com [40.107.220.76]) by mails.dpdk.org (Postfix) with ESMTP id 1E83740141; Wed, 2 Mar 2022 17:31:17 +0100 (CET) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=ZBTaPE15aCXd5dvTcUEJulTQ02N9cp4g+5IpQD3FCM7tlxr8K2zJVjkG9ag1KqnsCxPX9izHMFLlICXFcER51qbTAVQzGM2GRNG59pfzEs7fu5zH0Cao1s5uuk4mOUGnu2foUpEtjunx8i/bkLEwF3Hdqq9I7JqUaFKcrhGt5y+mHqWbHATMzPMREZOW0ZkQZn3R+EpXBGM1WKb49MwrecBGQ/eKy2V176xag8RoFyxPkB7e5pl9SkgDucW/Dr0vbcUIS5wEhKgH4Vskrcl3hTVvi+VR9kdKe5VJrpMyk5PFdkTILhSN1GuF8Ji6PGNRk9j89o+3/zA4NE2dTFV9zg== 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=LGBNLSpzpYbdVp8/jRzxBmNnl9n3ePcDfsWfydBIMWU=; b=bxuzCZFSBISEpy7Xkp8j/+tLPEx/c6BQ7oeWL1GuTnAZUJEdiIt6QP9bCjsTSXRH64Kg2MEs6OpnkOG7uihASNw+78fX+7d96VCjFESUvGwrpF8BV6saXiUl/SthxPOMGRGGm06k8EvHdh/TzjHVF9ZPTYPc4xmR00ZFJyIa4oV5PG6h1JOS9uQ3YSEFydTcissop7HfNv98aWzFXx+/Sc/bFHKK5C33fqmvSO5AIWAWHLcQKjIaf18mZRTkunDCMK4YSNzIP47TAp3kf+OcO4w5bpi/wC9Z8tm6uFNk374VYbQuu7+A8W9Gimo4MRVb4DLa6KAEyZg4zykfHETrwg== 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=LGBNLSpzpYbdVp8/jRzxBmNnl9n3ePcDfsWfydBIMWU=; b=OLEj4fRsMOA4aiJyndYAn0x0sac5a4RZjR41UvlJeuJFXg8YwkcnNLH5jim5mHm6901sSBk+GTc0oPaMgT4xxhi/7aAH7EOMDUBzWINf6JgSSk7j5MUeSxTSQGjl70+MAhb4uhF9rVVMFYAnKodq+vkE2syMNpqCBKOLhwFoTdeVEtR5nZr10APXzk2rHtnbUS+aEVUKKHdqGKUhXkZYKdkMsJ3MhdB22ttvHZm/i3Jdosv6CY+YkQ2uD7tFswt6nDJJxGVh+gW3QGzJG51A6ikxbmR9D/dMswhFDxnXLx47hO3nlY0JlEmWiVGX41ovwoA+960EiEaQV2P8lUXHXA== Received: from BYAPR12MB3078.namprd12.prod.outlook.com (2603:10b6:a03:a8::31) by MWHPR12MB1535.namprd12.prod.outlook.com (2603:10b6:301:5::23) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5038.14; Wed, 2 Mar 2022 16:31:14 +0000 Received: from BYAPR12MB3078.namprd12.prod.outlook.com ([fe80::e045:deb6:35a2:49fd]) by BYAPR12MB3078.namprd12.prod.outlook.com ([fe80::e045:deb6:35a2:49fd%6]) with mapi id 15.20.5017.027; Wed, 2 Mar 2022 16:31:14 +0000 From: Raslan Darawsheh To: Gregory Etelson , "dev@dpdk.org" CC: Matan Azrad , "stable@dpdk.org" , Slava Ovsiienko Subject: RE: [PATCH] net/mlx5: fix GRE item translation in Verbs API Thread-Topic: [PATCH] net/mlx5: fix GRE item translation in Verbs API Thread-Index: AQHYLIkl9aUfT3B8pEKIsfadg0iukqysTLYg Date: Wed, 2 Mar 2022 16:31:14 +0000 Message-ID: References: <20220228095301.4985-1-getelson@nvidia.com> In-Reply-To: <20220228095301.4985-1-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: 7749adca-d9c0-4303-b3a1-08d9fc6a11cb x-ms-traffictypediagnostic: MWHPR12MB1535:EE_ x-microsoft-antispam-prvs: x-ms-exchange-senderadcheck: 1 x-ms-exchange-antispam-relay: 0 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: GFy/gut7A024lKyHSe4FCmKhg+FF8zYE1WSo4DAqXX47BeWCiuRWZQDSFlP9JBd66N6QGkaS99ziYDuY4xESf3lrwkC5fsvrMkjmJy/OSgDPVIs6er3LNFt6x9fLBEkUzwX7+wGcCgMO2dHcNi6X3opT0wgjVBXwONHwkXbFkjkM1Y359W/yCM99Ym91FTL1QIp2MUwx/mDZc0U3167IVYkv07s3fLA1ma6ysGwbuPbwBxXmjNe5dk3GEfH0ZddvJ2OrCfyGNcMaQJdlOBLaDSNyLeVA+41rvv1Ze5Bx+/Ix7K0JHX1K2zJQ3n1R3Nuo2q7VZ7eXEz00mE1sD9lLHDQrJbMfoytNy+6KwHrlyertcwnU4gpFYcULClN30hvo4V6PtoFxyIRki/iq5N5UCqrj/zpNHC+ipSl2HMviXqUO9PKZlJ18APyvFXfLd/9z8A+GkFTbtE1P1/SB5maTqxAevtvf833YVo4RHU4qBQeVj6of0fTsPICa3WGjpzVt39gi9EvD9eYc0LsKqbhAH5tqGDyaAULihcQpL7C+5grrImbxBsE3gS7EVRadqpHr7gotwvPxU1UBG5HMSHdZNd8UOl7aSb4+/jjmFuyvqIhjzf7ra2lvMsdQmdrWy/t7pQmSwRrlZ/ilqkXfRktN1XZAkXzzTdffl7gLE+WfVqq8EGuuimJb1GMLImTSYcerH8sdYetzm/egr8NJJ9qesw== x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:BYAPR12MB3078.namprd12.prod.outlook.com; PTR:; CAT:NONE; SFS:(13230001)(4636009)(366004)(66556008)(76116006)(6506007)(508600001)(64756008)(2906002)(4744005)(7696005)(66446008)(55016003)(71200400001)(33656002)(66476007)(66946007)(86362001)(53546011)(9686003)(316002)(450100002)(110136005)(54906003)(26005)(83380400001)(38100700002)(122000001)(107886003)(38070700005)(8936002)(52536014)(5660300002)(4326008)(8676002)(186003); DIR:OUT; SFP:1101; x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?us-ascii?Q?lmOxQjpJYixZHa3aZ2PN/dKo1vwiW9M/52IgmAHZNcl2Ln5YpzsFeOkNq66v?= =?us-ascii?Q?cycvs3AOLdh46nRc1LegRi/2dYdsTPZLn+xYU3x0RXt6gvZfquJ1GL2bLFmh?= =?us-ascii?Q?UH0Mx90alRRUg/hdCUX4tm0ZjSyHfV8xCaXnUjJpaLntNB/7L2dje8YuEw1U?= =?us-ascii?Q?sB+xDFsPWXR+B5mHYzG1Cb62ia220JRDoFKWmc+kr4ZRW2tC8VZB5TVM+6Pg?= =?us-ascii?Q?MQUV/RUVXCcaTLc0S/H/CWSzEJEfFgutK4EpAOfWJ511YOgm+ARmPAhGvdiC?= =?us-ascii?Q?xBs5eAeEv67IEzQyBPGNnhCFkCGDOrglIw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1qs+JQyiWdvv2RP6yeX4rbPNaUZamiWlAryCV/bCQ1h+4kedZPIwU/5c?= =?us-ascii?Q?D91WRXhM+FzYl/f4T2lsQ7Zj+vwh9HxLJMMe5kwbVG8qqvRBQ4Q3LbgnzXsD?= =?us-ascii?Q?mNCWOEGFMbQ409Y69TzM0Ikt8IBngm/GRAibahqpChXtLFh3DoC+5hhP7YJx?= =?us-ascii?Q?bzEXLVZ77DB559t3hfWMTds/DTX2oYNeCW62igbZLw2DCI7wSAjd16LV+ewD?= =?us-ascii?Q?N8pIq1Zr6TV3VIWMShKHKTzp6iCGMyxKyLy75SSfR/cpR0baNCuixSGOSA3j?= =?us-ascii?Q?f6lsJ2V+RyLl0H4qVv5/CApsCKEl9IaARaaOrjgnLWlYjQGAoC8TxeEkBrQg?= =?us-ascii?Q?tygeTWhTJ9jDPxUQCeTVdasXfd5ThO/wrO2257Gm0h6dSJB46QAsp9VSPVqA?= =?us-ascii?Q?RyEL+v6ayif2dUXltBXyA7w=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: BYAPR12MB3078.namprd12.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: 7749adca-d9c0-4303-b3a1-08d9fc6a11cb X-MS-Exchange-CrossTenant-originalarrivaltime: 02 Mar 2022 16:31:14.4306 (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: vgzwdmKD73FbT71y6MIwdUXEdWAru6/VVenx/LYBTCDa7pDYu4jkYb2skSvZX7HXksChhlkwrnovT+X+seqhzQ== X-MS-Exchange-Transport-CrossTenantHeadersStamped: MWHPR12MB1535 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 Hi, > -----Original Message----- > From: Gregory Etelson > Sent: Monday, February 28, 2022 11:53 AM > To: dev@dpdk.org > Cc: Gregory Etelson ; Matan Azrad > ; Raslan Darawsheh ; > stable@dpdk.org; Slava Ovsiienko > Subject: [PATCH] net/mlx5: fix GRE item translation in Verbs API >=20 > GRE item translation must set inner protocol value. > For that reason the item is not translated inplace when PMD translation > iterates over flow items, but moved after the loop, when all inner types = are > discovered. >=20 > If PMD does not translate GRE flow item inside the translation loop it mu= st > save the GRE item for access outside the loop. >=20 > Cc: stable@dpdk.org >=20 > Fixes: 985b479267aa ("net/mlx5: fix GRE protocol type translation for Ver= bs") > Signed-off-by: Gregory Etelson > Acked-by: Viacheslav Ovsiienko Patch applied to next-net-mlx, Kindest regards, Raslan Darawsheh