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 5BD6DA0471 for ; Fri, 19 Jul 2019 06:28:19 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 0DE582BE5; Fri, 19 Jul 2019 06:28:18 +0200 (CEST) Received: from EUR04-VI1-obe.outbound.protection.outlook.com (mail-eopbgr80042.outbound.protection.outlook.com [40.107.8.42]) by dpdk.org (Postfix) with ESMTP id 073172082 for ; Fri, 19 Jul 2019 06:28:16 +0200 (CEST) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=RkYx4dmtlXem5SZjpcwYUXTw+1zn+NZKlEZWo9EIH56JrXPK1I44ESmgALcWP28ZMPhYGt/7DVIFHriOXSYLvQPPxxlbhRfguscBFNtY/mdRcZaHDmECoBlxcGeWbSwDotdqXxIknUvCVw5cLi6v6Y4QKbgq8ad5y2aEOvLnlplen8864jA1M6uIBRJY3XKH3E/WOxFOYDIONUu9AbWWlUuo6trkWHoRqaq6a/j9hCK2kqwpHrlhzS7uh1uAEHChIezwmas0jYulDMp8XnWVLdAVubp43dGklZ6C3TiZ0KoDloYuIeAfX4+fWubsKzlF3Fi8nqQeTq0MNGFMUCNa7w== 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=Vjbk0G1/mLkbvzjrGc+tifWt4kmkCLsTO+yYZ3amU6c=; b=T3AX47fITJ8BWmHvzBP7M7cAq49+N/J+kL7T5Jg8i+c3itmobB2Yg4CsvHKX+h3iJVd3E20fwR/pFMv458PCxc8cA2kml96iCbJDGmrkEgX/jKELlkAPqsMQ3iBG18B4qhE8D9u0Gph6RldlmmlXtqntr9fMOx5WY/ZJ78HOvTJ7MIQXb44rOFrr0tTmDRGVBhM4qETH51OxOejjXVZu991Bu1GZBO8a2zLqaqFJtBXiegAeL+P9YpZOIEFhGfJv0HmgA6znuWA5jrzSdBr0Eaqd4YruMu7f1YVY6YrdgLzFG+sf9p/cLn4JL9Y7lpy185so45yGa/kH2wPGQRJTQg== 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=selector2; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=Vjbk0G1/mLkbvzjrGc+tifWt4kmkCLsTO+yYZ3amU6c=; b=ki/RWET8rE9Ni7hBLToUE9Qx1VurK6V6ZLARkHY2J4o6WGJ6gTt+V6fsM98CoSwhTL3ea2fJT+8m/WrR6nk6RMcMf2Q6pAOaM66/tBhob/pLp+flwDkVE+ilSSodNP6u2EQSWVzs2CryAhWhBFq/2GVx6mEVGmQnhAE9pvyygqk= Received: from VI1PR05MB3278.eurprd05.prod.outlook.com (10.170.238.23) by VI1PR05MB6367.eurprd05.prod.outlook.com (20.179.26.23) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2073.14; Fri, 19 Jul 2019 04:28:15 +0000 Received: from VI1PR05MB3278.eurprd05.prod.outlook.com ([fe80::75a7:b54e:c238:5c21]) by VI1PR05MB3278.eurprd05.prod.outlook.com ([fe80::75a7:b54e:c238:5c21%5]) with mapi id 15.20.2094.011; Fri, 19 Jul 2019 04:28:15 +0000 From: Slava Ovsiienko To: Dekel Peled , Yongseok Koh , Shahaf Shuler CC: Jack Min , Ori Kam , "dev@dpdk.org" Thread-Topic: [PATCH] net/mlx5: fix define of added tunnel layer bit Thread-Index: AQHVPaDkG2+hRNPRHEC77jKB0V9oM6bRWW4w Date: Fri, 19 Jul 2019 04:28:14 +0000 Message-ID: References: <70e5550c339eb720592d2b364069f74f232137a3.1563478168.git.dekelp@mellanox.com> In-Reply-To: <70e5550c339eb720592d2b364069f74f232137a3.1563478168.git.dekelp@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=viacheslavo@mellanox.com; x-originating-ip: [95.67.35.250] x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: 8aa0d004-48e4-41ce-97b6-08d70c01845a x-ms-office365-filtering-ht: Tenant x-microsoft-antispam: BCL:0; PCL:0; RULEID:(2390118)(7020095)(4652040)(8989299)(4534185)(4627221)(201703031133081)(201702281549075)(8990200)(5600148)(711020)(4605104)(1401327)(4618075)(2017052603328)(7193020); SRVR:VI1PR05MB6367; x-ms-traffictypediagnostic: VI1PR05MB6367: x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:6790; x-forefront-prvs: 01039C93E4 x-forefront-antispam-report: SFV:NSPM; SFS:(10009020)(4636009)(376002)(136003)(346002)(39860400002)(366004)(396003)(199004)(189003)(13464003)(66066001)(6636002)(186003)(71190400001)(54906003)(110136005)(33656002)(26005)(4326008)(68736007)(305945005)(486006)(14454004)(52536014)(7736002)(7696005)(71200400001)(5660300002)(229853002)(102836004)(76176011)(2906002)(74316002)(8676002)(8936002)(6506007)(86362001)(14444005)(256004)(53546011)(81166006)(99286004)(3846002)(81156014)(6246003)(6436002)(53936002)(446003)(476003)(316002)(66946007)(478600001)(76116006)(55016002)(9686003)(66476007)(66446008)(25786009)(11346002)(64756008)(66556008)(6116002); DIR:OUT; SFP:1101; SCL:1; SRVR:VI1PR05MB6367; H:VI1PR05MB3278.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-message-info: bQvUz6i+Th/swfYfoKDSeCwAIiqSkaieD0N9Jk6PAszQvesHAxvVqguB9tyKL+i+nQcr5C96d3o1EnS7DVZU5mA5NaS7Z7FkwOMpdijkfh1c4y2+FVzpE7WbxZwGg8C8Ktay6tDvXZoh8Kxb3pNHUyERwMO0VZqj0Q9jUeZnN6HHURTi182kSr0UN/rhWrmSK027kag518BhsrBPEilPE54l5TAHe7dd73VGhI4JtLA52m22AvsMJR4aEx0TyGuXxD43IYpzW7CA06+7RvPIQTttia88lPfUcd0YaxkmlGZQD1F1zW6OkK1BlhO/nZA74o15OcT/IvRHau03gGy3Sr9QAH/uzZIeqZZOzZcQa8bHRJamCBjGdQ3zMFgTN4IuewW8XUIBB3qNhcOnKiI3y4mTrGjmTOxWaBKCRNgnxPo= 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: 8aa0d004-48e4-41ce-97b6-08d70c01845a X-MS-Exchange-CrossTenant-originalarrivaltime: 19 Jul 2019 04:28:14.9615 (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: viacheslavo@mellanox.com X-MS-Exchange-Transport-CrossTenantHeadersStamped: VI1PR05MB6367 Subject: Re: [dpdk-dev] [PATCH] net/mlx5: fix define of added tunnel layer bit 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" > -----Original Message----- > From: Dekel Peled > Sent: Thursday, July 18, 2019 22:42 > To: Yongseok Koh ; Slava Ovsiienko > ; Shahaf Shuler > Cc: Jack Min ; Ori Kam ; > dev@dpdk.org > Subject: [PATCH] net/mlx5: fix define of added tunnel layer bit >=20 > The new define MLX5_FLOW_LAYER_IPIP is using the same value as existing > define MLX5_FLOW_LAYER_GRE_KEY. > This patch updates the values to be in order. >=20 > Fixes: 1b5624cd9062 ("net/mlx5: support IP-in-IP tunnel") > Signed-off-by: Dekel Peled Acked-by: Viacheslav Ovsiienko > --- > drivers/net/mlx5/mlx5_flow.h | 4 ++-- > 1 file changed, 2 insertions(+), 2 deletions(-) >=20 > diff --git a/drivers/net/mlx5/mlx5_flow.h b/drivers/net/mlx5/mlx5_flow.h > index ece967a..3f96bec 100644 > --- a/drivers/net/mlx5/mlx5_flow.h > +++ b/drivers/net/mlx5/mlx5_flow.h > @@ -58,8 +58,8 @@ > #define MLX5_FLOW_LAYER_ICMP6 (1u << 19) #define > MLX5_FLOW_LAYER_GRE_KEY (1u << 20) >=20 > -#define MLX5_FLOW_LAYER_IPIP (1u << 20) -#define > MLX5_FLOW_LAYER_IPV6_ENCAP (1u << 21) > +#define MLX5_FLOW_LAYER_IPIP (1u << 21) #define > +MLX5_FLOW_LAYER_IPV6_ENCAP (1u << 22) >=20 > /* Outer Masks. */ > #define MLX5_FLOW_LAYER_OUTER_L3 \ > -- > 1.8.3.1