[PATCH v3 0/3] eal: provide leading and trailing zero bit count

Bruce Richardson bruce.richardson at intel.com
Mon Jan 9 09:51:35 CET 2023


On Fri, Jan 06, 2023 at 02:01:42PM -0800, Tyler Retzlaff wrote:
> Move existing bit manipulation, log and npow functions from
> rte_common.h to rte_bitops.h
> 
> Provide leading and trailing zero bit count functions to abstract away
> compiler specific implementations.
> 
> Include basic unit test for new leading/trailing zero bit count functions.
> 
> v3:
>   * rename to use 32/64 instead of l/ll suffixes
>   * add new functions to rte_bitops.h instead of new header
>   * move other bit functions from rte_common.h to rte_bitops.h
> 
Series-acked-by: Bruce Richardson <bruce.richardson at intel.com>


More information about the dev mailing list