[dpdk-dev] [PATCH v3 1/3] eal: introduce integer divide through reciprocal
Burakov, Anatoly
anatoly.burakov at intel.com
Mon Sep 4 16:01:48 CEST 2017
> From: dev [mailto:dev-bounces at dpdk.org] On Behalf Of Pavan Nikhilesh
> Sent: Sunday, September 3, 2017 1:36 PM
> To: dev at dpdk.org
> Cc: Dumitrescu, Cristian <cristian.dumitrescu at intel.com>;
> stephen at networkplumber.org; Pavan Nikhilesh
> <pbhagavatula at caviumnetworks.com>
> Subject: [dpdk-dev] [PATCH v3 1/3] eal: introduce integer divide through
> reciprocal
>
> 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 at caviumnetworks.com>
> ---
Reviewed-by: Anatoly Burakov <anatoly.burakov at intel.com>
More information about the dev
mailing list