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 A0F79A046B for ; Sun, 21 Jul 2019 09:53:34 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 6B69B2BBD; Sun, 21 Jul 2019 09:53:34 +0200 (CEST) Received: from EUR03-DB5-obe.outbound.protection.outlook.com (mail-eopbgr40056.outbound.protection.outlook.com [40.107.4.56]) by dpdk.org (Postfix) with ESMTP id 986812BAC for ; Sun, 21 Jul 2019 09:53:33 +0200 (CEST) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=AYbTtIwiQtJFP0+ZC9xAneBtSDe1i9THm7tQCSOavGxQGghA3v7VTBImEJ6SNUaB6RXSFcMeQtp5xJu4ZGL90mbbLU39kex6U88VGQFjuKq8QzjReD61tOSKo1HIL4HOudcmLmvPD+lrU6jrB8i3GRdy+Rbe6UFtFiofa8So7q5qfXZc5e8dG/NcnrW+sFMRtOLKEbqzz9E0dFON+IrMLUpS7kDLc+Htfaz64pXsZfthq3cMYQrHTXecPByuMEGCHxkMpLfHYV+tb6wJGH/DAUMpECX8oB5gjOQ+zmELihS5sVo7URG3e6AWIYzV0sOp+vejityu+iE0end2U4VExw== 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=tko466Q6NIwVoGjSb2c2TlSwbLt2GAE0jBZd4IB0itI=; b=X7FMWzQByjTx1nhLeqo6Gwv043bQPCy0WnQfdFfVIR0UYVyicUyzyOTnOuUHoen2E95+c+Tb6203V2ZMNrg4DSOv89pAWbcPcvzDOR2s+iZJJtA84bI2tkvC6RN134GDWpEiLsNbZN1yyANHtBQMyqQNH/IbfXoSm+545XHxisxewwhO1F8Tb4Ut6cL05UlYiNY9FStZYwJr/rk00LqEJugw7GNM+a3+LuiKv6DVvCSP8mEAj6VcfNF3TfaI0JTGkNVfTNySvu+D3gh0xXFo+esSXgIB3ECkUqMT9TNkAF/lJEpKPnoRaxVZQdE20KxTdtuQVFlvVu4NRQ2oWC50VQ== 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=tko466Q6NIwVoGjSb2c2TlSwbLt2GAE0jBZd4IB0itI=; b=EBifDUlH9hZNacpG1I4DErUhWovKF485Z/vGjBW2bXqRhmJ4HqgyW2pNs9AlQvOQQkY3YxBfg+oos+p1XjSGd+c2xURHsikpMhmnV6+pBncKK2EfGUuooI2pkhy9OI28p4mJ5U22LKQ8Kq0AQ7hGH8wcqKq0NzLuPiYUYRhh7DY= 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:53:31 +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:53:31 +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 setting of item flags bitmap Thread-Index: AQHVPaDz3Nl+dV+Do066CE5m+96pi6bUt19g Date: Sun, 21 Jul 2019 07:53:31 +0000 Message-ID: References: <17e97355b175364266eef4eb3ca959c4688f9a36.1563478206.git.dekelp@mellanox.com> In-Reply-To: <17e97355b175364266eef4eb3ca959c4688f9a36.1563478206.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: 7a515c68-826c-4329-8530-08d70db0868c 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)(979002)(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)(969003)(989001)(999001)(1009001)(1019001); 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: JlfQiidm+6CYiszdSc5LI+PHKgKw318Jmb8dE3oRsqMxBhM86oVGwIb1oRffoC4bqLpH0eOhUDSAgrrm43c0N5IuqYqcE9s8V8inFuD/m4lP+r+lTG5NxJ1UuCj/DJCBzQFkIS8memc/HPyM1fnP5GnGuwuHViRwj6k0pCHlTAMCadIDc10ksRNIO7r6sWl6rwOehDlNaIgYOiXTVy0hDN+zKhDdwo5+63zJ+iwC2Ok7h+82cWZOakaJPwQ6zZo7bZX2FZN18cPSes3CoJONto7vGXtOtMfdUACSWxrzyP4q86q/rJHWP8Irpd+eiecCIECGDcM7DNJtLctcAWqIjVGdzXtH1FV9Ny/rQnIZRuuLsqrOI2OyIFUukzMv0HFO5jCVBj9YvL5mM5I6WUyhJSw2EZNeYm4zSsqEGy1bBr4= 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: 7a515c68-826c-4329-8530-08d70db0868c X-MS-Exchange-CrossTenant-originalarrivaltime: 21 Jul 2019 07:53:31.7906 (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 setting of item flags bitmap 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 setting of item flags bitmap >=20 > In functions flow_dv_translate() and flow_dv_validate(), the flow > items are scanned and each item is marked in item_flags bitmap. > The code handling some of the items was ported from another project, > where items are marked in a slightley different manner. >=20 > This patch fixes the setting of items in bitmap, adapting it to the > required manner. >=20 > Fixes: d53aa89aea91 ("net/mlx5: support matching on ICMP/ICMP6") > Fixes: 1242041c5601 ("net/mlx5: match GRE key and present bits") > Fixes: 2e4c987aad91 ("net/mlx5: validate Direct Rule E-Switch") >=20 > Signed-off-by: Dekel Peled > --- > drivers/net/mlx5/mlx5_flow_dv.c | 14 +++++++------- > 1 file changed, 7 insertions(+), 7 deletions(-) >=20 Applied to next-net-mlx, Kindest regards Raslan Darawsheh