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 B5B97A0471 for ; Fri, 19 Jul 2019 04:58:36 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 8C241231E; Fri, 19 Jul 2019 04:58:35 +0200 (CEST) Received: from EUR02-AM5-obe.outbound.protection.outlook.com (mail-eopbgr00074.outbound.protection.outlook.com [40.107.0.74]) by dpdk.org (Postfix) with ESMTP id 577FB1B53 for ; Fri, 19 Jul 2019 04:58:34 +0200 (CEST) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=Qa+dQ9Dy6e9RUWGsVPscNydWkyQVCdY+ckl7P68mQkfZ0PN9YWQ2RZI52bW4DlMk8aMUadDwJ81UYfu/3u+3q8q1nNv/oJOQwDwReKS5Tpziv1KrExyR7KSlf8sOyuZBXHGNDu5hMbkyiUWrUNQlto+RdJK+nWu5Ts2sMZghLVtUUh9v/JkJp4ac/16es3fMDFgdWwnx9ngI66/uu/phiTIuOzeJlpOgn/1IXhiXVwbKX+duQIHWFCMOSXSPSxQ4aHdxoAxi+27Sa9QpBFaBio34n1yPXs/1RgDsxxJ1TKrdlAbq4lKq1tsXQiBwyQoEpO+n5GyLeGqxe+BUIourcg== 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=3e9hfmocwQhChZBht9u6+QHxCgRJg/+lqQrpyNrUR6g=; b=mkWoMMMmkBaW7C8j6b7QjN0HjsyvlYgjqfuI3byEdhOMwxy/YUN0BsPlyUEOoY45e0vlokrZ8xCzDnqd9zO1PvPG8tfGvBmZkW7F7l8xbpeAzvt//Qk1bEkwCyhYipI4kk661aZMMnTRw+p60lPdHFIS9KiW3ssQ8ieP/UZ2UAQAAFUZXHvWTGb5L6NZmkiOORKmrs7Y7ZGgFSqds9fwvGiEGDy0V27Dq3XVrQTMwCX48dXXobmq1yCldTVdPYicykCSdFjRYY0wOsFbLfkhQyaC0iWqdJis/Mgzy0bU5g+BRinZj2W3h0qPxjHRPjoJTOwn3QQnhOGycHgeGTmEsw== 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=3e9hfmocwQhChZBht9u6+QHxCgRJg/+lqQrpyNrUR6g=; b=sIQvePjl0qFS09dWq5mGpV9lfUvjBav2K+VRFXqTo6/6JdpiNILTXWvdLlcRpm9EwA4ljF2FsnwLQGLeyWM5JJXdzonIQ4C40xngtq+1TXwiUZxRwEO8bw5OG1WBOLZi35oB+1FjqL5a/8YJUH5+fixjXH9ZTTkWxEu2HhAXg/o= Received: from AM6PR05MB6567.eurprd05.prod.outlook.com (20.179.6.215) by AM6PR05MB4488.eurprd05.prod.outlook.com (52.135.168.29) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2094.14; Fri, 19 Jul 2019 02:58:33 +0000 Received: from AM6PR05MB6567.eurprd05.prod.outlook.com ([fe80::496b:bd1c:863a:ed47]) by AM6PR05MB6567.eurprd05.prod.outlook.com ([fe80::496b:bd1c:863a:ed47%3]) with mapi id 15.20.2094.011; Fri, 19 Jul 2019 02:58:33 +0000 From: Jack Min To: Dekel Peled CC: Yongseok Koh , Slava Ovsiienko , Shahaf Shuler , Ori Kam , "dev@dpdk.org" Thread-Topic: [PATCH] net/mlx5: fix define of added tunnel layer bit Thread-Index: AQHVPaDmuyjT8M4qqUWw60m5pIaCZabRQGaA Date: Fri, 19 Jul 2019 02:58:32 +0000 Message-ID: <20190719025823.dhmu43vchriz3vta@mellanox.com> 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: x-clientproxiedby: HK2PR06CA0007.apcprd06.prod.outlook.com (2603:1096:202:2e::19) To AM6PR05MB6567.eurprd05.prod.outlook.com (2603:10a6:20b:bc::23) authentication-results: spf=none (sender IP is ) smtp.mailfrom=jackmin@mellanox.com; x-ms-exchange-messagesentrepresentingtype: 1 x-originating-ip: [139.227.41.236] x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: ba4ca935-2d14-45ea-df60-08d70bf4fc18 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:AM6PR05MB4488; x-ms-traffictypediagnostic: AM6PR05MB4488: x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:6430; x-forefront-prvs: 01039C93E4 x-forefront-antispam-report: SFV:NSPM; SFS:(10009020)(4636009)(366004)(39860400002)(346002)(396003)(376002)(136003)(199004)(189003)(6636002)(3846002)(186003)(2906002)(305945005)(6486002)(66066001)(7736002)(14454004)(6116002)(6436002)(8676002)(68736007)(478600001)(102836004)(26005)(6506007)(386003)(25786009)(52116002)(76176011)(86362001)(6862004)(4744005)(6246003)(81166006)(99286004)(8936002)(36756003)(71190400001)(71200400001)(486006)(1076003)(4326008)(11346002)(66946007)(66476007)(64756008)(66446008)(446003)(66556008)(229853002)(81156014)(476003)(6512007)(2616005)(256004)(316002)(54906003)(37006003)(14444005)(5660300002)(53936002); DIR:OUT; SFP:1101; SCL:1; SRVR:AM6PR05MB4488; H:AM6PR05MB6567.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: EP6N8jpAhpuuCd7c5wCiUGZs6n5WT86UeIvDruBmfSdZ8KSiT9ymUPLEp+ww7sm2aCWIsO9fNMWzOZsQL7jTHBiB6B318+OnzEK/sZ0LeZFIztP40TkvCzS3dkFMOUsVb4bLYbx60NfzFwpqfaIVR6LLjhE4xFQAaaI3fmZ6+JGuN6SDhGbO2n7wuprbniaw1aAl5Z1hWOSpPJ0JxMWnMQ2b4gpixi+uqzxZ3emWGuO9rjm/8EF8By1u8D9YJMrGLD2BL+UBre40tq8RKhF+Y0ubzEwNYJTO/02meG/VaVyARzVSPxHgi2By6FC8L77c98LUolL+GyLxKwsG+8pRuGoXw9HZotnbK2dh4jAqsWfNu+4KXtQCv/1LPRa6+qyhvZqlqdChPvoQk3a983lJ9ODWfHhnmCvnp+9m67uFO+g= Content-Type: text/plain; charset="us-ascii" Content-ID: Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-OriginatorOrg: Mellanox.com X-MS-Exchange-CrossTenant-Network-Message-Id: ba4ca935-2d14-45ea-df60-08d70bf4fc18 X-MS-Exchange-CrossTenant-originalarrivaltime: 19 Jul 2019 02:58:33.0346 (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: jackmin@mellanox.com X-MS-Exchange-Transport-CrossTenantHeadersStamped: AM6PR05MB4488 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" On Thu, 19-07-18, 22:41, Dekel Peled wrote: > 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 > --- > 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 \ > --=20 > 1.8.3.1 >=20 Acked-by: Xiaoyu Min