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 34E7FA0555; Wed, 19 Feb 2020 16:32:00 +0100 (CET) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 1B7331BF7D; Wed, 19 Feb 2020 16:32:00 +0100 (CET) Received: from EUR03-VE1-obe.outbound.protection.outlook.com (mail-eopbgr50087.outbound.protection.outlook.com [40.107.5.87]) by dpdk.org (Postfix) with ESMTP id 3C6BE1BF7C; Wed, 19 Feb 2020 16:31:59 +0100 (CET) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=K2J2FpdUJcLGFi1eORDfs+XhUDp5ZUStWUKfQ9skCyy+2vwrubSL8483i7+uvXvRKhPtd5SwpCRjac/o7S9ShklOyaQ8VtVFlWly8VdUS9sUlbz/tY86x0oq907K1sWQSEEg9n4PZGu+WpjfXBXhPdfiewjf+iM3QNeGZlgPvDErMprgCD+Tk1mFSxdJNr5aee8tTA0RGCrUc/O62qmmvvTuRQ7HIg8DakSCUY2n5eXTG3NOhzckgAqfd+vPVpPcQCKNY/dN5Tmz4LJDGCqBCNa4WqCg1ATNibTI216wWgKKu0XHh58grLi89qVRebBIyrk9EBm9bPnsMIkxQ6928g== 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=tUrdFhb1A9P/etrwPCEljkvhrzMu/OE2FMhnNdTu/pE=; b=UCXAfirQKBE3Z17NXoZUhTLKfdqMtC5w0d1fqDaTzR1TjM4/VlZMXP+e94DiAO9lvHFWE5dF6l/CfkP4MU/v3WEyAMM2geMooMWWuc88RfH3TalVTNWi9fZchZ03JM9bEeubjeNPsAsUoCx9hWwtAvLneEhBGibYm1hCJvPJVidh5s2iO4RAOsQWuzJy1sWWKpC2ODT9nEYZPuzDZCyq+jF6ieHlpNTg6KD1GXrCIhmjeKoIpeVH/6M3V9JpxFSP9kN+TwFam3i2JNtwjGZOvuhV7z+eQ/G/97DoZ9SVZFEuitTv0Y8J+9iKlgiWCbio8UOhmJQ0YvcJTukS2UquMw== 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=tUrdFhb1A9P/etrwPCEljkvhrzMu/OE2FMhnNdTu/pE=; b=ECzvpa1/RDLgAhBLwUF4Ivz+t7GFroCEmhFHOt06Ovc/2SHNJOzR32T+UVe1u9xTWWt/s2xBfAMW6McxL2pXIVZjxoAmASA0Y/BQJRql46zbnDlWW+ILNsUmpS2jWcJd8v64rv788VzMh6Apb+qzFCl+9EsANrIwqM8iDNy6lN8= Received: from AM0PR0502MB4019.eurprd05.prod.outlook.com (52.133.39.139) by AM0PR0502MB3922.eurprd05.prod.outlook.com (52.133.45.33) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2729.25; Wed, 19 Feb 2020 15:31:57 +0000 Received: from AM0PR0502MB4019.eurprd05.prod.outlook.com ([fe80::e495:9258:db09:1de8]) by AM0PR0502MB4019.eurprd05.prod.outlook.com ([fe80::e495:9258:db09:1de8%7]) with mapi id 15.20.2729.032; Wed, 19 Feb 2020 15:31:57 +0000 From: Matan Azrad To: Suanming Mou , Slava Ovsiienko CC: "dev@dpdk.org" , Raslan Darawsheh , "stable@dpdk.org" Thread-Topic: [PATCH 2/2] net/mlx5: fix header modifiy choose wrong layer type Thread-Index: AQHV5zCSjMIsGjdnAkub0G0SiNX4WagipPtA Date: Wed, 19 Feb 2020 15:31:57 +0000 Message-ID: References: <1582122380-54467-1-git-send-email-suanmingm@mellanox.com> <1582122380-54467-3-git-send-email-suanmingm@mellanox.com> In-Reply-To: <1582122380-54467-3-git-send-email-suanmingm@mellanox.com> Accept-Language: en-US, he-IL Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: authentication-results: spf=none (sender IP is ) smtp.mailfrom=matan@mellanox.com; x-originating-ip: [193.47.165.251] x-ms-publictraffictype: Email x-ms-office365-filtering-ht: Tenant x-ms-office365-filtering-correlation-id: 56def6e3-6b2b-416c-5b28-08d7b550db58 x-ms-traffictypediagnostic: AM0PR0502MB3922:|AM0PR0502MB3922: x-ld-processed: a652971c-7d2e-4d9b-a6a4-d149256f461b,ExtFwd x-ms-exchange-transport-forked: True x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:4303; x-forefront-prvs: 0318501FAE x-forefront-antispam-report: SFV:NSPM; SFS:(10009020)(4636009)(39860400002)(366004)(346002)(136003)(396003)(376002)(199004)(189003)(81156014)(8676002)(81166006)(6636002)(8936002)(33656002)(316002)(9686003)(450100002)(55016002)(6506007)(2906002)(110136005)(54906003)(26005)(478600001)(186003)(4744005)(76116006)(66476007)(66946007)(66446008)(64756008)(4326008)(66556008)(52536014)(86362001)(71200400001)(7696005)(5660300002); DIR:OUT; SFP:1101; SCL:1; SRVR:AM0PR0502MB3922; H:AM0PR0502MB4019.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: jVHW46tfj6P2RKJi3oysirGqpM7SzJmCmIsTR4foERlmKTWhJcrEgZ9qy8HlJAolu5QoiaC+2n5sD8hAETTvEEIY+Sc53MRSYnMHJzHuvi/4b9xVnIQ4L3DZe8g+fYUjhNLNCOcD16u1WxkCbS5oU8cYOogWinA39inXesBbULsf7bVDl+eXdVezXr74DoxPmW3NCysESd7WSmJGdEmnz4FlCGQduOl8eFYn+F9Gm2NOIt878D2OnQx59gaA13TfFqeMDfuUuVmtMOtjCPlQ0k5DNFli516jMlPR6Aqs3dDMWDD5c2lhWOsq72c7X34kfWmyyBaL8vrIFQHmCefNkXqWrhKr0aCbo9R/1/Ywr/2UPdTzDK6vRHtWBiTLpK7O2TDmerISg+rC6ypQg7z1753+40CC//9R6PxJz1inBwHdWzmRRIlOU5vBUi3RjpZr x-ms-exchange-antispam-messagedata: g64TCeT1Az670wA1TMSoWnD0FwZDOfaoZOaM1h/JFDY0gMe0+opH6bxCbJhkTrIdrfoKBfoszMjgXQ5W2rHGATqkHubjrvV0AMkqHQ/3M6JREtXin6xisoHme+f5GMsKGdNiM38gQKj1psNi11b+BA== 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: 56def6e3-6b2b-416c-5b28-08d7b550db58 X-MS-Exchange-CrossTenant-originalarrivaltime: 19 Feb 2020 15:31:57.6947 (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: ewChWqUHh0KTM1CQDOzKrY+t6nz4kMqqCVEDJAj5vho/DMCbT6PqAuPxBUjdh3GWEnKt68ehgJL2jufbu8NXdQ== X-MS-Exchange-Transport-CrossTenantHeadersStamped: AM0PR0502MB3922 Subject: Re: [dpdk-dev] [PATCH 2/2] net/mlx5: fix header modifiy choose wrong layer type 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" From: Suanming Mou > Currently, for header modify actions after tunnel decapsulation, the head= er > modify actions will still select the old outermost layer type. > It will cause header modify actions get the wrong layer type. >=20 > Add the tunnel decap flag to indicate the layer type to get for header mo= dify > actions. >=20 > Fixes: 4bb14c83df95 ("net/mlx5: support modify header using Direct Verbs"= ) > Cc: stable@dpdk.org >=20 > Signed-off-by: Suanming Mou Acked-by: Matan Azrad