eal: make u64 reciprocal divisor const
authorStephen Hemminger <stephen@networkplumber.org>
Thu, 21 Mar 2019 19:59:10 +0000 (12:59 -0700)
committerThomas Monjalon <thomas@monjalon.net>
Wed, 3 Apr 2019 16:32:41 +0000 (18:32 +0200)
commit6d96b48af81e7e564d6d627a0266a3b090f15a13
tree63457fee3fec13e1497443decfd5a119b548afa1
parent196c650b8b63fc74f3c30d9be35fc0c8108abe8e
eal: make u64 reciprocal divisor const

The divisor is not modified here. Doesn't really matter for optimizaton
since the function is inline already; but helps with expressing
intent.

Signed-off-by: Stephen Hemminger <stephen@networkplumber.org>
Reviewed-by: Maxime Coquelin <maxime.coquelin@redhat.com>
lib/librte_eal/common/include/rte_reciprocal.h