Searched refs:mlx5e_qos_max_leaf_nodes (Results 1 – 4 of 4) sorted by relevance
31 int mlx5e_qos_max_leaf_nodes(struct mlx5_core_dev *mdev) in mlx5e_qos_max_leaf_nodes() function90 stats_list = kvcalloc(mlx5e_qos_max_leaf_nodes(priv->mdev), in mlx5e_open_qos_sq()265 qos_sqs_size = DIV_ROUND_UP(mlx5e_qos_max_leaf_nodes(priv->mdev), chs->num); in mlx5e_qos_alloc_queues()462 if (num_tc > mlx5e_qos_max_leaf_nodes(mdev)) in mlx5e_mqprio_rl_init()
18 int mlx5e_qos_max_leaf_nodes(struct mlx5_core_dev *mdev);
53 last = find_last_bit(htb->qos_used_qids, mlx5e_qos_max_leaf_nodes(htb->mdev)); in mlx5e_htb_cur_leaf_nodes()54 return last == mlx5e_qos_max_leaf_nodes(htb->mdev) ? 0 : last + 1; in mlx5e_htb_cur_leaf_nodes()59 int size = mlx5e_qos_max_leaf_nodes(htb->mdev); in mlx5e_htb_find_unused_qos_qid()
5498 tmp -= mlx5e_qos_max_leaf_nodes(mdev); in mlx5e_calc_max_nch()5629 mlx5e_qos_max_leaf_nodes(mdev) : 0; in mlx5e_get_max_num_txqs()