20/12/2018 13:09, Anatoly Burakov:
> --- a/app/test-pmd/testpmd.c
> +++ b/app/test-pmd/testpmd.c>
> -static inline uint32_t
> -bsf64(uint64_t v)
> -{
> - return (uint32_t)__builtin_ctzll(v);
> -}
> -
[...]
> --- a/lib/librte_eal/linuxapp/eal/eal_memalloc.c
> +++ b/lib/librte_eal/linuxapp/eal/ea
Add missing implementation for 64-bit log2 function, and extend
the unit test to test this new function. Also, remove duplicate
reimplementation of this function from testpmd and memalloc.
Signed-off-by: Anatoly Burakov
---
app/test-pmd/testpmd.c | 17 +
lib/l
2 matches
Mail list logo