max_tc 149 drivers/net/ethernet/amd/xgbe/xgbe-dcb.c u8 max_tc = 0; max_tc 161 drivers/net/ethernet/amd/xgbe/xgbe-dcb.c max_tc = max_t(u8, max_tc, ets->prio_tc[i]); max_tc 163 drivers/net/ethernet/amd/xgbe/xgbe-dcb.c max_tc = max_t(u8, max_tc, i); max_tc 181 drivers/net/ethernet/amd/xgbe/xgbe-dcb.c if (max_tc >= pdata->hw_feat.tc_cnt) { max_tc 202 drivers/net/ethernet/amd/xgbe/xgbe-dcb.c pdata->num_tcs = max_tc + 1; max_tc 7180 drivers/net/ethernet/broadcom/bnxt/bnxt.c bp->max_tc = resp->max_configurable_queues; max_tc 7182 drivers/net/ethernet/broadcom/bnxt/bnxt.c if (bp->max_tc > BNXT_MAX_QUEUE) max_tc 7183 drivers/net/ethernet/broadcom/bnxt/bnxt.c bp->max_tc = BNXT_MAX_QUEUE; max_tc 7187 drivers/net/ethernet/broadcom/bnxt/bnxt.c for (i = 0, j = 0; i < bp->max_tc; i++) { max_tc 7196 drivers/net/ethernet/broadcom/bnxt/bnxt.c bp->max_q = bp->max_tc; max_tc 7197 drivers/net/ethernet/broadcom/bnxt/bnxt.c bp->max_tc = max_t(u8, j, 1); max_tc 7200 drivers/net/ethernet/broadcom/bnxt/bnxt.c bp->max_tc = 1; max_tc 7202 drivers/net/ethernet/broadcom/bnxt/bnxt.c if (bp->max_lltc > bp->max_tc) max_tc 7203 drivers/net/ethernet/broadcom/bnxt/bnxt.c bp->max_lltc = bp->max_tc; max_tc 10922 drivers/net/ethernet/broadcom/bnxt/bnxt.c if (tc > bp->max_tc) { max_tc 10924 drivers/net/ethernet/broadcom/bnxt/bnxt.c tc, bp->max_tc); max_tc 1610 drivers/net/ethernet/broadcom/bnxt/bnxt.h u8 max_tc; max_tc 28 drivers/net/ethernet/broadcom/bnxt/bnxt_dcb.c for (i = 0; i < bp->max_tc; i++) { max_tc 30 drivers/net/ethernet/broadcom/bnxt/bnxt_dcb.c for (j = 0; j < bp->max_tc; j++) { max_tc 92 drivers/net/ethernet/broadcom/bnxt/bnxt_dcb.c u8 max_tc) max_tc 100 drivers/net/ethernet/broadcom/bnxt/bnxt_dcb.c for (i = 0; i < max_tc; i++) { max_tc 153 drivers/net/ethernet/broadcom/bnxt/bnxt_dcb.c for (i = 0; i < bp->max_tc; i++, data += sizeof(cos2bw) - 4) { max_tc 179 drivers/net/ethernet/broadcom/bnxt/bnxt_dcb.c int max = bp->max_tc; max_tc 244 drivers/net/ethernet/broadcom/bnxt/bnxt_dcb.c for (i = 0; i < bp->max_tc; i++) { max_tc 258 drivers/net/ethernet/broadcom/bnxt/bnxt_dcb.c for (i = 0; i < bp->max_tc; i++) { max_tc 443 drivers/net/ethernet/broadcom/bnxt/bnxt_dcb.c u8 max_tc = 0; max_tc 447 drivers/net/ethernet/broadcom/bnxt/bnxt_dcb.c if (ets->prio_tc[i] > bp->max_tc) { max_tc 452 drivers/net/ethernet/broadcom/bnxt/bnxt_dcb.c if (ets->prio_tc[i] > max_tc) max_tc 453 drivers/net/ethernet/broadcom/bnxt/bnxt_dcb.c max_tc = ets->prio_tc[i]; max_tc 455 drivers/net/ethernet/broadcom/bnxt/bnxt_dcb.c if ((ets->tc_tx_bw[i] || ets->tc_tsa[i]) && i > bp->max_tc) max_tc 471 drivers/net/ethernet/broadcom/bnxt/bnxt_dcb.c if (max_tc >= bp->max_tc) max_tc 472 drivers/net/ethernet/broadcom/bnxt/bnxt_dcb.c *tc = bp->max_tc; max_tc 474 drivers/net/ethernet/broadcom/bnxt/bnxt_dcb.c *tc = max_tc + 1; max_tc 484 drivers/net/ethernet/broadcom/bnxt/bnxt_dcb.c ets->ets_cap = bp->max_tc; max_tc 519 drivers/net/ethernet/broadcom/bnxt/bnxt_dcb.c u8 max_tc = 0; max_tc 526 drivers/net/ethernet/broadcom/bnxt/bnxt_dcb.c rc = bnxt_ets_validate(bp, ets, &max_tc); max_tc 537 drivers/net/ethernet/broadcom/bnxt/bnxt_dcb.c rc = bnxt_setup_mq_tc(dev, max_tc); max_tc 540 drivers/net/ethernet/broadcom/bnxt/bnxt_dcb.c rc = bnxt_hwrm_queue_cos2bw_cfg(bp, ets, max_tc); max_tc 17 drivers/net/ethernet/broadcom/bnxt/bnxt_dcb.h u8 max_tc; max_tc 111 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_dcb.c u8 max_tc = 0; max_tc 119 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_dcb.c if (ets->prio_tc[i] > max_tc) max_tc 120 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_dcb.c max_tc = ets->prio_tc[i]; max_tc 123 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_dcb.c ret = hclge_dcb_common_validate(hdev, max_tc + 1, ets->prio_tc); max_tc 150 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_dcb.c *tc = max_tc + 1; max_tc 193 drivers/net/ethernet/intel/ixgbe/ixgbe_dcb_82599.c u8 max_tc = 0; max_tc 218 drivers/net/ethernet/intel/ixgbe/ixgbe_dcb_82599.c if (prio_tc[i] > max_tc) max_tc 219 drivers/net/ethernet/intel/ixgbe/ixgbe_dcb_82599.c max_tc = prio_tc[i]; max_tc 224 drivers/net/ethernet/intel/ixgbe/ixgbe_dcb_82599.c for (i = 0; i <= max_tc; i++) { max_tc 513 drivers/net/ethernet/intel/ixgbe/ixgbe_dcb_nl.c __u8 max_tc = 0; max_tc 535 drivers/net/ethernet/intel/ixgbe/ixgbe_dcb_nl.c if (ets->prio_tc[i] > max_tc) max_tc 536 drivers/net/ethernet/intel/ixgbe/ixgbe_dcb_nl.c max_tc = ets->prio_tc[i]; max_tc 543 drivers/net/ethernet/intel/ixgbe/ixgbe_dcb_nl.c if (max_tc) max_tc 544 drivers/net/ethernet/intel/ixgbe/ixgbe_dcb_nl.c max_tc++; max_tc 546 drivers/net/ethernet/intel/ixgbe/ixgbe_dcb_nl.c if (max_tc > adapter->dcb_cfg.num_tcs.pg_tcs) max_tc 549 drivers/net/ethernet/intel/ixgbe/ixgbe_dcb_nl.c if (max_tc != adapter->hw_tcs) { max_tc 550 drivers/net/ethernet/intel/ixgbe/ixgbe_dcb_nl.c err = ixgbe_setup_tc(dev, max_tc); max_tc 901 drivers/net/ethernet/mellanox/mlx5/core/en.h int max_tc; max_tc 154 drivers/net/ethernet/mellanox/mlx5/core/en_dcbnl.c static void mlx5e_build_tc_group(struct ieee_ets *ets, u8 *tc_group, int max_tc) max_tc 161 drivers/net/ethernet/mellanox/mlx5/core/en_dcbnl.c for (i = 0; i <= max_tc; i++) { max_tc 176 drivers/net/ethernet/mellanox/mlx5/core/en_dcbnl.c for (i = 0; i <= max_tc; i++) { max_tc 194 drivers/net/ethernet/mellanox/mlx5/core/en_dcbnl.c u8 *tc_group, int max_tc) max_tc 201 drivers/net/ethernet/mellanox/mlx5/core/en_dcbnl.c for (i = 0; i <= max_tc; i++) { max_tc 212 drivers/net/ethernet/mellanox/mlx5/core/en_dcbnl.c for (i = 0; i <= max_tc; i++) { max_tc 246 drivers/net/ethernet/mellanox/mlx5/core/en_dcbnl.c int max_tc = mlx5_max_tc(mdev); max_tc 249 drivers/net/ethernet/mellanox/mlx5/core/en_dcbnl.c mlx5e_build_tc_group(ets, tc_group, max_tc); max_tc 250 drivers/net/ethernet/mellanox/mlx5/core/en_dcbnl.c mlx5e_build_tc_tx_bw(ets, tc_tx_bw, tc_group, max_tc); max_tc 3228 drivers/net/ethernet/mellanox/mlx5/core/en_main.c for (tc = 0; tc < priv->profile->max_tc; tc++) max_tc 3243 drivers/net/ethernet/mellanox/mlx5/core/en_main.c for (tc = 0; tc < priv->profile->max_tc; tc++) { max_tc 3266 drivers/net/ethernet/mellanox/mlx5/core/en_main.c tc = priv->profile->max_tc; max_tc 5246 drivers/net/ethernet/mellanox/mlx5/core/en_main.c .max_tc = MLX5E_MAX_NUM_TC, max_tc 5302 drivers/net/ethernet/mellanox/mlx5/core/en_main.c nch * profile->max_tc, max_tc 1773 drivers/net/ethernet/mellanox/mlx5/core/en_rep.c .max_tc = 1, max_tc 1791 drivers/net/ethernet/mellanox/mlx5/core/en_rep.c .max_tc = MLX5E_MAX_NUM_TC, max_tc 436 drivers/net/ethernet/mellanox/mlx5/core/ipoib/ipoib.c .max_tc = MLX5I_MAX_NUM_TC, max_tc 357 drivers/net/ethernet/mellanox/mlx5/core/ipoib/ipoib_vlan.c .max_tc = MLX5I_MAX_NUM_TC, max_tc 548 drivers/net/ethernet/mellanox/mlx5/core/port.c u8 num_tc = MLX5_CAP_GEN(mdev, max_tc) ? : 8; max_tc 553 drivers/net/ethernet/qlogic/qed/qed_dcbx.c p_params->pfc.max_tc = QED_MFW_GET_FIELD(pfc, DCBX_PFC_CAPS); max_tc 567 drivers/net/ethernet/qlogic/qed/qed_dcbx.c p_params->pfc.willing, pfc_map, p_params->pfc.max_tc, max_tc 1066 drivers/net/ethernet/qlogic/qed/qed_dcbx.c *pfc |= (u32)p_params->pfc.max_tc << DCBX_PFC_CAPS_SHIFT; max_tc 1537 drivers/net/ethernet/qlogic/qed/qed_dcbx.c *num = dcbx_info->operational.params.pfc.max_tc; max_tc 1708 drivers/net/ethernet/qlogic/qed/qed_dcbx.c dcbx_set.config.params.pfc.max_tc = num; max_tc 2029 drivers/net/ethernet/qlogic/qed/qed_dcbx.c pfc->tcs_supported = dcbx_info->remote.params.pfc.max_tc; max_tc 2091 drivers/net/ethernet/qlogic/qed/qed_dcbx.c pfc->pfc_cap = params->pfc.max_tc; max_tc 2136 drivers/net/ethernet/qlogic/qed/qed_dcbx.c dcbx_set.config.params.pfc.max_tc = pfc->pfc_cap; max_tc 1764 drivers/net/ethernet/qlogic/qed/qed_dev.c u8 max_tc = qed_init_qm_get_num_tcs(p_hwfn); max_tc 1766 drivers/net/ethernet/qlogic/qed/qed_dev.c if (max_tc == 0) { max_tc 1772 drivers/net/ethernet/qlogic/qed/qed_dev.c if (tc > max_tc) max_tc 1773 drivers/net/ethernet/qlogic/qed/qed_dev.c DP_ERR(p_hwfn, "tc %d must be smaller than %d\n", tc, max_tc); max_tc 1775 drivers/net/ethernet/qlogic/qed/qed_dev.c return qed_get_cm_pq_idx(p_hwfn, PQ_FLAGS_MCOS) + (tc % max_tc); max_tc 1243 include/linux/mlx5/mlx5_ifc.h u8 max_tc[0x4]; max_tc 94 include/linux/qed/qed_if.h u8 max_tc;