Home
last modified time | relevance | path

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

/linux-6.6.21/drivers/net/ethernet/mellanox/mlx5/core/
Den_dcbnl.c126 ets->ets_cap = mlx5_max_tc(priv->mdev) + 1; in mlx5e_dcbnl_ieee_getets()
256 int max_tc = mlx5_max_tc(mdev); in mlx5e_dcbnl_ieee_setets_core()
350 pfc->pfc_cap = mlx5_max_tc(mdev) + 1; in mlx5e_dcbnl_ieee_getpfc()
564 for (i = 0; i <= mlx5_max_tc(mdev); i++) { in mlx5e_dcbnl_ieee_getmaxrate()
596 for (i = 0; i <= mlx5_max_tc(mdev); i++) { in mlx5e_dcbnl_ieee_setmaxrate()
661 pfc.pfc_cap = mlx5_max_tc(mdev) + 1; in mlx5e_dcbnl_setall()
842 *cap = 1 << mlx5_max_tc(mdev); in mlx5e_dcbnl_getcap()
845 *cap = 1 << mlx5_max_tc(mdev); in mlx5e_dcbnl_getcap()
876 *num = mlx5_max_tc(mdev) + 1; in mlx5e_dcbnl_getnumtcs()
1059 ets.ets_cap = mlx5_max_tc(priv->mdev) + 1; in mlx5e_ets_init()
Dport.c619 int mlx5_max_tc(struct mlx5_core_dev *mdev) in mlx5_max_tc() function
654 if (prio_tc[i] > mlx5_max_tc(mdev)) in mlx5_set_port_prio_tc()
722 for (i = 0; i <= mlx5_max_tc(mdev); i++) { in mlx5_set_port_tc_group()
757 for (i = 0; i <= mlx5_max_tc(mdev); i++) { in mlx5_set_port_tc_bw_alloc()
797 for (i = 0; i <= mlx5_max_tc(mdev); i++) { in mlx5_modify_port_ets_rate_limit()
824 for (i = 0; i <= mlx5_max_tc(mdev); i++) { in mlx5_query_port_ets_rate_limit()
/linux-6.6.21/include/linux/mlx5/
Dport.h190 int mlx5_max_tc(struct mlx5_core_dev *mdev);