Searched refs:tc_group (Results 1 – 3 of 3) sorted by relevance
/linux-6.12.1/drivers/net/ethernet/mellanox/mlx5/core/ |
D | en_dcbnl.c | 111 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 …]
|
D | port.c | 719 int mlx5_set_port_tc_group(struct mlx5_core_dev *mdev, u8 *tc_group) in mlx5_set_port_tc_group() argument 726 MLX5_SET(qetc_reg, in, tc_configuration[i].group, tc_group[i]); in mlx5_set_port_tc_group() 734 u8 tc, u8 *tc_group) in mlx5_query_port_tc_group() argument 747 *tc_group = MLX5_GET(ets_tcn_config_reg, ets_tcn_conf, in mlx5_query_port_tc_group()
|
/linux-6.12.1/include/linux/mlx5/ |
D | port.h | 197 int mlx5_set_port_tc_group(struct mlx5_core_dev *mdev, u8 *tc_group); 199 u8 tc, u8 *tc_group);
|