From mboxrd@z Thu Jan  1 00:00:00 1970
Return-Path: <thomas@monjalon.net>
Received: from out3-smtp.messagingengine.com (out3-smtp.messagingengine.com
 [66.111.4.27]) by dpdk.org (Postfix) with ESMTP id 0EAED1B1CE
 for <dev@dpdk.org>; Sat, 27 Jan 2018 22:40:09 +0100 (CET)
Received: from compute1.internal (compute1.nyi.internal [10.202.2.41])
 by mailout.nyi.internal (Postfix) with ESMTP id 5FE9D20FAF;
 Sat, 27 Jan 2018 16:40:08 -0500 (EST)
Received: from frontend1 ([10.202.2.160])
 by compute1.internal (MEProxy); Sat, 27 Jan 2018 16:40:08 -0500
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=z94Dl2MuV9H+QGVa/xHXiuowZz
 /Cfxp2NNewW2lYZQA=; b=Q3e1JilPYE/CzlhFcFrGl0MoI9V5Jksisv9jWtOlKj
 1rBAB+9EgtmpOxNTzcR/xrJkyeaIke9dWtTafZySfZIL7cnm/xUAVshUxjXGqv9e
 MCLxjoN/Mwyk5U0HmmCycYnWKboF2iZuehY0GEEHHfu39wH1QrLQOCxrX+k9aeS5
 o=
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=fm1; bh=z94Dl2
 MuV9H+QGVa/xHXiuowZz/Cfxp2NNewW2lYZQA=; b=HwqQuWdu3OMEbI3Wwqbixe
 pP89l/XzwxoPjfODjIh76vv647i6Pno8PN8mdurb+7O/7RFYOO27uK7zikwyl7cG
 mHnKY3H/t3cv4Pq64eROJz3/pQKMWtG3DqJO8Q5Zn21LX/VbZ3Rl6dprVup3QNL3
 h3TTLhd8yz4pBC2Ko3qm7MFp3UGnyDRLPMuRxDolBtyhHTwa8oAi/w+0IGsz5Sh6
 9KHqcA3H8/xSAXaXGCL4+NK84Yz6TCZKB17zIk3LHlt/CvqAtySUUkf8qbSWRfti
 y10w7zDVv3AYp1t+mKiddgO4sDPMbQvyldKeRFM2IOKKDuv0aSokXp4nXXVVJNtg
 ==
X-ME-Sender: <xms:uPFsWlY3uu3EMy7cRMHcoB6mh0mGcG5V5Ynyi7dGmEd233Ryd58a4A>
Received: from xps.localnet (13.41.136.77.rev.sfr.net [77.136.41.13])
 by mail.messagingengine.com (Postfix) with ESMTPA id E4BCF7E0FA;
 Sat, 27 Jan 2018 16:40:07 -0500 (EST)
From: Thomas Monjalon <thomas@monjalon.net>
To: Pavan Nikhilesh <pbhagavatula@caviumnetworks.com>
Cc: dev@dpdk.org, cristian.dumitrescu@intel.com, stephen@networkplumber.org
Date: Sat, 27 Jan 2018 22:39:19 +0100
Message-ID: <5754374.38ovyHP9M0@xps>
In-Reply-To: <20180126050451.5953-1-pbhagavatula@caviumnetworks.com>
References: <1504032378-5483-1-git-send-email-pbhagavatula@caviumnetworks.com>
 <20180126050451.5953-1-pbhagavatula@caviumnetworks.com>
MIME-Version: 1.0
Content-Transfer-Encoding: 7Bit
Content-Type: text/plain; charset="us-ascii"
Subject: Re: [dpdk-dev] [PATCH v8 1/3] eal: introduce integer divide through
	reciprocal
X-BeenThere: dev@dpdk.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: DPDK patches and discussions <dev.dpdk.org>
List-Unsubscribe: <https://dpdk.org/ml/options/dev>,
 <mailto:dev-request@dpdk.org?subject=unsubscribe>
List-Archive: <http://dpdk.org/ml/archives/dev/>
List-Post: <mailto:dev@dpdk.org>
List-Help: <mailto:dev-request@dpdk.org?subject=help>
List-Subscribe: <https://dpdk.org/ml/listinfo/dev>,
 <mailto:dev-request@dpdk.org?subject=subscribe>
X-List-Received-Date: Sat, 27 Jan 2018 21:40:09 -0000

26/01/2018 06:04, Pavan Nikhilesh:
> In some use cases of integer division, denominator remains constant and
> numerator varies. It is possible to optimize division for such specific
> scenarios.
> 
> The librte_sched uses rte_reciprocal to optimize division so, moving it to
> eal/common would allow other libraries and applications to use it.
> 
> Signed-off-by: Pavan Nikhilesh <pbhagavatula@caviumnetworks.com>

Series applied, thanks