Home
last modified time | relevance | path

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

/freebsd-14.2/sys/compat/linuxkpi/common/include/linux/
H A Dlog2.h127 #define order_base_2(x) ilog2(roundup_pow_of_two(x)) macro
/freebsd-14.2/sys/dev/mlx5/mlx5_en/
H A Dmlx5_en_rl.c59 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()
H A Dmlx5_en_ethtool.c1003 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()
H A Dmlx5_en_main.c3832 (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()