Searched refs:order_base_2 (Results 1 – 4 of 4) sorted by relevance
129 #define order_base_2(x) ilog2(roundup_pow_of_two(x)) macro
51 uint8_t log_sq_size = order_base_2(rl->param.tx_queue_size); in mlx5e_rl_build_sq_param()65 uint8_t log_sq_size = order_base_2(rl->param.tx_queue_size); in mlx5e_rl_build_cq_param()1564 value = 1ULL << order_base_2(value); in mlx5e_rl_sysctl_handler()
1005 order_base_2(priv->params_ethtool.tx_queue_size); in mlx5e_ethtool_handler()1034 order_base_2(priv->params_ethtool.rx_queue_size); in mlx5e_ethtool_handler()
3823 (order_base_2(num_comp_vectors) > in mlx5e_build_ifp_priv()3825 order_base_2(num_comp_vectors) : in mlx5e_build_ifp_priv()3853 priv->order_base_2_num_channels = order_base_2(num_comp_vectors); in mlx5e_build_ifp_priv()