From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from out5-smtp.messagingengine.com (out5-smtp.messagingengine.com [66.111.4.29]) by dpdk.org (Postfix) with ESMTP id BAF451C74D for ; Wed, 4 Apr 2018 17:23:57 +0200 (CEST) Received: from compute1.internal (compute1.nyi.internal [10.202.2.41]) by mailout.nyi.internal (Postfix) with ESMTP id 4BE7621358; Wed, 4 Apr 2018 11:23:57 -0400 (EDT) Received: from mailfrontend1 ([10.202.2.162]) by compute1.internal (MEProxy); Wed, 04 Apr 2018 11:23:57 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=monjalon.net; h= cc:content-transfer-encoding:content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to:x-me-sender :x-me-sender:x-sasl-enc; s=mesmtp; bh=qUFId2WmdYWNXRKZU1EPnbNn5v wOQ5ADKnNrh+sSLG8=; b=qvy3qMPs5JkABQNhvVlf4pqdN/A/0VyEUwcUUolyVw 0Ix8sVqKWHRQcwJQxjn7qosmMNzIKPv5GS0qwBRzCqfQUJI/O+Dqd9vKWXXgUV/1 Qp9iPdGuYSpY9OrsDARY5GvIUaGF1GaZ0IA2kqbMSR3yCTk3h3jfXQiKrPsH8KuF k= DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-transfer-encoding:content-type :date:from:in-reply-to:message-id:mime-version:references :subject:to:x-me-sender:x-me-sender:x-sasl-enc; s=fm2; bh=qUFId2 WmdYWNXRKZU1EPnbNn5vwOQ5ADKnNrh+sSLG8=; b=Yx2zWOcLS4y6n1RZINE5Di 0gmttCPC6WXNN6Eaptov59fSCO4fhEHc8OnLjUsfDaexvY9fxgGwCOjZ6uUClEUL eQ9S+0oKZHUr1zyZ+kwBhO8N/7PCKSjovDgNw0gEST0Z6KbiRpXNRQIRmIaP9RT9 5DWAS/lcgNYehXdATnL7s5cisEe0cCylTAZULnSRnsZE459mcXKKTY/oJWOyTAk8 yutdiJEMECvSEffUeP1WFD1/mNeLM543kUfmCN0xpk9H3+wCl/R/T44yw2BhvHGp nZ3PahTnsPQULspfzdQOEQG6c2fYqkodDxLy4RGt7bdNymeBUGPxHNu2UwbqjbyQ == X-ME-Sender: Received: from xps.localnet (184.203.134.77.rev.sfr.net [77.134.203.184]) by mail.messagingengine.com (Postfix) with ESMTPA id 78116E43BE; Wed, 4 Apr 2018 11:23:56 -0400 (EDT) From: Thomas Monjalon To: Pavan Nikhilesh Cc: jerin.jacob@caviumnetworks.com, matan@mellanox.com, keith.wiles@intel.com, dev@dpdk.org Date: Wed, 04 Apr 2018 17:23:55 +0200 Message-ID: <1918981.tMXvIhgn6L@xps> In-Reply-To: <20180404132016.13754-1-pbhagavatula@caviumnetworks.com> References: <20180217104934.17291-1-pbhagavatula@caviumnetworks.com> <20180404132016.13754-1-pbhagavatula@caviumnetworks.com> MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" Subject: Re: [dpdk-dev] [PATCH v4] eal: add API to align integer to previous power of 2 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: , X-List-Received-Date: Wed, 04 Apr 2018 15:23:58 -0000 04/04/2018 15:20, Pavan Nikhilesh: > Add 32b and 64b API's to align the given integer to the previous power > of 2. Update common auto test to include test for previous power of 2 for > both 32 and 64bit integers. > > Signed-off-by: Pavan Nikhilesh Applied, thanks