/* Calculate the binary logarithm for a specific cell size  */
int rtnl_tc_calc_cell_log(int cell_size)
/* Calculate the binary logarithm for a specific cell size  */
int rtnl_tc_calc_cell_log(int cell_size)
{
	int i;
	for (i = 0; i < 32; i++)
		if ((1 << i) == cell_size)
			return i;
	return -NLE_INVAL;
}