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 05127A04F0; Thu, 19 Dec 2019 12:27:02 +0100 (CET) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id CC58D1BF87; Thu, 19 Dec 2019 12:27:01 +0100 (CET) Received: from EUR01-HE1-obe.outbound.protection.outlook.com (mail-eopbgr130078.outbound.protection.outlook.com [40.107.13.78]) by dpdk.org (Postfix) with ESMTP id 3EC8E1BF70; Thu, 19 Dec 2019 12:27:00 +0100 (CET) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=a3NiC+6seH7DtJQILvcvUhA4ozHCCqQBcDs09K5bNkNWKKyAklcWEvRZ+qHoPAFsenIQVjnctuaVqK4Xsu2AYd88GZHtXGIxYFV6MxAu8xuRUrHxYCA65TlVQijDWTzCKV6EpJwHM8dhGYpyul1a3dTENZDoZk9oOd3SMVVpjRlwQYAekDhWz6+b6Alg7dhDqLllkpLZL6efo2a12B/nQBLXjtrN+3kkQhqOYHl2RvMHSDHjPJesaHXA6cpkY74Cs90Z412kqNoX5ooVqlUSermCI9zUzy4s+tkxQ3h9+Mfvy/LhiLcftQgoq9AirBZs3bKhsL1As1aO4qnToihkoQ== 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=4ouSNvWRC+4dfWX3OZgED7gtuMi80tq/BPsaSYKh0nQ=; b=cdNh4CDP/P+2AO8u5ndkDHX1Dz6HmNMgqSzDzxICB6h+QVB93GLSg2Alfjcz9ou2E+DFpdTOOJSIOGrWIpE3C6+96vuJrBP0/fJMWSpy/EQgL/kBPNcVzjaCu5GiHD2DIINRGLXX670goCeHxbr41c09sDDbfqgkpUy/1eXydAAXYQjLKrPRX54hKPTJ46IUkpwu6suROX1hrMuPzVCFLqJBSFWU3dCJ4GfBoPs+6QwjCU7D/tKjLyPkrjWdriBb8ti23FKplM2/ibooQf6e7Fy9DafEYVRcNkIbXJM3rFLLVuf/nZWX4CnqTZZR10TKK0k42Q8ipu172mUA8Zt/jw== 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=4ouSNvWRC+4dfWX3OZgED7gtuMi80tq/BPsaSYKh0nQ=; b=dyvJW2e1Wf9Gc82qcX6YSlvD4LGTCLSBpILPLJf37M1ogRVvjEWa7W2IM3G1iuasDL64FJ9EAwyJpuKb/CdDqZV3c96RffXfiIhqGxWxBfw/tBD9mxmub5ENUg+HV7r3+GG3ihb7it5lQ8EnUJXqk1fLeV1mCFyWDN3QwreyhM8= Received: from DB3PR0502MB3964.eurprd05.prod.outlook.com (52.134.65.161) by DB3PR0502MB4043.eurprd05.prod.outlook.com (52.134.68.12) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2538.18; Thu, 19 Dec 2019 11:26:59 +0000 Received: from DB3PR0502MB3964.eurprd05.prod.outlook.com ([fe80::2151:27c7:b8ec:3da9]) by DB3PR0502MB3964.eurprd05.prod.outlook.com ([fe80::2151:27c7:b8ec:3da9%6]) with mapi id 15.20.2538.022; Thu, 19 Dec 2019 11:26:59 +0000 From: Raslan Darawsheh To: Dekel Peled , Matan Azrad , Slava Ovsiienko , Shahaf Shuler CC: Ori Kam , "dev@dpdk.org" , "stable@dpdk.org" Thread-Topic: [dpdk-dev] [PATCH] net/mlx5: fix item flag on GENEVE item validation Thread-Index: AQHVtbVNbofeT/WnI0OCB4pMAfjwfKfBUwAw Date: Thu, 19 Dec 2019 11:26:59 +0000 Message-ID: References: In-Reply-To: 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: c1a8fc50-2ece-4f99-b099-08d784765cc4 x-ms-traffictypediagnostic: DB3PR0502MB4043:|DB3PR0502MB4043: x-ms-exchange-transport-forked: True x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:5236; x-forefront-prvs: 0256C18696 x-forefront-antispam-report: SFV:NSPM; SFS:(10009020)(4636009)(39860400002)(376002)(346002)(396003)(136003)(366004)(199004)(13464003)(189003)(66556008)(55016002)(186003)(9686003)(71200400001)(450100002)(4326008)(86362001)(33656002)(66476007)(26005)(66946007)(110136005)(54906003)(316002)(478600001)(64756008)(81166006)(81156014)(76116006)(66446008)(52536014)(6636002)(7696005)(5660300002)(2906002)(8936002)(6506007)(53546011)(8676002); DIR:OUT; SFP:1101; SCL:1; SRVR:DB3PR0502MB4043; H:DB3PR0502MB3964.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: rnUhG8ex+lR15/akU2wQuM8ZPQ+i62Y87gOjsFlDgzQwz3EwdV9P1dnJ1iWvFSLL1hnFTHFv0hXyWyNTp9Zn/g6hYPavVmlGWULn1TdnI2KQ8pMCCfK+dDJ8pzNlG9bCDH8N/Vd26y9ZWQUrilQAomlpFoW3dCrhwgrWRFLWPOPaP516GJ8uvbJNyAw41RqrPL4pbPDkZogXLharusjHQlBYjmp8wd4MISScySl0hYp+DRVXlvy/yZRMbt1BxSB6t4U1cCBxf/ZV4XewlKrdH5STvuruvxf69GLF3C0zePWLJiI0+nANd5w3zuOsYtijzR+43drL1rmjZzuktkM7CilGOVlMx/PiYW/UO5oVUkD8blpiBrXEAS6B8qFi3wX/2+GKHUtuKZcvWO4W96qNDTEesOlR4fMlMqjjtrAQzXwwDpXo1XNCxK2Hjn1mBnKEc7O1TC33zjgOaUAnuZFhzq7X9AJxEv5ibD18D/CX1dCoaN8BL+4QwrF5XNAosQ+q 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: c1a8fc50-2ece-4f99-b099-08d784765cc4 X-MS-Exchange-CrossTenant-originalarrivaltime: 19 Dec 2019 11:26:59.1657 (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: DiYm97Oco0l1/7hwi/5M1pKYq27E8XHEfZJpPbe9q7s9bmFS3a1nbyTMAVsW9U9L3U8fWDnBrp+ZYp0rdZHeeg== X-MS-Exchange-Transport-CrossTenantHeadersStamped: DB3PR0502MB4043 Subject: Re: [dpdk-dev] [PATCH] net/mlx5: fix item flag on GENEVE item validation 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: Wednesday, December 18, 2019 5:10 PM > To: Matan Azrad ; Slava Ovsiienko > ; Shahaf Shuler > Cc: Ori Kam ; dev@dpdk.org; stable@dpdk.org > Subject: [dpdk-dev] [PATCH] net/mlx5: fix item flag on GENEVE item > validation >=20 > On validation of GENEVE item, the wrong flag is used. > This patch sets the correct bit in item_flags bitmap. >=20 > Fixes: e59a5dbcfd07 ("net/mlx5: add flow match on GENEVE item") > Cc: stable@dpdk.org >=20 > Signed-off-by: Dekel Peled > --- > drivers/net/mlx5/mlx5_flow_dv.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) >=20 > diff --git a/drivers/net/mlx5/mlx5_flow_dv.c > b/drivers/net/mlx5/mlx5_flow_dv.c index 1a1b6ec..6f35fe1 100644 > --- a/drivers/net/mlx5/mlx5_flow_dv.c > +++ b/drivers/net/mlx5/mlx5_flow_dv.c > @@ -4489,7 +4489,7 @@ struct field_modify_info modify_tcp[] =3D { > error); > if (ret < 0) > return ret; > - last_item =3D MLX5_FLOW_LAYER_VXLAN_GPE; > + last_item =3D MLX5_FLOW_LAYER_GENEVE; > break; > case RTE_FLOW_ITEM_TYPE_MPLS: > ret =3D mlx5_flow_validate_item_mpls(dev, items, > -- > 1.8.3.1 Patch applied to next-net-mlx, Kindest regards, Raslan Darawsheh