eal: add macros to align value to multiple
authorPavan Nikhilesh <pbhagavatula@caviumnetworks.com>
Tue, 20 Mar 2018 13:24:34 +0000 (18:54 +0530)
committerThomas Monjalon <thomas@monjalon.net>
Wed, 4 Apr 2018 11:43:34 +0000 (13:43 +0200)
commit5120203d753fe82305a7014706f54d973b8860cd
tree494d9fdd772e3915867deb5b8fa81b96e9255720
parent2f35377892b0c34a8ece03ce44342d491277ec84
eal: add macros to align value to multiple

Add macros to align given value to the multiple of the supplied
integer.

Signed-off-by: Pavan Nikhilesh <pbhagavatula@caviumnetworks.com>
lib/librte_eal/common/include/rte_common.h
test/test/test_common.c