f9494b67c0
Using the rte_bsf32 function to find last set bit. This avoids the for loop and hence the bad bit shift operation. Coverity issue: 323477 Fixes: 351fbee21986 ("common/cpt: support hash") Signed-off-by: Ankur Dwivedi <ankur.dwivedi@caviumnetworks.com> Signed-off-by: Anoob Joseph <anoob.joseph@caviumnetworks.com>