Re: [dpdk-dev] [PATCH v2] eal: add macros to align value to multiple

2018-04-04 Thread Thomas Monjalon
20/03/2018 14:24, Pavan Nikhilesh: > Add macros to align given value to the multiple of the supplied > integer. > > Signed-off-by: Pavan Nikhilesh > --- > Common code needed for OcteonTx event timer device. > > v2 Changes: > - Use paranthesis around mul (Konstantin). > - Squash test_common p

[dpdk-dev] [PATCH v2] eal: add macros to align value to multiple

2018-03-20 Thread Pavan Nikhilesh
Add macros to align given value to the multiple of the supplied integer. Signed-off-by: Pavan Nikhilesh --- Common code needed for OcteonTx event timer device. v2 Changes: - Use paranthesis around mul (Konstantin). - Squash test_common patch. lib/librte_eal/common/include/rte_common.h | 16