Re: [dpdk-dev] [PATCH v3 2/2] test: update common auto test

2018-04-04 Thread Pavan Nikhilesh
On Wed, Apr 04, 2018 at 02:49:28PM +0200, Thomas Monjalon wrote: > 04/04/2018 12:16, Pavan Nikhilesh: > > Update common auto test to include test for previous power of 2 for both > > 32 and 64bit integers. > > This patch can be merged with previous one (related lib change). > > [...] > > + for (i

Re: [dpdk-dev] [PATCH v3 2/2] test: update common auto test

2018-04-04 Thread Thomas Monjalon
04/04/2018 12:16, Pavan Nikhilesh: > Update common auto test to include test for previous power of 2 for both > 32 and 64bit integers. This patch can be merged with previous one (related lib change). [...] > + for (i = 1, p = 1; i <= MAX_NUM; i++) { > + if (rte_align32prevpow2(i)

[dpdk-dev] [PATCH v3 2/2] test: update common auto test

2018-04-04 Thread Pavan Nikhilesh
Update common auto test to include test for previous power of 2 for both 32 and 64bit integers. Signed-off-by: Pavan Nikhilesh --- test/test/test_common.c | 24 1 file changed, 24 insertions(+) diff --git a/test/test/test_common.c b/test/test/test_common.c index d034243