numam-dpdk/drivers/net/nfp
Olivier Matz fed524ce53 eal: introduce integer log2 function
At some places, the log2() function is used despite this function
works on float. This introduces a dependency to the math lib but
most of the time it is not required because we want an integer log2.

Add a new helper to do this job and fix nfp driver.

Signed-off-by: Olivier Matz <olivier.matz@6wind.com>
Acked-by: Alejandro Lucero <alejandro.lucero@netronome.com>
2017-07-03 10:44:12 +02:00
..
Makefile mk: optimize directory dependencies 2017-03-27 23:28:43 +02:00
nfp_net_ctrl.h net/nfp: add Rx interrupts 2017-01-17 19:40:52 +01:00
nfp_net_logs.h nfp: introduce driver initialization 2015-12-08 03:00:42 +01:00
nfp_net_pmd.h net/nfp: use I/O device memory read/write API 2017-01-18 17:18:27 +01:00
nfp_net.c eal: introduce integer log2 function 2017-07-03 10:44:12 +02:00
rte_pmd_nfp_version.map nfp: introduce driver initialization 2015-12-08 03:00:42 +01:00