From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from dpdk.org (dpdk.org [92.243.14.124]) by inbox.dpdk.org (Postfix) with ESMTP id 53D98A0556; Thu, 20 Feb 2020 12:26:50 +0100 (CET) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 2E16D1C014; Thu, 20 Feb 2020 12:26:50 +0100 (CET) Received: from EUR05-DB8-obe.outbound.protection.outlook.com (mail-db8eur05on2052.outbound.protection.outlook.com [40.107.20.52]) by dpdk.org (Postfix) with ESMTP id 335571BFF5 for ; Thu, 20 Feb 2020 12:26:49 +0100 (CET) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=RjB2/QX8jCaRYANqitkbL2ClEHYZVbw5YtuByrlLZqIfPitlxcakxEVxtYZ+Wd8SqDK+4TtvwvM/4JStzQcPx+qpppiGUABerdD6vuPZlikdgjvon45juB+Fyl4ZQ1Q03qgPC/NMF/AfdsxnGMDvuHPoPxX933XUNWwnfQdtUsfIf6DGCdo4cpqZQm/8OBsBa04gmOwHcwFymbMcdVBaH06LhIm2XjAdFIy2Sg3SNHxB1mCRzcUa4K+ERc9fcYtL/JnAszrqut+2oESBD9zYdUmD1tCZjKZBezbIlAmgCnmB3pKVN5eCtEVN+b6mllXZAo+5Q/HAoCgAYTALFdQBgQ== 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=VoacbSw2pby4EekYFoDEReG6ib1E4q35FnZjpaI76io=; b=NDLBC7qmZFupUrvrOPs1oaWShYshDBMsbH4IyM0nEMAg8kr3OFtla+QiO16RRSFpNrj7PdOAPGeEKypoKH5YYznA08XvdxZeL0CxI4lU12drl4z61zhfjHNRKCb4XJC97+4sjQSPEQjBFzPmKlZwINzScIVQDS/IY0QglChFwekFndlTt9qskg6UW+GSP/trPAhN2nEGY+8HjzAemerVO4f3K4FEFQ78LX3C9lDBc6OES4XJOpXKFj7yQc3qF0dFoZwe2KviPzCHo86cHsHJs57FKboTmos4EU5UXvyKHXOHoXiHK315rVhaUDrDMITO8LnW4wntzmTjlPBuKtPBAQ== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=mellanox.com; dmarc=pass action=none header.from=mellanox.com; dkim=pass header.d=mellanox.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=Mellanox.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=VoacbSw2pby4EekYFoDEReG6ib1E4q35FnZjpaI76io=; b=Ot1AnOilZZPZeHpSBBdqCAI4kSlXGjiwmJRXbcjn/Wl17L+BYFNATmodan01BU7rDbV6AIxv4Iec4yXohHYwkeC4PDdze70/YXh+frfSylUg42oxA2Gn/JnR0jh+5dBMl3EPrveZwRW6AjqkncmpsjeFSOGxStZ7t2ArvU0avik= Received: from AM0PR05MB6707.eurprd05.prod.outlook.com (10.186.174.145) by AM0PR05MB4577.eurprd05.prod.outlook.com (52.133.59.152) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2729.22; Thu, 20 Feb 2020 11:26:48 +0000 Received: from AM0PR05MB6707.eurprd05.prod.outlook.com ([fe80::adbd:45ca:54:bba9]) by AM0PR05MB6707.eurprd05.prod.outlook.com ([fe80::adbd:45ca:54:bba9%7]) with mapi id 15.20.2750.016; Thu, 20 Feb 2020 11:26:48 +0000 From: Raslan Darawsheh To: Suanming Mou , Slava Ovsiienko , Matan Azrad CC: "dev@dpdk.org" Thread-Topic: [PATCH 0/2] net/mlx5: fix incorrect layer choose with decap Thread-Index: AQHV5zCRJ16ukRpJmU6HJeKU1oiqZagj8tIg Date: Thu, 20 Feb 2020 11:26:48 +0000 Message-ID: References: <1582122380-54467-1-git-send-email-suanmingm@mellanox.com> In-Reply-To: <1582122380-54467-1-git-send-email-suanmingm@mellanox.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: authentication-results: spf=none (sender IP is ) smtp.mailfrom=rasland@mellanox.com; x-originating-ip: [212.29.221.74] x-ms-publictraffictype: Email x-ms-office365-filtering-ht: Tenant x-ms-office365-filtering-correlation-id: 6ef44fa0-95a5-402c-5cd2-08d7b5f7c630 x-ms-traffictypediagnostic: AM0PR05MB4577:|AM0PR05MB4577: x-ms-exchange-transport-forked: True x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:6790; x-forefront-prvs: 031996B7EF x-forefront-antispam-report: SFV:NSPM; SFS:(10009020)(4636009)(366004)(376002)(346002)(39860400002)(396003)(136003)(199004)(189003)(6636002)(86362001)(81166006)(8676002)(4326008)(7696005)(71200400001)(81156014)(8936002)(76116006)(26005)(110136005)(2906002)(66476007)(316002)(66446008)(64756008)(66946007)(52536014)(33656002)(186003)(66556008)(55016002)(478600001)(6506007)(9686003)(53546011)(5660300002); DIR:OUT; SFP:1101; SCL:1; SRVR:AM0PR05MB4577; H:AM0PR05MB6707.eurprd05.prod.outlook.com; FPR:; SPF:None; LANG:en; PTR:InfoNoRecords; A:1; MX:1; received-spf: None (protection.outlook.com: mellanox.com does not designate permitted sender hosts) x-ms-exchange-senderadcheck: 1 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: FhUY2cqYVUY6DG88NLr/eufSuR8ghX3wIOhBJv3cZ1vwbsK5fJs+qmB53Fc5sAKKrn56521oUe654875vFaCi+LuCnabO/iJ5UaRbg7A83zwqCDeWnKzgDHpVddifytue0qZ5f/09gaawiPL5HB+JZq2VxMoueBmtMgNHOAgVwn02pvm+BrCD4EvDrp/7qK4DbxQkrxmYtqrJ4xv391Ovu9v+77WcCWfWBxrgxDrWei214aEDQaGGgKc41YD3g5Ihy+YEhjegG2Fh9fnS8FfFZfLj0kaEhJVpPxoLhAhRuN18PmHyQIdRmHj9hbFCvlIbaTqXoJV/jeJXmmKp5Ig/5dH4mVQ1b4MJ7pRA3QLjI8vs4FdXycNOrWa/qik0B1KMrO78aydZMlhMeojiETXEPyXnkcVuL6pMErEwQgD/Q+xgKfr8X1tjKJvmmsqFXSb x-ms-exchange-antispam-messagedata: GcKNV6XQmZX9/jXrcwqqIJwRVUlvX3+60+eLXD5O9SdnHM+ykmcFaTDr4fmBsFx07Hy6ruBJmal9m0O4sH6b3Vr4657tWpoEYszRuKp8Sf+gxkjuHBGiyvtQKl0YTSqkWXjKc9g2vGUO8TC4v5dMzQ== Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-OriginatorOrg: Mellanox.com X-MS-Exchange-CrossTenant-Network-Message-Id: 6ef44fa0-95a5-402c-5cd2-08d7b5f7c630 X-MS-Exchange-CrossTenant-originalarrivaltime: 20 Feb 2020 11:26:48.1368 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: a652971c-7d2e-4d9b-a6a4-d149256f461b X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-CrossTenant-userprincipalname: w0N0TDlZwnX9bY94u62GJx5mahTPJ3pF/Wd8rW73zDdJwz6Z4K5cW2tsqmiHf6JBguGj/JmIAkLKGFcvN3h9iA== X-MS-Exchange-Transport-CrossTenantHeadersStamped: AM0PR05MB4577 Subject: Re: [dpdk-dev] [PATCH 0/2] net/mlx5: fix incorrect layer choose with decap X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 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" Hi, > -----Original Message----- > From: Suanming Mou > Sent: Wednesday, February 19, 2020 4:26 PM > To: Slava Ovsiienko ; Matan Azrad > > Cc: dev@dpdk.org; Raslan Darawsheh > Subject: [PATCH 0/2] net/mlx5: fix incorrect layer choose with decap >=20 > For header modify actions after decapsulation action, the header modify > actions should be applied to the inner layers. >=20 > Currently, it always treats the outermost layers as the corresponding > layer even though with decapsulation action. >=20 > Add the layer validation with decapsulation for the header modify action > and fix the incorrect layers chosen in header modify action with > decapsulation action. >=20 > Suanming Mou (2): > net/mlx5: fix wrong layer validation with decapsulation > net/mlx5: fix header modifiy choose wrong layer type >=20 > drivers/net/mlx5/mlx5_flow_dv.c | 104 > +++++++++++++++++++++++++++++++++------- > 1 file changed, 87 insertions(+), 17 deletions(-) >=20 > -- > 1.8.3.1 Series applied to next-net-mlx, Kindest regards, Raslan Darawsheh