mlx5_qos_max_leaf_nodes
return min(MLX5E_QOS_MAX_LEAF_NODES, mlx5_qos_max_leaf_nodes(mdev));
int mlx5_qos_max_leaf_nodes(struct mlx5_core_dev *mdev);