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 BA08AA0526; Thu, 9 Jul 2020 08:24:01 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 9BCAB1DB27; Thu, 9 Jul 2020 08:24:01 +0200 (CEST) Received: from EUR01-HE1-obe.outbound.protection.outlook.com (mail-eopbgr130077.outbound.protection.outlook.com [40.107.13.77]) by dpdk.org (Postfix) with ESMTP id B76B91DAD8 for ; Thu, 9 Jul 2020 08:24:00 +0200 (CEST) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=KQdSREAHwNdzoqzqyr7doSj1AgebSY1OyJL+wtgZBM0j9GpUdF03/ataCo013HPTqXG4sygBHs8wZk2jEWulehLT+jL8jwbjXwpk1942w0xm/mFOVZ7SM26VRHKIuizs/AS0cCF524plvNQjOCN1RTPjYagDbsldXkNvsmIjxq8pklMuPC9/qvz4pi/Dg+sVD83vRj/2SykX64/6YgMws2wRvUC4QGLAPqyv0pc+45hMfhxMFJ5FENWHyB8GJDg3p5GFSUloEVHvZIp/M/CoBBEeQgg1Yc/DfmA6pr0Mt5ommwtlhZY/5AZkl0HwQHXY6bBp4Y951NAHtUArFTF4xw== 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=jOhteRvWGvnW8WOBwvLAUm+mpDuOHn/5rD0DrPMEg7U=; b=f1khCiXAMYp9gSgeQY2454qI/d/QyuyqYTdm2XiQTnP7L+uM1SIDOYFSYsz6peP1YxkdCU+euZnqyaCrFNERfZ8fe7rmrQUSqfq0opeWvETCAvFYupYgdeE1hxY8KbXacACKJ0UcDnnyDj+fajYMVivCZoygOTDbh4+1IoUMTOq30qH0K9AH1plOR3W63XgK6Nd/oAHrEolUJRZywQJQXuiC6eK++X1L7CMwAy9HqLAlzExneFyu0ct3d6UnmIG1XmtVGrVoeRL7vJslFDbUvS7Zy935QfL9f83A17N6Yb+SmBr8OjlUYy4ws7f4zXtBT8QEYa6nS/vK75MS+TDzDg== 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=jOhteRvWGvnW8WOBwvLAUm+mpDuOHn/5rD0DrPMEg7U=; b=YNK8M8oqQmKU+6k3rP3lmxl4BoHb49vOKVFoDwbC5F4bhkwwtWmE6zX2+P+5jj7K2LiGnYFwOSICFUitf1y6IfzoWiJzmCCVuShcIBg2XEdPqhbY9pbgnFYKJ8UCJogDvyk+vPzd80JmdO3i5MaBxBLX4yy1H1QrL1u0BiDLq2A= Received: from AM0PR05MB4866.eurprd05.prod.outlook.com (2603:10a6:208:c0::32) by AM0PR05MB5905.eurprd05.prod.outlook.com (2603:10a6:208:131::28) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3174.22; Thu, 9 Jul 2020 06:23:59 +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; Thu, 9 Jul 2020 06:23:59 +0000 From: Parav Pandit To: =?utf-8?B?TW9ydGVuIEJyw7hydXA=?= , Thomas Monjalon , Joyce Kong CC: "dev@dpdk.org" , "grive@u256.net" , "ferruh.yigit@intel.com" , Ori Kam , Matan Azrad Thread-Topic: [dpdk-dev] [PATCH v4 01/10] eal: introduce macros for getting valuefor bit Thread-Index: AQHWU4O5Hgff3FwM+kifgpETpftNOaj7/oAwgAAKbgCAAAe6AIACs06w Date: Thu, 9 Jul 2020 06:23:59 +0000 Message-ID: References: <20200610171728.89-2-parav@mellanox.com> <98CBD80474FA8B44BF855DF32C47DC35C610FE@smartserver.smartshare.dk> <3379690.1gGlKYMXnk@thomas> <98CBD80474FA8B44BF855DF32C47DC35C61106@smartserver.smartshare.dk> In-Reply-To: <98CBD80474FA8B44BF855DF32C47DC35C61106@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: a022ab12-9f52-473c-2438-08d823d0aa6f x-ms-traffictypediagnostic: AM0PR05MB5905: 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:8882; x-ms-exchange-senderadcheck: 1 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: tqLxtYV+3vdKJuv4cGegzpYG3LLYzaChSEgYKnnm47tBqaR7hzYakpIHEjNgfUkrHtG87CFLF2v2Y9hQGh3D43NXYu+o95wCf9GgWpHa2Y5zrpMhkV994890SRPPG0nq+GKX+DEj/XW9j8/HRSocbyPC/nnbAZs3l53sMFovy8GA1x340qICOoQ60ib9VwaD4nqMWlSuHEhjkc/+RUSx4R9xVwrPOtbmyK6VCqTku+xEnJ5/KIc5VofrznbxHEpPIjcyN2k0FfAV2PmKEI4HfuRMfQcv3fecCfyu6yRFaAqxAqJyHdB3PfXvfRSNxFUPt56uTlubqUE6qsCM8n7HXA== 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)(366004)(39860400002)(136003)(376002)(396003)(8936002)(8676002)(5660300002)(9686003)(71200400001)(66556008)(33656002)(54906003)(66446008)(55016002)(107886003)(66946007)(316002)(110136005)(76116006)(66476007)(64756008)(86362001)(4326008)(478600001)(26005)(55236004)(52536014)(6506007)(83380400001)(66574015)(186003)(7696005)(2906002); DIR:OUT; SFP:1101; x-ms-exchange-antispam-messagedata: 5hZsKZOZWNVAnW3OeRWNYo1M+F5YpcAzN0dxVeakg9nRd+hJqUmd8MzYD4eGHVQLu8/VxIRhOf46VStm/IY3FM6tds9ISxYHaGgPi6kUBLjmjzN87YRBEoj8LTvpfuNEVt+Bj/L/KgsohKihKgMxVYD9SJWQrSUqyTChwZppWIJylj/hQeWHHLCj/+fWozd7ZzdpWTK5HrKEUAPLBM1MHcoPSCOD4bMrNodRmqLf6vf7hKMb/IaJEyppSG8260nmUABgEA6sVBQMGToTHS9CM05d1A2EyqAqqSXx/23E46Yi6ansyTMZYfMQNEYxMR4cxXFqi4fhGBZN3ECv0CaOm8fzFVjEaFkorG3qIXGE5epfqR7kaB5EbV6C6ejmoqbxyDL9SFdO2V6zciR5Nc1dryPv4HUfozwaYmShVCM7XVw+sELApUtqLYl3LNoVCJ6banGXDqnwOm/XpPCfG5fs6nv3tp/YKYY380+xPBA6xb7TZMGzOOz+luXtdMag4Pkw 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: a022ab12-9f52-473c-2438-08d823d0aa6f X-MS-Exchange-CrossTenant-originalarrivaltime: 09 Jul 2020 06:23:59.1645 (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: xFVSR3aQDWD6J4PYDqeb2EoH4sW1gNChoi+fSNF/IV4zHbjpwBMiyM4GIO5BmCO2SCj0TxywZyArkoFPaMC0Vg== X-MS-Exchange-Transport-CrossTenantHeadersStamped: AM0PR05MB5905 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" SGkgTW9ydGVuLA0KDQo+IEZyb206IE1vcnRlbiBCcsO4cnVwIDxtYkBzbWFydHNoYXJlc3lzdGVt cy5jb20+DQo+IFNlbnQ6IFR1ZXNkYXksIEp1bHkgNywgMjAyMCA2OjExIFBNDQoNCj4gQWRkaW5n IEpveWNlIEtvbmcgdG8gdGhpcyBkaXNjdXNzaW9uIGFzIHRoZSBydGVfYml0b3BzIG1haW50YWlu ZXIuDQo+IA0KPiA+IEZyb206IFRob21hcyBNb25qYWxvbiBbbWFpbHRvOnRob21hc0Btb25qYWxv bi5uZXRdDQo+ID4gU2VudDogVHVlc2RheSwgSnVseSA3LCAyMDIwIDI6MTMgUE0NCj4gPg0KPiA+ IDA3LzA3LzIwMjAgMTM6MzgsIFBhcmF2IFBhbmRpdDoNCj4gPiA+IEZyb206IE1vcnRlbiBCcsO4 cnVwIDxtYkBzbWFydHNoYXJlc3lzdGVtcy5jb20+DQo+ID4gPiA+IEZyb206IFBhcmF2IFBhbmRp dA0KPiA+ID4gPiA+IC0tLSBhL2xpYi9saWJydGVfZWFsL2luY2x1ZGUvcnRlX2JpdG9wcy5oDQo+ ID4gPiA+ID4gKysrIGIvbGliL2xpYnJ0ZV9lYWwvaW5jbHVkZS9ydGVfYml0b3B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