Searched refs:tc_group (Results 1 – 3 of 3) sorted by relevance
/Linux-v5.4/drivers/net/ethernet/mellanox/mlx5/core/ |
D | en_dcbnl.c | 103 u8 tc_group[IEEE_8021QAZ_MAX_TCS]; in mlx5e_dcbnl_ieee_getets() local 118 err = mlx5_query_port_tc_group(mdev, i, &tc_group[i]); in mlx5e_dcbnl_ieee_getets() 127 tc_group[i] == (MLX5E_LOWEST_PRIO_GROUP + 1)) in mlx5e_dcbnl_ieee_getets() 130 if (tc_group[i] == (MLX5E_VENDOR_TC_GROUP_NUM - 1)) in mlx5e_dcbnl_ieee_getets() 137 if (tc_group[i] == MLX5E_LOWEST_PRIO_GROUP) in mlx5e_dcbnl_ieee_getets() 145 else if (tc_group[i] == MLX5E_VENDOR_TC_GROUP_NUM && in mlx5e_dcbnl_ieee_getets() 154 static void mlx5e_build_tc_group(struct ieee_ets *ets, u8 *tc_group, int max_tc) in mlx5e_build_tc_group() argument 179 tc_group[i] = MLX5E_VENDOR_TC_GROUP_NUM; in mlx5e_build_tc_group() 182 tc_group[i] = strict_group++; in mlx5e_build_tc_group() 185 tc_group[i] = MLX5E_LOWEST_PRIO_GROUP; in mlx5e_build_tc_group() [all …]
|
D | port.c | 644 int mlx5_set_port_tc_group(struct mlx5_core_dev *mdev, u8 *tc_group) in mlx5_set_port_tc_group() argument 651 MLX5_SET(qetc_reg, in, tc_configuration[i].group, tc_group[i]); in mlx5_set_port_tc_group() 659 u8 tc, u8 *tc_group) in mlx5_query_port_tc_group() argument 672 *tc_group = MLX5_GET(ets_tcn_config_reg, ets_tcn_conf, in mlx5_query_port_tc_group()
|
/Linux-v5.4/include/linux/mlx5/ |
D | port.h | 171 int mlx5_set_port_tc_group(struct mlx5_core_dev *mdev, u8 *tc_group); 173 u8 tc, u8 *tc_group);
|