Home
last modified time | relevance | path

Searched refs:order_base_2 (Results 1 – 4 of 4) sorted by relevance

/freebsd-12.1/sys/compat/linuxkpi/common/include/linux/
H A Dlog2.h129 #define order_base_2(x) ilog2(roundup_pow_of_two(x)) macro
/freebsd-12.1/sys/dev/mlx5/mlx5_en/
H A Dmlx5_en_rl.c48 uint8_t log_sq_size = order_base_2(rl->param.tx_queue_size); in mlx5e_rl_build_sq_param()
64 uint8_t log_sq_size = order_base_2(rl->param.tx_queue_size); in mlx5e_rl_build_cq_param()
1466 value = 1ULL << order_base_2(value); in mlx5e_rl_sysctl_handler()
H A Dmlx5_en_ethtool.c923 order_base_2(priv->params_ethtool.tx_queue_size); in mlx5e_ethtool_handler()
952 order_base_2(priv->params_ethtool.rx_queue_size); in mlx5e_ethtool_handler()
H A Dmlx5_en_main.c3514 (order_base_2(num_comp_vectors) > in mlx5e_build_ifp_priv()
3516 order_base_2(num_comp_vectors) : in mlx5e_build_ifp_priv()
3544 priv->order_base_2_num_channels = order_base_2(num_comp_vectors); in mlx5e_build_ifp_priv()