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 F04B4A04F1; Thu, 18 Jun 2020 11:29:20 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 5FA5D1BEA6; Thu, 18 Jun 2020 11:29:20 +0200 (CEST) Received: from EUR05-VI1-obe.outbound.protection.outlook.com (mail-vi1eur05on2055.outbound.protection.outlook.com [40.107.21.55]) by dpdk.org (Postfix) with ESMTP id 06DEE1BEA3 for ; Thu, 18 Jun 2020 11:29:18 +0200 (CEST) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=f0WYyjQK1E2j6RXCcK6JS9iILyQME56F5ERaxBD7Vijo6NCS0W/0xy5mOr2ot6NQaijz5uGHy2UqgkBvfrgHetYk65DlVVlnixOUEGvhjF/k1KhBJDxSiCCebSHbmQwipB9kwskUZA1/F2PFIpqJm1pr9qZQEgVXEsrB7jYG8qe/KLIh5Sq0uGQm+B6tf/ZPXc/41yzNakLexcUtH3562FuRJ/95AYcYMD08z8F7EFt2T/zuVKyJHOGO4nNsSmS7a6ifzOTy2lH0cSAoduyB7JGhn1EMp1bcPBYr4dFlDolbY19nQqOky9M42YL2xvy3Fsh6c0FIcG2DcPqSm+vDuw== 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=mk5v6+AdQeIw0oc+2hLTZdFizA7SVQm+iOqaOulDf5I=; b=aAaIAL2StFy52vI1/lCT0faMccH+oLRl2pn7aY53foDpL+bB5J1LmC6V6t2OKySqg/z/zOA/1MFeeOhijLSbUPtNt6X1vGSlTkqL2QX6C+7WNmD1ZtxU7Xm36L0buErcAdWRksT8B6JmX3sa2dIOAx0OriN3Pw6heCMbt2/jbBbAxWwKYvbm7N1rKXR7M5k6N1SoB5Lf0q5hUvTeiLOFqQaqo5/hDaiCwPOUJzwtBtALxZOw2CTGfPk118PtloTJNt/2Drp8ieOv3JgC2zJEkU92EXUj3OXHbpaAz+vRRFo1WNaJLGJqpkBSw91pRngbuAhKawLKA8Zb1P1+7s39Eg== 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=mk5v6+AdQeIw0oc+2hLTZdFizA7SVQm+iOqaOulDf5I=; b=Cp4i4qqAF3PqxqPDyVA2zpF+cX6giuwLW9q5lBVyP4HbTbYaY3RFjQHiFYf0x6QU9rzskiBl5udJf9BIjfb30tM/iBlTT8uqgHrM3DiYQoZCdpCbzxdZRw1iKN3X6Bt/IzdzPE6LkiugXmpIe1KR24x+xHUO8jSF2eCW5v4nOXs= Received: from AM0PR05MB4866.eurprd05.prod.outlook.com (2603:10a6:208:c0::32) by AM0PR05MB4820.eurprd05.prod.outlook.com (2603:10a6:208:c4::23) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3088.23; Thu, 18 Jun 2020 09:29:17 +0000 Received: from AM0PR05MB4866.eurprd05.prod.outlook.com ([fe80::d44d:a804:c730:d2b7]) by AM0PR05MB4866.eurprd05.prod.outlook.com ([fe80::d44d:a804:c730:d2b7%2]) with mapi id 15.20.3109.021; Thu, 18 Jun 2020 09:29:17 +0000 From: Parav Pandit To: =?utf-8?B?R2HDq3RhbiBSaXZldA==?= CC: "dev@dpdk.org" , "ferruh.yigit@intel.com" , Thomas Monjalon , Ori Kam , Matan Azrad Thread-Topic: [dpdk-dev] [RFC PATCH 3/6] common/mlx5: change mlx5 class enum values as bits Thread-Index: AQHWP0segEWsaYRZu0iC2kC4HThLqqjaHzUAgAQHqbA= Date: Thu, 18 Jun 2020 09:29:17 +0000 Message-ID: References: <20200610171728.89-1-parav@mellanox.com> <20200610171728.89-4-parav@mellanox.com> <20200615195520.ecvwfuqfjeqckcaj@u256.net> In-Reply-To: <20200615195520.ecvwfuqfjeqckcaj@u256.net> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: authentication-results: u256.net; dkim=none (message not signed) header.d=none;u256.net; dmarc=none action=none header.from=mellanox.com; x-originating-ip: [106.51.29.68] x-ms-publictraffictype: Email x-ms-office365-filtering-ht: Tenant x-ms-office365-filtering-correlation-id: f4c6df88-a56b-4b97-1c7f-08d8136a1304 x-ms-traffictypediagnostic: AM0PR05MB4820: x-ms-exchange-transport-forked: True x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:3631; x-forefront-prvs: 0438F90F17 x-ms-exchange-senderadcheck: 1 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: mWfaD6+mV6CngRvVH56KqqYse+Avu5TjS/SgsDuxYzFYsvZLE6a/JQaVoH8XuHl7x+cL+hCXwIAd60Wr8nvCsgYIhOo/3icbhN+g33cFtiUQxRz40Og9iHanCVN4XLan959b9vuNvwLVz7JlenKWxPsoppHvttcSe0rE8KHAh5EdnvG7A12maRkNPFs7wN9xTGhusXMmjkfExYE4g7LbuaZOxWjnJdp9GFfeoJNN07SAydYYNBETp8nyxAFwh5womzoNaKbZjyXPgmeo2t54hLgzqP+QTtyO1wEuSLKewZfp1pvl7kzlUhgtNgf5EpZxI2gVROW9KffLzvT8eeyDLg== x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:AM0PR05MB4866.eurprd05.prod.outlook.com; PTR:; CAT:NONE; SFTY:; SFS:(4636009)(366004)(136003)(376002)(396003)(39860400002)(346002)(6506007)(55236004)(53546011)(478600001)(7696005)(6916009)(26005)(186003)(316002)(8676002)(107886003)(54906003)(33656002)(2906002)(83380400001)(66446008)(4326008)(5660300002)(71200400001)(66556008)(64756008)(76116006)(66476007)(86362001)(55016002)(52536014)(8936002)(66946007)(9686003); DIR:OUT; SFP:1101; x-ms-exchange-antispam-messagedata: Cz4ecMk+BvlaJ7UNqP1lN/pDCqt6eWUybkhMCkwrEdUyPK/Z3MHn0BgEYf8vjyXdIgVDqUG8vyky4zyj6UKgBEjuqCId0mru1njvEqBNPCZsQ13E5NIjgEm2C46Jd61nwOKoqa5MquO0eT3/VF8ICilQEUUp7vcJaWs/5FUf0+cvEkAACYiBFWnT7T+KRp3lCgO4aZNkdfbobHVze5PvODADfy3XAKlArP7RwktfsSqaJVvwbD0h9Xbk3j25EFjOn40BYxYtP06AnIqCpO57g74d8WGrlxKG72S5nEdfpptgjESQRufqqCjDaD/6Dciyv6MMR0Gl4UmXI25PAroG9IsW3aaPTiMNkLAygIsLbVi3vH2hWxg7N/QL1jo4N6x0Je4N9Ge2sDp1zX4TSB2mBcign1oJCgvCX6i8AJ9L826DCR8cCunPzzeexRCFZJAVpfLdtTOj0tu0lRYUv2aEPxihIKe5+/lxwTCJ3tSYgOQ= Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: base64 MIME-Version: 1.0 X-OriginatorOrg: Mellanox.com X-MS-Exchange-CrossTenant-Network-Message-Id: f4c6df88-a56b-4b97-1c7f-08d8136a1304 X-MS-Exchange-CrossTenant-originalarrivaltime: 18 Jun 2020 09:29:17.7943 (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: HmeRbLNnfl1v9zzoI5CIbHZnMdSal4+dLfi3U2uz4ixc9eO1lbxzLPx5FJlPa6CGNnIP5uC8xOFjjmw21uJBWw== X-MS-Exchange-Transport-CrossTenantHeadersStamped: AM0PR05MB4820 Subject: Re: [dpdk-dev] [RFC PATCH 3/6] common/mlx5: change mlx5 class enum values as bits 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" DQo+IEZyb206IEdhw6t0YW4gUml2ZXQgPGdyaXZlQHUyNTYubmV0Pg0KPiBTZW50OiBUdWVzZGF5 LCBKdW5lIDE2LCAyMDIwIDE6MjUgQU0NCj4gDQo+IE9uIDEwLzA2LzIwIDE3OjE3ICswMDAwLCBQ YXJhdiBQYW5kaXQgd3JvdGU6DQo+ID4gbWx4NSBQQ0kgRGV2aWNlIHN1cHBvcnRzIG11bHRpcGxl IGNsYXNzZXMgb2YgZGV2aWNlcyBzdWNoIGFzIG5ldCwNCj4gPiB2ZHBhLCBhbmQvb3IgcmVnZXgu DQo+ID4gVG8gc3VwcG9ydCB0aGVzZSBtdWx0aXBsZSBjbGFzc2VzLCBjaGFuZ2UgbWx4NV9jbGFz cyB0byBhIGJpdG1hcA0KPiA+IHZhbHVlcyBzbyB0aGF0IGlmIHVzZXJzIGFza3MgdG8gZW5hYmxl IG11bHRpcGxlIG9mIHRoZW0sIGFsbCBzdXBwb3J0ZWQNCj4gPiBjbGFzc2VzIGNhbiBiZSByZXR1 cm5lZCBieSBtbHg1X2NsYXNzX3N1cHBvcnRlZCgpLg0KPiA+DQo+ID4gU2lnbmVkLW9mZi1ieTog UGFyYXYgUGFuZGl0IDxwYXJhdkBtZWxsYW5veC5jb20+DQo+ID4gLS0tDQo+ID4gIGRyaXZlcnMv Y29tbW9uL21seDUvbWx4NV9jb21tb24uaCB8IDUgKysrLS0NCj4gPiAgMSBmaWxlIGNoYW5nZWQs IDMgaW5zZXJ0aW9ucygrKSwgMiBkZWxldGlvbnMoLSkNCj4gPg0KPiA+IGRpZmYgLS1naXQgYS9k cml2ZXJzL2N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