Home
last modified time | relevance | path

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

/linux-6.6.21/drivers/net/ethernet/mellanox/mlx5/core/
Den_dcbnl.c111 u8 tc_group[IEEE_8021QAZ_MAX_TCS]; in mlx5e_dcbnl_ieee_getets() local
128 err = mlx5_query_port_tc_group(mdev, i, &tc_group[i]); in mlx5e_dcbnl_ieee_getets()
137 tc_group[i] == (MLX5E_LOWEST_PRIO_GROUP + 1)) in mlx5e_dcbnl_ieee_getets()
140 if (tc_group[i] == (MLX5E_VENDOR_TC_GROUP_NUM - 1)) in mlx5e_dcbnl_ieee_getets()
147 if (tc_group[i] == MLX5E_LOWEST_PRIO_GROUP) in mlx5e_dcbnl_ieee_getets()
155 else if (tc_group[i] == MLX5E_VENDOR_TC_GROUP_NUM && in mlx5e_dcbnl_ieee_getets()
164 static void mlx5e_build_tc_group(struct ieee_ets *ets, u8 *tc_group, int max_tc) in mlx5e_build_tc_group() argument
189 tc_group[i] = MLX5E_VENDOR_TC_GROUP_NUM; in mlx5e_build_tc_group()
192 tc_group[i] = strict_group++; in mlx5e_build_tc_group()
195 tc_group[i] = MLX5E_LOWEST_PRIO_GROUP; in mlx5e_build_tc_group()
[all …]
Dport.c717 int mlx5_set_port_tc_group(struct mlx5_core_dev *mdev, u8 *tc_group) in mlx5_set_port_tc_group() argument
724 MLX5_SET(qetc_reg, in, tc_configuration[i].group, tc_group[i]); in mlx5_set_port_tc_group()
732 u8 tc, u8 *tc_group) in mlx5_query_port_tc_group() argument
745 *tc_group = MLX5_GET(ets_tcn_config_reg, ets_tcn_conf, in mlx5_query_port_tc_group()
/linux-6.6.21/include/linux/mlx5/
Dport.h195 int mlx5_set_port_tc_group(struct mlx5_core_dev *mdev, u8 *tc_group);
197 u8 tc, u8 *tc_group);