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 8C662A046B for ; Sun, 21 Jul 2019 09:51:47 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 1C8572BBD; Sun, 21 Jul 2019 09:51:46 +0200 (CEST) Received: from EUR03-DB5-obe.outbound.protection.outlook.com (mail-eopbgr40077.outbound.protection.outlook.com [40.107.4.77]) by dpdk.org (Postfix) with ESMTP id 2B2532BAC for ; Sun, 21 Jul 2019 09:51:45 +0200 (CEST) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=kVYzGcwD1O+5IAMDbSmzQuqpdwUk1OEQYNZYoLs31I9AkW1aM1N7Z5JXHqXYaXzwXqZzkwkfmnj0lEarViCIvdTxiUEJ5xhtbS1/8ogPzhBxsjetXoT0STnwt3Lpz4KCLxAOLodHoAK+nUnM2RofZGba9+TyYIhRDq9dco1gev87LpNNEIGtgk6sCqlrp1K0Xt/BiyWvPtODBnofGeShf/9mco1Eg4lkST4U2MbAheX0vJwxCmaqPkzUsU++YihnEocEG6XWeBbz8Rqpmh+nS5JtcdNaN8oEykiyWPzb6xgmzru04cLwbjgt5igO5sZ3a4SPDhl6BMp/Rgoe075Hag== 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=n1Gl5fdz1belE4kjoKWI1Jy3ebFf1DyhEHnFauttX30=; b=ATWg1AFFbitDCp2bws3VHAgicqGNdqkFfZ86oFOCORiFGHQrB8fkjVSa24K2rkg8KMihc+HXq8xlL9ORUgOSAJvyTs3UWerkStFYSyS0oftpLnmcbeNE6s+LcQnUxWRgxSR3IgBdbqB4YMlpLqQNQccQwgnAYxT6qYYnlLcQ74srIM8+2VK2ChkwBKSfuAWaGdDpJxGSyUUvdAs/BOKM/xNMxD9NpuitlH3wi8xZ0+YgYdmAZpdZNIbY8vKqwfvE7tNuNwH6Pb+1PlLHbfazGO4e+p+BmNbmP3h45O4Bh1VlK9JT6Z0teu2Lt+j73qMLtcllQzKqyUW1GLcZBLgDSA== 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=n1Gl5fdz1belE4kjoKWI1Jy3ebFf1DyhEHnFauttX30=; b=EViih1L2KYIVm8RoKtXI4ouWmBZBC0W/RUHbuBh+UCGMA9UNhS0IuNZyvyNSBLG3GKpr01/zXK8aiiAyFsyzzhjfSj/9u4DhYxvF00X4t2VbMW/rwtedVzy7iVnf9ICfadU7/a9ofKJRWJLr7naj894QZm3gLM/CmTIJU/lFHV8= Received: from DB3PR0502MB3964.eurprd05.prod.outlook.com (52.134.65.161) by DB3PR0502MB4074.eurprd05.prod.outlook.com (52.134.72.155) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2094.14; Sun, 21 Jul 2019 07:51:42 +0000 Received: from DB3PR0502MB3964.eurprd05.prod.outlook.com ([fe80::bcc1:5331:1dca:7360]) by DB3PR0502MB3964.eurprd05.prod.outlook.com ([fe80::bcc1:5331:1dca:7360%7]) with mapi id 15.20.2094.013; Sun, 21 Jul 2019 07:51:42 +0000 From: Raslan Darawsheh To: Dekel Peled , Yongseok Koh , Slava Ovsiienko , Shahaf Shuler CC: Jack Min , Ori Kam , "dev@dpdk.org" Thread-Topic: [dpdk-dev] [PATCH] net/mlx5: fix define of added tunnel layer bit Thread-Index: AQHVPaDki1wLCkX2ZEqMM8xHXTRD36bUttvg Date: Sun, 21 Jul 2019 07:51:42 +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=rasland@mellanox.com; x-originating-ip: [212.29.221.74] x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: 13d2fa98-f314-4489-e4cd-08d70db0459b 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:DB3PR0502MB4074; x-ms-traffictypediagnostic: DB3PR0502MB4074: x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:7219; x-forefront-prvs: 0105DAA385 x-forefront-antispam-report: SFV:NSPM; SFS:(10009020)(4636009)(366004)(39860400002)(346002)(396003)(376002)(136003)(13464003)(189003)(199004)(71200400001)(71190400001)(8936002)(486006)(4326008)(99286004)(86362001)(6246003)(81166006)(316002)(54906003)(256004)(110136005)(14444005)(53936002)(5660300002)(52536014)(81156014)(476003)(76116006)(66476007)(66946007)(11346002)(229853002)(66556008)(446003)(66446008)(64756008)(9686003)(55016002)(6116002)(2906002)(186003)(305945005)(74316002)(3846002)(6636002)(66066001)(6506007)(53546011)(26005)(25786009)(7696005)(76176011)(8676002)(68736007)(33656002)(14454004)(478600001)(102836004)(7736002)(6436002); DIR:OUT; SFP:1101; SCL:1; SRVR:DB3PR0502MB4074; H:DB3PR0502MB3964.eurprd05.prod.outlook.com; FPR:; SPF:None; LANG:en; PTR:InfoNoRecords; MX:1; A: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: qzx+754Ra2ugeHjtvOcrcH/fz90cVzikfYVrhTfO5ynPVwZxj/zgPg58iI0Agg7VbtS5KQfDvq9bvnBhDcgh4VQPo3dwKryUh+KQcr2o0n1gkJ7I/fz+3vgQlTGK6n9xRXIAkDoBRViZgaiPGOPPDTxjcJYHzO7RbvvbDbGb6QaL7etRrH/CugeQQuJTSNDBgB7eyu8eDlZJPI18LqBoKd63NlA5rbn1WphJBzqULzjShXYFcWfhVkLsO1iRoEHjTCnjrFWkJv/UDvGAKhrPtgU03LNYnvHHA307+VoDm8H1ceWCfnhMi8sJBMuFmPZ8Vt7zs5o4R/aE2wBN67EiaCRRFWOwtsb0vJxJaHVppsvPlgBiw7oOFH28zURnsDw2FaWfxNhesh1vygEG6qzG2e3Oe3cRE9EUnEIs5CRzNl4= 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: 13d2fa98-f314-4489-e4cd-08d70db0459b X-MS-Exchange-CrossTenant-originalarrivaltime: 21 Jul 2019 07:51:42.8504 (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: rasland@mellanox.com X-MS-Exchange-Transport-CrossTenantHeadersStamped: DB3PR0502MB4074 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" Hi, > -----Original Message----- > From: dev On Behalf Of Dekel Peled > Sent: Thursday, July 18, 2019 10:42 PM > To: Yongseok Koh ; Slava Ovsiienko > ; Shahaf Shuler > Cc: Jack Min ; Ori Kam ; > dev@dpdk.org > Subject: [dpdk-dev] [PATCH] net/mlx5: fix define of added tunnel layer bi= t >=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 > --- > 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 Applied to next-net-mlx, Kindest regards Raslan Darawsheh