prio_tc 137 drivers/net/ethernet/amd/xgbe/xgbe-dcb.c memcpy(ets->prio_tc, pdata->ets->prio_tc, prio_tc 138 drivers/net/ethernet/amd/xgbe/xgbe-dcb.c sizeof(ets->prio_tc)); prio_tc 159 drivers/net/ethernet/amd/xgbe/xgbe-dcb.c ets->prio_tc[i]); prio_tc 161 drivers/net/ethernet/amd/xgbe/xgbe-dcb.c max_tc = max_t(u8, max_tc, ets->prio_tc[i]); prio_tc 473 drivers/net/ethernet/amd/xgbe/xgbe-dev.c tc = pdata->ets->prio_tc[prio]; prio_tc 2708 drivers/net/ethernet/amd/xgbe/xgbe-dev.c pdata->ets->prio_tc[prio]); prio_tc 2736 drivers/net/ethernet/amd/xgbe/xgbe-dev.c if (ets->prio_tc[prio] == i) prio_tc 56 drivers/net/ethernet/broadcom/bnxt/bnxt_dcb.c qidx = bp->tc_to_qidx[ets->prio_tc[i]]; prio_tc 84 drivers/net/ethernet/broadcom/bnxt/bnxt_dcb.c ets->prio_tc[i] = tc; prio_tc 247 drivers/net/ethernet/broadcom/bnxt/bnxt_dcb.c (my_ets->prio_tc[pri] == i)) { prio_tc 447 drivers/net/ethernet/broadcom/bnxt/bnxt_dcb.c if (ets->prio_tc[i] > bp->max_tc) { prio_tc 449 drivers/net/ethernet/broadcom/bnxt/bnxt_dcb.c ets->prio_tc[i]); prio_tc 452 drivers/net/ethernet/broadcom/bnxt/bnxt_dcb.c if (ets->prio_tc[i] > max_tc) prio_tc 453 drivers/net/ethernet/broadcom/bnxt/bnxt_dcb.c max_tc = ets->prio_tc[i]; prio_tc 508 drivers/net/ethernet/broadcom/bnxt/bnxt_dcb.c memcpy(ets->prio_tc, my_ets->prio_tc, sizeof(ets->prio_tc)); prio_tc 534 drivers/net/ethernet/broadcom/bnxt/bnxt_dcb.c my_ets->prio_tc[i] = IEEE_8021QAZ_MAX_TCS; prio_tc 986 drivers/net/ethernet/chelsio/cxgb4/cxgb4_dcb.c ets->prio_tc[i] = bwg; prio_tc 577 drivers/net/ethernet/hisilicon/hns3/hnae3.h u8 prio_tc[HNAE3_MAX_USER_PRIO]; /* TC indexed by prio */ prio_tc 467 drivers/net/ethernet/hisilicon/hns3/hns3_enet.c netdev_set_prio_tc_map(netdev, i, kinfo->prio_tc[i]); prio_tc 1576 drivers/net/ethernet/hisilicon/hns3/hns3_enet.c u8 *prio_tc = mqprio_qopt->qopt.prio_tc_map; prio_tc 1599 drivers/net/ethernet/hisilicon/hns3/hns3_enet.c kinfo->dcb_ops->setup_tc(h, tc ? tc : 1, prio_tc) : -EOPNOTSUPP; prio_tc 38 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_dcb.c hclge_tm_prio_tc_info_update(hdev, ets->prio_tc); prio_tc 53 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_dcb.c ets->prio_tc[i] = hdev->tm_info.prio_tc[i]; prio_tc 76 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_dcb.c u8 *prio_tc) prio_tc 88 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_dcb.c if (prio_tc[i] >= num_tc) { prio_tc 91 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_dcb.c i, prio_tc[i], num_tc); prio_tc 116 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_dcb.c if (ets->prio_tc[i] != hdev->tm_info.prio_tc[i]) prio_tc 119 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_dcb.c if (ets->prio_tc[i] > max_tc) prio_tc 120 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_dcb.c max_tc = ets->prio_tc[i]; prio_tc 123 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_dcb.c ret = hclge_dcb_common_validate(hdev, max_tc + 1, ets->prio_tc); prio_tc 284 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_dcb.c u8 i, j, pfc_map, *prio_tc; prio_tc 289 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_dcb.c prio_tc = hdev->tm_info.prio_tc; prio_tc 295 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_dcb.c if ((prio_tc[j] == i) && (pfc_map & BIT(i))) prio_tc 320 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_dcb.c u8 i, j, pfc_map, *prio_tc; prio_tc 330 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_dcb.c prio_tc = hdev->tm_info.prio_tc; prio_tc 335 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_dcb.c if ((prio_tc[j] == i) && (pfc->pfc_en & BIT(j))) { prio_tc 400 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_dcb.c static int hclge_setup_tc(struct hnae3_handle *h, u8 tc, u8 *prio_tc) prio_tc 409 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_dcb.c ret = hclge_dcb_common_validate(hdev, tc, prio_tc); prio_tc 418 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_dcb.c hclge_tm_prio_tc_info_update(hdev, prio_tc); prio_tc 354 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.h u8 prio_tc[HNAE3_MAX_USER_PRIO]; prio_tc 231 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_tm.c tc = hdev->tm_info.prio_tc[pri_id]; prio_tc 573 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_tm.c memcpy(kinfo->prio_tc, hdev->tm_info.prio_tc, prio_tc 574 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_tm.c FIELD_SIZEOF(struct hnae3_knic_private_info, prio_tc)); prio_tc 602 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_tm.c hdev->tm_info.prio_tc[i] = prio_tc 1359 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_tm.c void hclge_tm_prio_tc_info_update(struct hclge_dev *hdev, u8 *prio_tc) prio_tc 1366 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_tm.c hdev->tm_info.prio_tc[i] = prio_tc[i]; prio_tc 1370 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_tm.c kinfo->prio_tc[i] = prio_tc[i]; prio_tc 148 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_tm.h void hclge_tm_prio_tc_info_update(struct hclge_dev *hdev, u8 *prio_tc); prio_tc 26 drivers/net/ethernet/intel/fm10k/fm10k_dcbnl.c ets->prio_tc[i] = netdev_get_prio_tc_map(dev, i); prio_tc 47 drivers/net/ethernet/intel/fm10k/fm10k_dcbnl.c if (ets->prio_tc[i] > num_tc) prio_tc 48 drivers/net/ethernet/intel/fm10k/fm10k_dcbnl.c num_tc = ets->prio_tc[i]; prio_tc 67 drivers/net/ethernet/intel/fm10k/fm10k_dcbnl.c netdev_set_prio_tc_map(dev, i, ets->prio_tc[i]); prio_tc 51 drivers/net/ethernet/intel/i40e/i40e_dcb_nl.c memcpy(ets->prio_tc, dcbxcfg->etscfg.prioritytable, prio_tc 52 drivers/net/ethernet/intel/i40e/i40e_dcb_nl.c sizeof(ets->prio_tc)); prio_tc 256 drivers/net/ethernet/intel/ixgbe/ixgbe_dcb.c u8 prio_tc[MAX_TRAFFIC_CLASS]; prio_tc 266 drivers/net/ethernet/intel/ixgbe/ixgbe_dcb.c ixgbe_dcb_unpack_map(dcb_config, DCB_TX_CONFIG, prio_tc); prio_tc 278 drivers/net/ethernet/intel/ixgbe/ixgbe_dcb.c bwgid, ptype, prio_tc); prio_tc 286 drivers/net/ethernet/intel/ixgbe/ixgbe_dcb.c s32 ixgbe_dcb_hw_pfc_config(struct ixgbe_hw *hw, u8 pfc_en, u8 *prio_tc) prio_tc 296 drivers/net/ethernet/intel/ixgbe/ixgbe_dcb.c return ixgbe_dcb_config_pfc_82599(hw, pfc_en, prio_tc); prio_tc 333 drivers/net/ethernet/intel/ixgbe/ixgbe_dcb.c bwg_id, prio_type, ets->prio_tc); prio_tc 338 drivers/net/ethernet/intel/ixgbe/ixgbe_dcb.c u8 *prio_type, u8 *prio_tc) prio_tc 355 drivers/net/ethernet/intel/ixgbe/ixgbe_dcb.c bwg_id, prio_type, prio_tc); prio_tc 359 drivers/net/ethernet/intel/ixgbe/ixgbe_dcb.c prio_type, prio_tc); prio_tc 25 drivers/net/ethernet/intel/ixgbe/ixgbe_dcb_82599.c u8 *prio_tc) prio_tc 42 drivers/net/ethernet/intel/ixgbe/ixgbe_dcb_82599.c reg |= (prio_tc[i] << (i * IXGBE_RTRUP2TC_UP_SHIFT)); prio_tc 136 drivers/net/ethernet/intel/ixgbe/ixgbe_dcb_82599.c u8 *prio_tc) prio_tc 153 drivers/net/ethernet/intel/ixgbe/ixgbe_dcb_82599.c reg |= (prio_tc[i] << (i * IXGBE_RTTUP2TC_UP_SHIFT)); prio_tc 190 drivers/net/ethernet/intel/ixgbe/ixgbe_dcb_82599.c s32 ixgbe_dcb_config_pfc_82599(struct ixgbe_hw *hw, u8 pfc_en, u8 *prio_tc) prio_tc 218 drivers/net/ethernet/intel/ixgbe/ixgbe_dcb_82599.c if (prio_tc[i] > max_tc) prio_tc 219 drivers/net/ethernet/intel/ixgbe/ixgbe_dcb_82599.c max_tc = prio_tc[i]; prio_tc 228 drivers/net/ethernet/intel/ixgbe/ixgbe_dcb_82599.c if ((prio_tc[j] == i) && (pfc_en & BIT(j))) { prio_tc 334 drivers/net/ethernet/intel/ixgbe/ixgbe_dcb_82599.c u16 *max, u8 *bwg_id, u8 *prio_type, u8 *prio_tc) prio_tc 337 drivers/net/ethernet/intel/ixgbe/ixgbe_dcb_82599.c prio_type, prio_tc); prio_tc 341 drivers/net/ethernet/intel/ixgbe/ixgbe_dcb_82599.c bwg_id, prio_type, prio_tc); prio_tc 342 drivers/net/ethernet/intel/ixgbe/ixgbe_dcb_82599.c ixgbe_dcb_config_pfc_82599(hw, pfc_en, prio_tc); prio_tc 73 drivers/net/ethernet/intel/ixgbe/ixgbe_dcb_82599.h s32 ixgbe_dcb_config_pfc_82599(struct ixgbe_hw *hw, u8 pfc_en, u8 *prio_tc); prio_tc 81 drivers/net/ethernet/intel/ixgbe/ixgbe_dcb_82599.h u8 *prio_tc); prio_tc 94 drivers/net/ethernet/intel/ixgbe/ixgbe_dcb_82599.h u8 *prio_tc); prio_tc 98 drivers/net/ethernet/intel/ixgbe/ixgbe_dcb_82599.h u8 *prio_tc); prio_tc 318 drivers/net/ethernet/intel/ixgbe/ixgbe_dcb_nl.c u8 prio_tc[MAX_USER_PRIORITY]; prio_tc 335 drivers/net/ethernet/intel/ixgbe/ixgbe_dcb_nl.c ixgbe_dcb_unpack_map(dcb_cfg, DCB_TX_CONFIG, prio_tc); prio_tc 338 drivers/net/ethernet/intel/ixgbe/ixgbe_dcb_nl.c prio_type, prio_tc); prio_tc 341 drivers/net/ethernet/intel/ixgbe/ixgbe_dcb_nl.c netdev_set_prio_tc_map(netdev, i, prio_tc[i]); prio_tc 349 drivers/net/ethernet/intel/ixgbe/ixgbe_dcb_nl.c u8 prio_tc[MAX_USER_PRIORITY]; prio_tc 351 drivers/net/ethernet/intel/ixgbe/ixgbe_dcb_nl.c ixgbe_dcb_unpack_map(dcb_cfg, DCB_TX_CONFIG, prio_tc); prio_tc 353 drivers/net/ethernet/intel/ixgbe/ixgbe_dcb_nl.c ixgbe_dcb_hw_pfc_config(hw, pfc_en, prio_tc); prio_tc 503 drivers/net/ethernet/intel/ixgbe/ixgbe_dcb_nl.c memcpy(ets->prio_tc, my_ets->prio_tc, sizeof(ets->prio_tc)); prio_tc 527 drivers/net/ethernet/intel/ixgbe/ixgbe_dcb_nl.c adapter->ixgbe_ieee_ets->prio_tc[i] = prio_tc 531 drivers/net/ethernet/intel/ixgbe/ixgbe_dcb_nl.c adapter->ixgbe_ieee_ets->prio_tc); prio_tc 535 drivers/net/ethernet/intel/ixgbe/ixgbe_dcb_nl.c if (ets->prio_tc[i] > max_tc) prio_tc 536 drivers/net/ethernet/intel/ixgbe/ixgbe_dcb_nl.c max_tc = ets->prio_tc[i]; prio_tc 537 drivers/net/ethernet/intel/ixgbe/ixgbe_dcb_nl.c if (ets->prio_tc[i] != adapter->ixgbe_ieee_ets->prio_tc[i]) prio_tc 590 drivers/net/ethernet/intel/ixgbe/ixgbe_dcb_nl.c u8 *prio_tc; prio_tc 603 drivers/net/ethernet/intel/ixgbe/ixgbe_dcb_nl.c prio_tc = adapter->ixgbe_ieee_ets->prio_tc; prio_tc 608 drivers/net/ethernet/intel/ixgbe/ixgbe_dcb_nl.c err = ixgbe_dcb_hw_pfc_config(hw, pfc->pfc_en, prio_tc); prio_tc 5072 drivers/net/ethernet/intel/ixgbe/ixgbe_main.c adapter->ixgbe_ieee_ets->prio_tc); prio_tc 9033 drivers/net/ethernet/intel/ixgbe/ixgbe_main.c tc = ets->prio_tc[prio]; prio_tc 300 drivers/net/ethernet/mellanox/mlx4/en_dcb_nl.c memcpy(ets->prio_tc, my_ets->prio_tc, sizeof(ets->prio_tc)); prio_tc 312 drivers/net/ethernet/mellanox/mlx4/en_dcb_nl.c if (ets->prio_tc[i] >= MLX4_EN_NUM_UP_HIGH) { prio_tc 314 drivers/net/ethernet/mellanox/mlx4/en_dcb_nl.c i, ets->prio_tc[i]); prio_tc 387 drivers/net/ethernet/mellanox/mlx4/en_dcb_nl.c err = mlx4_SET_PORT_PRIO2TC(mdev->dev, priv->port, ets->prio_tc); prio_tc 3321 drivers/net/ethernet/mellanox/mlx4/en_netdev.c priv->ets.prio_tc[prio] = prio; prio_tc 114 drivers/net/ethernet/mellanox/mlx5/core/en_dcbnl.c err = mlx5_query_port_prio_tc(mdev, i, &ets->prio_tc[i]); prio_tc 252 drivers/net/ethernet/mellanox/mlx5/core/en_dcbnl.c err = mlx5_set_port_prio_tc(mdev, ets->prio_tc); prio_tc 269 drivers/net/ethernet/mellanox/mlx5/core/en_dcbnl.c __func__, i, ets->prio_tc[i]); prio_tc 287 drivers/net/ethernet/mellanox/mlx5/core/en_dcbnl.c if (ets->prio_tc[i] >= MLX5E_MAX_PRIORITY) { prio_tc 632 drivers/net/ethernet/mellanox/mlx5/core/en_dcbnl.c ets.prio_tc[i] = cee_cfg->prio_to_pg_map[i]; prio_tc 636 drivers/net/ethernet/mellanox/mlx5/core/en_dcbnl.c ets.prio_tc[i]); prio_tc 1043 drivers/net/ethernet/mellanox/mlx5/core/en_dcbnl.c ets.prio_tc[i] = i; prio_tc 1048 drivers/net/ethernet/mellanox/mlx5/core/en_dcbnl.c ets.prio_tc[0] = 1; prio_tc 1049 drivers/net/ethernet/mellanox/mlx5/core/en_dcbnl.c ets.prio_tc[1] = 0; prio_tc 1082 drivers/net/ethernet/mellanox/mlx5/core/en_stats.c MLX5_SET(ppcnt_reg, in, prio_tc, prio); prio_tc 1113 drivers/net/ethernet/mellanox/mlx5/core/en_stats.c MLX5_SET(ppcnt_reg, in, prio_tc, prio); prio_tc 1336 drivers/net/ethernet/mellanox/mlx5/core/en_stats.c MLX5_SET(ppcnt_reg, in, prio_tc, prio); prio_tc 573 drivers/net/ethernet/mellanox/mlx5/core/port.c int mlx5_set_port_prio_tc(struct mlx5_core_dev *mdev, u8 *prio_tc) prio_tc 581 drivers/net/ethernet/mellanox/mlx5/core/port.c if (prio_tc[i] > mlx5_max_tc(mdev)) prio_tc 585 drivers/net/ethernet/mellanox/mlx5/core/port.c MLX5_SET(qtct_reg, in, tclass, prio_tc[i]); prio_tc 4657 drivers/net/ethernet/mellanox/mlxsw/reg.h MLXSW_ITEM32(reg, ppcnt, prio_tc, 0x04, 0, 5); prio_tc 5068 drivers/net/ethernet/mellanox/mlxsw/reg.h u8 prio_tc) prio_tc 5076 drivers/net/ethernet/mellanox/mlxsw/reg.h mlxsw_reg_ppcnt_prio_tc_set(payload, prio_tc); prio_tc 919 drivers/net/ethernet/mellanox/mlxsw/spectrum.c u8 *prio_tc, bool pause_en, prio_tc 946 drivers/net/ethernet/mellanox/mlxsw/spectrum.c if (prio_tc[j] == i) { prio_tc 979 drivers/net/ethernet/mellanox/mlxsw/spectrum.c u8 *prio_tc; prio_tc 981 drivers/net/ethernet/mellanox/mlxsw/spectrum.c prio_tc = dcb_en ? mlxsw_sp_port->dcb.ets->prio_tc : def_prio_tc; prio_tc 984 drivers/net/ethernet/mellanox/mlxsw/spectrum.c return __mlxsw_sp_port_headroom_set(mlxsw_sp_port, mtu, prio_tc, prio_tc 471 drivers/net/ethernet/mellanox/mlxsw/spectrum.h u8 *prio_tc, bool pause_en, prio_tc 53 drivers/net/ethernet/mellanox/mlxsw/spectrum_dcb.c if (ets->prio_tc[i] >= IEEE_8021QAZ_MAX_TCS) { prio_tc 68 drivers/net/ethernet/mellanox/mlxsw/spectrum_dcb.c u8 *prio_tc) prio_tc 75 drivers/net/ethernet/mellanox/mlxsw/spectrum_dcb.c mlxsw_reg_pptb_prio_to_buff_pack(pptb_pl, i, prio_tc[i]); prio_tc 81 drivers/net/ethernet/mellanox/mlxsw/spectrum_dcb.c static bool mlxsw_sp_ets_has_pg(u8 *prio_tc, u8 pg) prio_tc 86 drivers/net/ethernet/mellanox/mlxsw/spectrum_dcb.c if (prio_tc[i] == pg) prio_tc 125 drivers/net/ethernet/mellanox/mlxsw/spectrum_dcb.c ets->prio_tc, pause_en, prio_tc 132 drivers/net/ethernet/mellanox/mlxsw/spectrum_dcb.c err = mlxsw_sp_port_pg_prio_map(mlxsw_sp_port, ets->prio_tc); prio_tc 138 drivers/net/ethernet/mellanox/mlxsw/spectrum_dcb.c err = mlxsw_sp_port_pg_destroy(mlxsw_sp_port, my_ets->prio_tc, prio_tc 139 drivers/net/ethernet/mellanox/mlxsw/spectrum_dcb.c ets->prio_tc); prio_tc 146 drivers/net/ethernet/mellanox/mlxsw/spectrum_dcb.c mlxsw_sp_port_pg_destroy(mlxsw_sp_port, ets->prio_tc, my_ets->prio_tc); prio_tc 174 drivers/net/ethernet/mellanox/mlxsw/spectrum_dcb.c ets->prio_tc[i]); prio_tc 177 drivers/net/ethernet/mellanox/mlxsw/spectrum_dcb.c ets->prio_tc[i]); prio_tc 193 drivers/net/ethernet/mellanox/mlxsw/spectrum_dcb.c mlxsw_sp_port_prio_tc_set(mlxsw_sp_port, i, my_ets->prio_tc[i]); prio_tc 598 drivers/net/ethernet/mellanox/mlxsw/spectrum_dcb.c mlxsw_sp_port->dcb.ets->prio_tc, prio_tc 618 drivers/net/ethernet/mellanox/mlxsw/spectrum_dcb.c mlxsw_sp_port->dcb.ets->prio_tc, pause_en, prio_tc 2186 drivers/net/ethernet/qlogic/qed/qed_dcbx.c memcpy(ets->prio_tc, params->ets_pri_tc_tbl, sizeof(ets->prio_tc)); prio_tc 2230 drivers/net/ethernet/qlogic/qed/qed_dcbx.c memcpy(dcbx_set.config.params.ets_pri_tc_tbl, ets->prio_tc, prio_tc 2231 drivers/net/ethernet/qlogic/qed/qed_dcbx.c sizeof(ets->prio_tc)); prio_tc 8424 include/linux/mlx5/mlx5_ifc.h u8 prio_tc[0x3]; prio_tc 168 include/linux/mlx5/port.h int mlx5_set_port_prio_tc(struct mlx5_core_dev *mdev, u8 *prio_tc); prio_tc 65 include/uapi/linux/dcbnl.h __u8 prio_tc[IEEE_8021QAZ_MAX_TCS];