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 EF17CA0526; Thu, 9 Jul 2020 09:15:50 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 6AFE41DB96; Thu, 9 Jul 2020 09:15:49 +0200 (CEST) Received: from smartserver.smartsharesystems.com (smartserver.smartsharesystems.com [77.243.40.215]) by dpdk.org (Postfix) with ESMTP id 1A06A1DAE3 for ; Thu, 9 Jul 2020 09:15:48 +0200 (CEST) Content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: base64 Date: Thu, 9 Jul 2020 09:15:45 +0200 X-MimeOLE: Produced By Microsoft Exchange V6.5 Message-ID: <98CBD80474FA8B44BF855DF32C47DC35C6110D@smartserver.smartshare.dk> In-Reply-To: X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: [dpdk-dev] [PATCH v4 01/10] eal: introduce macros for getting valuefor bit Thread-Index: AQHWU4O5Hgff3FwM+kifgpETpftNOaj7/oAwgAAKbgCAAAe6AIACs06wgAAV2gA= References: <20200610171728.89-2-parav@mellanox.com> <98CBD80474FA8B44BF855DF32C47DC35C610FE@smartserver.smartshare.dk> <3379690.1gGlKYMXnk@thomas> <98CBD80474FA8B44BF855DF32C47DC35C61106@smartserver.smartshare.dk> From: =?UTF-8?B?TW9ydGVuIEJyw7hydXA=?= To: "Parav Pandit" , "Thomas Monjalon" , "Joyce Kong" Cc: , , , "Ori Kam" , "Matan Azrad" 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" PiBGcm9tOiBkZXYgW21haWx0bz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