eal: add 64-bit bsf and 32-bit safe bsf functions
authorAnatoly Burakov <anatoly.burakov@intel.com>
Thu, 20 Dec 2018 12:09:48 +0000 (12:09 +0000)
committerThomas Monjalon <thomas@monjalon.net>
Thu, 20 Dec 2018 23:00:58 +0000 (00:00 +0100)
commit4e261f551986d40fa0c8388ed50899b609add04b
tree5080d9e2829981f829d0a90388f79b621baaa022
parentcc7ddb00da7759115059dcb82ad9421701e21f21
eal: add 64-bit bsf and 32-bit safe bsf functions

Add an rte_bsf64 function that follows the convention of existing
rte_bsf32 function. Also, add missing implementation for safe
version of rte_bsf32, and implement unit tests for all recently
added bsf varieties.

Signed-off-by: Anatoly Burakov <anatoly.burakov@intel.com>
app/test-pmd/testpmd.c
doc/guides/rel_notes/release_19_02.rst
lib/librte_eal/common/include/rte_common.h
lib/librte_eal/linuxapp/eal/eal_memalloc.c
test/test/test_common.c