net/thunderx: remove libm dependency
authorJerin Jacob <jerin.jacob@caviumnetworks.com>
Thu, 6 Jul 2017 14:20:25 +0000 (19:50 +0530)
committerThomas Monjalon <thomas@monjalon.net>
Mon, 10 Jul 2017 14:50:46 +0000 (16:50 +0200)
commit9e534c0a202939d6e83b0d29e49d51f36bb8d601
tree076feae7cfc86d5e7d0baa8b6e4a4a7debfa2ffe
parent05c4345ef5c2c39334d187738bce21c95c33aa82
net/thunderx: remove libm dependency

Used rte_log2_u32() to replace integer log2() to
remove libm dependency.

Signed-off-by: Jerin Jacob <jerin.jacob@caviumnetworks.com>
Reviewed-by: Olivier Matz <olivier.matz@6wind.com>
drivers/net/thunderx/base/nicvf_hw.c
drivers/net/thunderx/base/nicvf_plat.h
mk/rte.app.mk