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 88685A00BE; Tue, 7 Jul 2020 13:38:14 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id E795A1DDDB; Tue, 7 Jul 2020 13:38:13 +0200 (CEST) Received: from EUR02-AM5-obe.outbound.protection.outlook.com (mail-eopbgr00069.outbound.protection.outlook.com [40.107.0.69]) by dpdk.org (Postfix) with ESMTP id 822761DD5C for ; Tue, 7 Jul 2020 13:38:12 +0200 (CEST) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=FcvjYgF2VxdbxMc3k6aZKdmpWx2h/qd1FAKoCdXTIN39AEqMKK96dbqIc1Q8ScjPPatzEaIlnZ/wsiEUwdabnZQFtvmpJ82KRUpvIeKK49pPkgwEbIet7E8d/RV1sTcVYKltJi/UKnibbrQBx6x8K+XTODNA6hHIEKtkkZzHgWaUbXFaNXzom6uBDF/8AKYXSv/CWYxpgf2LgbGOLd7A7kV6M2g6wLxmr7WBlgE3+zuVsUONanakprElGdY9uzafwHtqin08zaDTC/CsaDdIkWeIpYCRdMkOHejKqo46ZLk6Q4TAvWkbvAagpqAEtsEqOkqjqBWXUjuTtmLLTKiihg== 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=mALnlWfHh7AIMZz01TGN8k4Y8XVJgXAk5pYLimA3b/0=; b=C9Rl4oZYpLQyNj6fMp40C9PABwdEgwBOnKqXkUj2hFd3KAsHExUfGEBIViU4oh0uyQCOYsBo0u+sOs3AN1XojZ4nHu2uxQH9JTWO9h5aXPeDGZei6BDcQ9Ub/A5uvF8QGWtAqhanQinx0AaHvNiq3qCRFN6Z7Ht0+l7UC+FmLaHaBhfzMCRI7M8K+Js+/JUkSmca6Ir2gLZxLp9sIwBCj0/tfxa8VO31PCGKdBOteNQa3abnBrD6krrBiWnSul1R02Q1O2CKx59Z1P/s7u9mqanQXyNTn10san1z0kTx00icLk9OvSHNVLwurelBvjhlt5Khoqu88LM1d5qpIqSLWQ== 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=mALnlWfHh7AIMZz01TGN8k4Y8XVJgXAk5pYLimA3b/0=; b=olvQ8swkQ0Bgi1UXM4uhDx4fSbKrkmAuQw+pa6dD1zCpytHC0REZp6PNlkiEtbBeMIz4sXc2tjEfmKbi35rq4u2WRGrnYNblhHdmWhQ+iWyxGXnIsWFLviV57n4vHlLo0qysV9V5BPza1caDvRWiyjIkYhSFYKJ+kY0slNw35Ow= Received: from AM0PR05MB4866.eurprd05.prod.outlook.com (2603:10a6:208:c0::32) by AM0PR05MB6499.eurprd05.prod.outlook.com (2603:10a6:208:144::15) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3153.24; Tue, 7 Jul 2020 11:38:10 +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.3153.029; Tue, 7 Jul 2020 11:38:10 +0000 From: Parav Pandit To: =?utf-8?B?TW9ydGVuIEJyw7hydXA=?= , "dev@dpdk.org" , "grive@u256.net" , "ferruh.yigit@intel.com" CC: Thomas Monjalon , Ori Kam , Matan Azrad Thread-Topic: [dpdk-dev] [PATCH v4 01/10] eal: introduce macros for getting valuefor bit Thread-Index: AQHWU4O5Hgff3FwM+kifgpETpftNOaj7/oAw Date: Tue, 7 Jul 2020 11:38:10 +0000 Message-ID: References: <20200610171728.89-2-parav@mellanox.com> <20200703134641.386297-1-parav@mellanox.com> <20200703134641.386297-2-parav@mellanox.com> <98CBD80474FA8B44BF855DF32C47DC35C610FE@smartserver.smartshare.dk> In-Reply-To: <98CBD80474FA8B44BF855DF32C47DC35C610FE@smartserver.smartshare.dk> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: authentication-results: smartsharesystems.com; dkim=none (message not signed) header.d=none; smartsharesystems.com; dmarc=none action=none header.from=mellanox.com; x-originating-ip: [106.51.28.254] x-ms-publictraffictype: Email x-ms-office365-filtering-ht: Tenant x-ms-office365-filtering-correlation-id: a15d52f0-3637-4368-4a95-08d8226a3a0e x-ms-traffictypediagnostic: AM0PR05MB6499: x-ld-processed: a652971c-7d2e-4d9b-a6a4-d149256f461b,ExtAddr x-ms-exchange-transport-forked: True x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:10000; x-forefront-prvs: 0457F11EAF x-ms-exchange-senderadcheck: 1 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: gk66xk/MyhNmuFQg7lFRGoJGzZgkIbDK5kmJEgAIpHaCxSIkFqgQvSSjtL+0Vl1pBPvSzXR1X353o2NhLx7GT5x1w4XewYkSvcuRXooxHZwZzCp5lq4uxidlC/3PZkRIjsdn6a4QB/+uPQzyaifKv1HTECKKmZ1Zwf9ex/QolNwja7YdLxOIyfGvGLp/buNfZ5Vk/a5p++Sc58pGb6GmQtClO4hf/4ja8uzcq0wB2+N6X4OWcbDgFveaLdM7UQC6JD1GSwm6nDYLkwyGFaYjaZ7dc0eQ1/bt2jV5ZjvOQijv8KzBru2DTL5Veww0+p1fPw8bh5oGJ6XEvEi8oy3ssw== 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)(346002)(136003)(376002)(39860400002)(366004)(396003)(64756008)(55016002)(2906002)(66946007)(66446008)(66476007)(66556008)(7696005)(8936002)(186003)(76116006)(107886003)(71200400001)(4326008)(478600001)(9686003)(86362001)(8676002)(110136005)(54906003)(55236004)(316002)(6506007)(52536014)(83380400001)(26005)(33656002)(66574015)(5660300002); DIR:OUT; SFP:1101; x-ms-exchange-antispam-messagedata: KkK4pKn48hL5djSF4hu1ZcSGjcPBe9a9k98MSABurFkqqZrEvXz/Z/9IDAie+OaHec0NSFr3gVu5N0Go8yzQ71gsgFTxR0vIrWKrCkqR1oNyvdT4JKwnuIAx2xFg/YRB6BpE8cpVVZRuLduZ1cxlKXrnya5ZNwYr22ug2tDTP0iUSEjqwEq04HJA8Nt5m6fxntLgKj4R53IsrZz+UQjIWt/3Myyrw0MPzMRVAQ7IXcrBMUKwh3iLaWcJLHoXdU5WDbsKILp7Ay5AfwHfna29ccTaiQDVeOCzx1jeg2vR/3CdWPGknPjKtxIwE+0CPhfsCaBfDJG2jhAczbqkATmJ3OrkHV0rr+Iv1VbqANqGmZxsUeoh9i3sk6PQ1/BcYXePOREjsqvwkUZG8h5x5zXAo2cYVGOEFlizrC7KjYMhcIULECuexSnvPM5orUPEwEyqimAywpGegsNTow9s3B8nz3l904EUQ7seXSbZC4oRrpZfiJlZSohFmRthkaVA4MzQ Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: base64 MIME-Version: 1.0 X-OriginatorOrg: Mellanox.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-AuthSource: AM0PR05MB4866.eurprd05.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: a15d52f0-3637-4368-4a95-08d8226a3a0e X-MS-Exchange-CrossTenant-originalarrivaltime: 07 Jul 2020 11:38:10.7139 (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: IA7Ybh2kG4+soVUPBGqiocZNSU7DDwPx0IYMMmpwz77mk5a7QCD77Jc/N5bheYzmzmnYWxv5xLR003NQyC2YFQ== X-MS-Exchange-Transport-CrossTenantHeadersStamped: AM0PR05MB6499 Subject: Re: [dpdk-dev] [PATCH v4 01/10] eal: introduce macros for getting valuefor 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" DQoNCj4gRnJvbTogTW9ydGVuIEJyw7hydXAgPG1iQHNtYXJ0c2hhcmVzeXN0ZW1zLmNvbT4NCj4g U2VudDogTW9uZGF5LCBKdWx5IDYsIDIwMjAgNDoyNCBQTQ0KPiANCj4gPiBGcm9tOiBkZXYgW21h aWx0bzpkZXYtYm91bmNlc0BkcGRrLm9yZ10gT24gQmVoYWxmIE9mIFBhcmF2IFBhbmRpdA0KPiA+ IFNlbnQ6IEZyaWRheSwgSnVseSAzLCAyMDIwIDM6NDcgUE0NCj4gPg0KPiA+IFRoZXJlIGFyZSBz ZXZlcmFsIGRyaXZlcnMgd2hpY2ggZHVwbGljYXRlIGJpdCBnZW5lcmF0aW9uIG1hY3JvLg0KPiA+ IEludHJvZHVjZSBhIGdlbmVyaWMgYml0IG1hY3JvcyBzbyB0aGF0IHN1Y2ggZHJpdmVycyBhdm9p ZCByZWRlZmluaW5nDQo+ID4gc2FtZSBpbiBtdWx0aXBsZSBkcml2ZXJzLg0KPiA+DQo+ID4gU2ln bmVkLW9mZi1ieTogUGFyYXYgUGFuZGl0IDxwYXJhdkBtZWxsYW5veC5jb20+DQo+ID4gQWNrZWQt Ynk6IE1hdGFuIEF6cmFkIDxtYXRhbkBtZWxsYW5veC5jb20+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