Searched refs:order_base_2 (Results 1 – 4 of 4) sorted by relevance
127 #define order_base_2(x) ilog2(roundup_pow_of_two(x)) macro
59 uint8_t log_sq_size = order_base_2(rl->param.tx_queue_size); in mlx5e_rl_build_sq_param()73 uint8_t log_sq_size = order_base_2(rl->param.tx_queue_size); in mlx5e_rl_build_cq_param()1568 value = 1ULL << order_base_2(value); in mlx5e_rl_sysctl_handler()
1003 order_base_2(priv->params_ethtool.tx_queue_size); in mlx5e_ethtool_handler()1032 order_base_2(priv->params_ethtool.rx_queue_size); in mlx5e_ethtool_handler()
3832 (order_base_2(num_comp_vectors) > in mlx5e_build_ifp_priv()3834 order_base_2(num_comp_vectors) : in mlx5e_build_ifp_priv()3863 priv->order_base_2_num_channels = order_base_2(num_comp_vectors); in mlx5e_build_ifp_priv()