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 C15DBA00C2; Mon, 7 Mar 2022 21:54:29 +0100 (CET) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 5F3304122E; Mon, 7 Mar 2022 21:54:29 +0100 (CET) Received: from NAM04-MW2-obe.outbound.protection.outlook.com (mail-mw2nam08on2048.outbound.protection.outlook.com [40.107.101.48]) by mails.dpdk.org (Postfix) with ESMTP id DE44C411FE; Mon, 7 Mar 2022 21:54:27 +0100 (CET) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=hjde0P0DGOG0ZROSYImfuSMQhoDMg5qf5jc2wHQTYzRj6OtUCqgdLE37QUfHBBi3r47FnxP2+UGhu2Tbwngx4YHG3bs+F3/3wZUirJklW7qMr6BHwmQJfCvTZhPLoX49D5bCAhqnZB1GLiMuiZkCZBifrNTKQHtt5tt9hHNpepl5k5FPBm8eV5BNe8gHoCQhVrWN/zpBWHDgV7BuEUr09QPEMK1P4GobcGGVRmXReqAABIH0EKbycGFzDdxSwTQzyqZDrttLcraKk1bhl6/8LBMXnXfr1mb1IxG4VbBP+TD9Ha20ghEqBH7S1mNlXM2L/5A4O+7jwkJcW3mcAWxBXA== 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=zNy1w0uSDsX6mCXzHu3ZGHbPAyXfyiXZXX+01boy0xQ=; b=mi2Ubd91/i77GS0HY2Jc+ipssT1qH5q2wuGvYqCkxZvPGdpgoDO5MD9NNezlbJ8nq+xwVvJxokdaks1oP0tBSIBiDswjrhruZDZqHXtXpZU27ZiT4KxBmYQ5dXjTBeJ0he4Y5C7T39ddFaIN5h946hBocP1wnVl4Qirtd14KErzA4q2CXN41EhZQdBg/8ta7DQXP1FbUV/vJqTaQTpqvlBwHEa5o3khxN8eu1TMsN/5Hd99iWF4c3lEf0j8XFAk5TnqjIPTi9F2CK7KuHTJrJ9lZsvsHK4QJPncknkx2tepHwnRfK6h4ndm4V5FEnQgbM0lCqyQEr9jrMHb9qZmBbQ== 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=zNy1w0uSDsX6mCXzHu3ZGHbPAyXfyiXZXX+01boy0xQ=; b=NKp0JhKi83eAXfVsfWjADmSULUdS4hiRIjkNyDkYcAw9N5Bh++2AWGBjEgrTaRXKVCBmWKcV0evNe4XD73cmIF4Bp9/DuDNulJJyz+RKmppVSmsoJadYbU5ig5TvQQfR/e1W5lUme+YnmA5JtGierAl2JYxVnjFjeOZa5aIQVzPJjltGV5nIn6Jf0v5kjykuo36CLoONKjUoOCKX92BNrFNskGAZRC8Cp/feek4UALsq7Sg0l5WEfIpHtp0UJMZZtxGcL0oILPbS5b2eBdrI/7FYxtZUUSh22/igVxoysSexthjkbH1g8cctBO4WjkQNez4W2B6wx9YiuFn+y+psKQ== Received: from BYAPR12MB3078.namprd12.prod.outlook.com (2603:10b6:a03:a8::31) by BN6PR12MB1906.namprd12.prod.outlook.com (2603:10b6:404:108::12) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5038.25; Mon, 7 Mar 2022 20:54:25 +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.5038.026; Mon, 7 Mar 2022 20:54:25 +0000 From: Raslan Darawsheh To: Dariusz Sosnowski , Matan Azrad , Slava Ovsiienko , Gregory Etelson CC: "dev@dpdk.org" , "stable@dpdk.org" Subject: RE: [PATCH v2] net/mlx5: fix MPLS/GRE Verbs spec ordering Thread-Topic: [PATCH v2] net/mlx5: fix MPLS/GRE Verbs spec ordering Thread-Index: AQHYLlgoZYJLrwZ/FE6Sez73YyJ41qy0bkjQ Date: Mon, 7 Mar 2022 20:54:25 +0000 Message-ID: References: <20220301102617.273824-1-dsosnowski@nvidia.com> <20220302170659.433481-1-dsosnowski@nvidia.com> In-Reply-To: <20220302170659.433481-1-dsosnowski@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: a022c5e1-42dd-4e81-4f41-08da007ca9f1 x-ms-traffictypediagnostic: BN6PR12MB1906: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: weFnaot8+zKe1tZ/UPhWWMY9Tv6ldfLqTOK6lXXWjWqVhBGdl0/v9AL7DuN0Sw6TMtLoSbp7e1fpbmJed7iYeScxHK5R7Isp4kPci/FT1Rzy69zkhkwxuQi2KL7K5NYpb+F1qo2siTw0zvf1bNUngaNKYnPqup/qjJQZlsMzRUoTVdp69ySZa+d/ugIVSEGuwQc5JBCK9bM8XH24SBrkV7b9OWzs6N+WFObTLx4y9Qgk1OOvcWb4T43sEbq/tOoXV5BtPmdiBzq42oZMGv2GE69wj2zFCEmrIX7mSWiliUGrQL305tjXHrAtAJns5iXLSPdphn9wStNaJGz6JKW6M5nb/dCk2ns/8JFzEqH3olkCKaIAEIfS/nR2EqCsOfYkXyZ/JPIO3vgCfG0A1wjp6MJIHSnF4JKGS0aFoa4DFYI4pt4rI3xZbXBAWF0MdssYfPUhSl/W6om4LUxCyYmiB8Xo2UaaV/Cp8scaLVxfspJC5UR+gsJ25ay6G2Silx0yBfsjoQUC9F+OO/JJbPABBM94gMYq/z0yRHqlp02TiGyfoOktJ7L1H0rkkWODXVNpBi9Je34VCfmGBDA9rdD1XDHz1y9w/vLLetVm+8CcbWLVWVMwpldhZY9PjB5DrnzeOSgaWPEfaBgm9+/tvgr+bEYiEE8R4HPHJO+mXu12STIzSI72LWqPku/hZ36HSDg4vcf1YPfVhZTKCOb8sC2//w== 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)(110136005)(7696005)(8676002)(53546011)(66556008)(66476007)(66946007)(9686003)(6506007)(54906003)(76116006)(4326008)(450100002)(508600001)(316002)(86362001)(66446008)(71200400001)(6636002)(64756008)(83380400001)(186003)(26005)(38070700005)(38100700002)(122000001)(8936002)(5660300002)(55016003)(52536014)(2906002)(33656002); DIR:OUT; SFP:1101; x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?us-ascii?Q?9qFcfPmqEF/Q5YVzk420oM17Fk4lfb4NW6ar4pfKjnY0bfmRhM23LnRNeRV2?= =?us-ascii?Q?vlJ1lvJgqhpSA79SnAlcdIw8SFBM0ZY3mcm/piSSDr0US1vuYZV97wI2nbOI?= =?us-ascii?Q?HZ/4tK9BFCZleg0a/4ojRg7oX/PmR+zx4T6NlfR0g35NfIFlPrXL7kgH5vA6?= =?us-ascii?Q?oDjuMA36vFqccD78/JPthbiynxXAK4UqblqVhGRfGthjKpSqPagt7dVT8JkL?= =?us-ascii?Q?L191IYnJ5i9VFVFVCLMdmXlCY5I4WubgLdNZ246ZbMI3CIk/W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6N7iOy0pqXbGpHRd5iiK0lBPsHzzmSA8a9lJwQrdumwDnAyeh22?= =?us-ascii?Q?Ktj8ErfzN1WkfU7lsRMqQn8WoUV66DCniFujDBOcnhHZHdltpsWBpPDNw7Bs?= =?us-ascii?Q?SYbnccuPLFI94rpQxptidBt03x3TOg5etL5na2RTC5FaQfm/sjEFR9A2/EIV?= =?us-ascii?Q?jB9rBiTM0Ja53QPIun1nhB1rVyew2bhA0I97DqgSJeJzuVXvbj1dIcgfW8Cu?= =?us-ascii?Q?YXkwYzMJqK6qGv6fbHzYDSFIDRZpWB7l+aaX0TJcFf3UJeHz5u7AAKX8ZFw5?= =?us-ascii?Q?0yL/mMiGZXi3UAN+o52OVMinBY037pbhq8pmmmj3ie6h9hRsgckSGZgIxBd5?= =?us-ascii?Q?VyURyzRbFyG54IhRJmKaCLSWG71q2HTMNMk5MurjnDJ1GtcZs9kPffJTAHNJ?= =?us-ascii?Q?jnu145EWTfY90bJlugi6ytgTwDYsUOpyhGRA4MIbPmZz6N2iEv4ToddNRFA2?= =?us-ascii?Q?v8updkYTJpnwbh/lYOOYq64=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: a022c5e1-42dd-4e81-4f41-08da007ca9f1 X-MS-Exchange-CrossTenant-originalarrivaltime: 07 Mar 2022 20:54:25.2673 (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: bGk3QlRGuNLb4uPFS4UcHwUVgoNPVUrFIDuDnPNh4NwV6BN5V/5IkS8Hs5F89o//7Ia+K9sIsHyq5VB11OAhew== X-MS-Exchange-Transport-CrossTenantHeadersStamped: BN6PR12MB1906 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: Dariusz Sosnowski > Sent: Wednesday, March 2, 2022 7:07 PM > To: Matan Azrad ; Slava Ovsiienko > ; Gregory Etelson > Cc: dev@dpdk.org; Raslan Darawsheh ; > stable@dpdk.org > Subject: [PATCH v2] net/mlx5: fix MPLS/GRE Verbs spec ordering >=20 > When using Verbs flow engine to create flows, GRE Verbs spec was put at > the end of specs list. This created problems for flows matching MPLSoGRE > packets. In generated specs list MPLS spec was put before GRE spec, but > Verbs API requires that MPLS spec must be put in its exact location in > protocol stack. >=20 > This patch fixes this behavior. Space for GRE Verbs spec is reserved at i= ts > exact location. MPLS Verbs is inserted at its exact location as well. GRE= spec is > filled after all flow items are parsed. >=20 > Fixes: 985b479267aa ("net/mlx5: fix GRE protocol type translation for Ver= bs") > Cc: getelson@nvidia.com > Cc: stable@dpdk.org >=20 > Signed-off-by: Dariusz Sosnowski > Acked-by: Viacheslav Ovsiienko > --- > v2: > * Rebased. >=20 Patch applied to next-net-mlx, Kindest regards, Raslan Darawsheh