Home
last modified time | relevance | path

Searched refs:mlx5_max_tc (Results 1 – 2 of 2) sorted by relevance

/drivers/net/ethernet/mellanox/mlx5/core/
Den_dcbnl.c102 ets->ets_cap = mlx5_max_tc(priv->mdev) + 1; in mlx5e_dcbnl_ieee_getets()
236 int max_tc = mlx5_max_tc(mdev); in mlx5e_dcbnl_ieee_setets_core()
322 pfc->pfc_cap = mlx5_max_tc(mdev) + 1; in mlx5e_dcbnl_ieee_getpfc()
406 for (i = 0; i <= mlx5_max_tc(mdev); i++) { in mlx5e_dcbnl_ieee_getmaxrate()
438 for (i = 0; i <= mlx5_max_tc(mdev); i++) { in mlx5e_dcbnl_ieee_setmaxrate()
494 pfc.pfc_cap = mlx5_max_tc(mdev) + 1; in mlx5e_dcbnl_setall()
675 *cap = 1 << mlx5_max_tc(mdev); in mlx5e_dcbnl_getcap()
678 *cap = 1 << mlx5_max_tc(mdev); in mlx5e_dcbnl_getcap()
709 *num = mlx5_max_tc(mdev) + 1; in mlx5e_dcbnl_getnumtcs()
793 ets.ets_cap = mlx5_max_tc(priv->mdev) + 1; in mlx5e_ets_init()
Dport.c564 int mlx5_max_tc(struct mlx5_core_dev *mdev) in mlx5_max_tc() function
599 if (prio_tc[i] > mlx5_max_tc(mdev)) in mlx5_set_port_prio_tc()
667 for (i = 0; i <= mlx5_max_tc(mdev); i++) { in mlx5_set_port_tc_group()
702 for (i = 0; i <= mlx5_max_tc(mdev); i++) { in mlx5_set_port_tc_bw_alloc()
742 for (i = 0; i <= mlx5_max_tc(mdev); i++) { in mlx5_modify_port_ets_rate_limit()
769 for (i = 0; i <= mlx5_max_tc(mdev); i++) { in mlx5_query_port_ets_rate_limit()