sched: introduce reciprocal divide
authorStephen Hemminger <stephen@networkplumber.org>
Sun, 29 Nov 2015 18:46:48 +0000 (10:46 -0800)
committerThomas Monjalon <thomas.monjalon@6wind.com>
Sun, 13 Mar 2016 22:31:59 +0000 (23:31 +0100)
commitffe3ec811ef5028426dfbeb3b2927d1216f4b2f5
tree4a80b39cd7e7ef00b3e1f0b4ed94215439953e09
parent4d51afb5cdb668d8fa9737f3a3665c14b868a5d0
sched: introduce reciprocal divide

This adds (with permission of the original author)
reciprocal divide based on algorithm in Linux.

Signed-off-by: Stephen Hemminger <stephen@networkplumber.org>
Signed-off-by: Hannes Frederic Sowa <hannes@stressinduktion.org>
lib/librte_sched/Makefile
lib/librte_sched/rte_reciprocal.c [new file with mode: 0644]
lib/librte_sched/rte_reciprocal.h [new file with mode: 0644]