Re: [dpdk-dev] [PATCH 3/6] common: add missing implementations

2018-12-20 Thread Burakov, Anatoly
On 20-Dec-18 9:09 AM, Thomas Monjalon wrote: 11/12/2018 18:57, Anatoly Burakov: Implement missing functions for 32-bit safe bsf, as well as 64-bit fls and log2. It would be better to make 3 patches, for each function, updating eal_memalloc.c, testpmd and tests at the same time. Sure, will r

Re: [dpdk-dev] [PATCH 3/6] common: add missing implementations

2018-12-20 Thread Thomas Monjalon
11/12/2018 18:57, Anatoly Burakov: > Implement missing functions for 32-bit safe bsf, as well as 64-bit > fls and log2. It would be better to make 3 patches, for each function, updating eal_memalloc.c, testpmd and tests at the same time.

[dpdk-dev] [PATCH 3/6] common: add missing implementations

2018-12-11 Thread Anatoly Burakov
Implement missing functions for 32-bit safe bsf, as well as 64-bit fls and log2. Signed-off-by: Anatoly Burakov --- Notes: v4: - Fixed to use proper rte_bsf64 v3: - Added clarification that pos is not checked lib/librte_eal/common/include/rte_common.h | 62