Home
last modified time | relevance | path

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

/linux-5.19.10/drivers/net/ethernet/mellanox/mlx5/core/
Den_dcbnl.c111 u8 tc_group[IEEE_8021QAZ_MAX_TCS]; in mlx5e_dcbnl_ieee_getets() local
126 err = mlx5_query_port_tc_group(mdev, i, &tc_group[i]); in mlx5e_dcbnl_ieee_getets()
135 tc_group[i] == (MLX5E_LOWEST_PRIO_GROUP + 1)) in mlx5e_dcbnl_ieee_getets()
138 if (tc_group[i] == (MLX5E_VENDOR_TC_GROUP_NUM - 1)) in mlx5e_dcbnl_ieee_getets()
145 if (tc_group[i] == MLX5E_LOWEST_PRIO_GROUP) in mlx5e_dcbnl_ieee_getets()
153 else if (tc_group[i] == MLX5E_VENDOR_TC_GROUP_NUM && in mlx5e_dcbnl_ieee_getets()
162 static void mlx5e_build_tc_group(struct ieee_ets *ets, u8 *tc_group, int max_tc) in mlx5e_build_tc_group() argument
187 tc_group[i] = MLX5E_VENDOR_TC_GROUP_NUM; in mlx5e_build_tc_group()
190 tc_group[i] = strict_group++; in mlx5e_build_tc_group()
193 tc_group[i] = MLX5E_LOWEST_PRIO_GROUP; in mlx5e_build_tc_group()
[all …]
Dport.c740 int mlx5_set_port_tc_group(struct mlx5_core_dev *mdev, u8 *tc_group) in mlx5_set_port_tc_group() argument
747 MLX5_SET(qetc_reg, in, tc_configuration[i].group, tc_group[i]); in mlx5_set_port_tc_group()
755 u8 tc, u8 *tc_group) in mlx5_query_port_tc_group() argument
768 *tc_group = MLX5_GET(ets_tcn_config_reg, ets_tcn_conf, in mlx5_query_port_tc_group()
/linux-5.19.10/include/linux/mlx5/
Dport.h189 int mlx5_set_port_tc_group(struct mlx5_core_dev *mdev, u8 *tc_group);
191 u8 tc, u8 *tc_group);