From mboxrd@z Thu Jan 1 00:00:00 1970 From: Thomas Monjalon Subject: Re: [PATCH v4] eal: add API to align integer to previous power of 2 Date: Wed, 04 Apr 2018 17:23:55 +0200 Message-ID: <1918981.tMXvIhgn6L@xps> References: <20180217104934.17291-1-pbhagavatula@caviumnetworks.com> <20180404132016.13754-1-pbhagavatula@caviumnetworks.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7Bit Cc: jerin.jacob@caviumnetworks.com, matan@mellanox.com, keith.wiles@intel.com, dev@dpdk.org To: Pavan Nikhilesh 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) In-Reply-To: <20180404132016.13754-1-pbhagavatula@caviumnetworks.com> List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" 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