tc_tx_bw 133 drivers/net/ethernet/amd/xgbe/xgbe-dcb.c memcpy(ets->tc_tx_bw, pdata->ets->tc_tx_bw, tc_tx_bw 134 drivers/net/ethernet/amd/xgbe/xgbe-dcb.c sizeof(ets->tc_tx_bw)); tc_tx_bw 156 drivers/net/ethernet/amd/xgbe/xgbe-dcb.c ets->tc_tx_bw[i], ets->tc_rx_bw[i], tc_tx_bw 162 drivers/net/ethernet/amd/xgbe/xgbe-dcb.c if ((ets->tc_tx_bw[i] || ets->tc_tsa[i])) tc_tx_bw 170 drivers/net/ethernet/amd/xgbe/xgbe-dcb.c tc_ets_weight += ets->tc_tx_bw[i]; tc_tx_bw 2760 drivers/net/ethernet/amd/xgbe/xgbe-dev.c weight = total_weight * ets->tc_tx_bw[i] / 100; tc_tx_bw 116 drivers/net/ethernet/broadcom/bnxt/bnxt_dcb.c cos2bw.bw_weight = ets->tc_tx_bw[i]; tc_tx_bw 121 drivers/net/ethernet/broadcom/bnxt/bnxt_dcb.c cpu_to_le32((ets->tc_tx_bw[i] * 100) | tc_tx_bw 169 drivers/net/ethernet/broadcom/bnxt/bnxt_dcb.c ets->tc_tx_bw[tc] = cos2bw.bw_weight; tc_tx_bw 455 drivers/net/ethernet/broadcom/bnxt/bnxt_dcb.c if ((ets->tc_tx_bw[i] || ets->tc_tsa[i]) && i > bp->max_tc) tc_tx_bw 462 drivers/net/ethernet/broadcom/bnxt/bnxt_dcb.c total_ets_bw += ets->tc_tx_bw[i]; tc_tx_bw 505 drivers/net/ethernet/broadcom/bnxt/bnxt_dcb.c memcpy(ets->tc_tx_bw, my_ets->tc_tx_bw, sizeof(ets->tc_tx_bw)); tc_tx_bw 987 drivers/net/ethernet/chelsio/cxgb4/cxgb4_dcb.c ets->tc_tx_bw[i] = pcmd.u.dcb.pgrate.pgrate[i]; tc_tx_bw 988 drivers/net/ethernet/chelsio/cxgb4/cxgb4_dcb.c ets->tc_rx_bw[i] = ets->tc_tx_bw[i]; tc_tx_bw 26 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_dcb.c ets->tc_tx_bw[i]; tc_tx_bw 54 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_dcb.c ets->tc_tx_bw[i] = hdev->tm_info.pg_info[0].tc_dwrr[i]; tc_tx_bw 139 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_dcb.c total_ets_bw += ets->tc_tx_bw[i]; tc_tx_bw 20 drivers/net/ethernet/intel/fm10k/fm10k_dcbnl.c memset(ets->tc_tx_bw, 0, sizeof(ets->tc_tx_bw)); tc_tx_bw 43 drivers/net/ethernet/intel/fm10k/fm10k_dcbnl.c if (ets->tc_tx_bw[i] || ets->tc_rx_bw[i]) tc_tx_bw 45 drivers/net/ethernet/intel/i40e/i40e_dcb_nl.c memcpy(ets->tc_tx_bw, dcbxcfg->etscfg.tcbwtable, tc_tx_bw 46 drivers/net/ethernet/intel/i40e/i40e_dcb_nl.c sizeof(ets->tc_tx_bw)); tc_tx_bw 331 drivers/net/ethernet/intel/ixgbe/ixgbe_dcb.c ixgbe_ieee_credits(ets->tc_tx_bw, refill, max, max_frame); tc_tx_bw 500 drivers/net/ethernet/intel/ixgbe/ixgbe_dcb_nl.c memcpy(ets->tc_tx_bw, my_ets->tc_tx_bw, sizeof(ets->tc_tx_bw)); tc_tx_bw 298 drivers/net/ethernet/mellanox/mlx4/en_dcb_nl.c memcpy(ets->tc_tx_bw, my_ets->tc_tx_bw, sizeof(ets->tc_tx_bw)); tc_tx_bw 324 drivers/net/ethernet/mellanox/mlx4/en_dcb_nl.c total_ets_bw += ets->tc_tx_bw[i]; tc_tx_bw 348 drivers/net/ethernet/mellanox/mlx4/en_dcb_nl.c __u8 tc_tx_bw[IEEE_8021QAZ_MAX_TCS] = { 0 }; tc_tx_bw 359 drivers/net/ethernet/mellanox/mlx4/en_dcb_nl.c tc_tx_bw[i] = MLX4_EN_BW_MAX; tc_tx_bw 363 drivers/net/ethernet/mellanox/mlx4/en_dcb_nl.c tc_tx_bw[i] = MLX4_EN_BW_MAX; tc_tx_bw 367 drivers/net/ethernet/mellanox/mlx4/en_dcb_nl.c tc_tx_bw[i] = ets->tc_tx_bw[i] ?: MLX4_EN_BW_MIN; tc_tx_bw 372 drivers/net/ethernet/mellanox/mlx4/en_dcb_nl.c return mlx4_SET_PORT_SCHEDULER(mdev->dev, priv->port, tc_tx_bw, pg, tc_tx_bw 111 drivers/net/ethernet/mellanox/mlx4/fw_qos.c int mlx4_SET_PORT_SCHEDULER(struct mlx4_dev *dev, u8 port, u8 *tc_tx_bw, tc_tx_bw 147 drivers/net/ethernet/mellanox/mlx4/fw_qos.c tc->bw_precentage = htons(tc_tx_bw[i]); tc_tx_bw 84 drivers/net/ethernet/mellanox/mlx4/fw_qos.h int mlx4_SET_PORT_SCHEDULER(struct mlx4_dev *dev, u8 port, u8 *tc_tx_bw, tc_tx_bw 122 drivers/net/ethernet/mellanox/mlx5/core/en_dcbnl.c err = mlx5_query_port_tc_bw_alloc(mdev, i, &ets->tc_tx_bw[i]); tc_tx_bw 126 drivers/net/ethernet/mellanox/mlx5/core/en_dcbnl.c if (ets->tc_tx_bw[i] < MLX5E_MAX_BW_ALLOC && tc_tx_bw 138 drivers/net/ethernet/mellanox/mlx5/core/en_dcbnl.c ets->tc_tx_bw[i] = 0; tc_tx_bw 143 drivers/net/ethernet/mellanox/mlx5/core/en_dcbnl.c if (ets->tc_tx_bw[i] < MLX5E_MAX_BW_ALLOC) tc_tx_bw 164 drivers/net/ethernet/mellanox/mlx5/core/en_dcbnl.c if (!ets->tc_tx_bw[i]) tc_tx_bw 186 drivers/net/ethernet/mellanox/mlx5/core/en_dcbnl.c if (ets->tc_tx_bw[i] && ets_zero_bw) tc_tx_bw 193 drivers/net/ethernet/mellanox/mlx5/core/en_dcbnl.c static void mlx5e_build_tc_tx_bw(struct ieee_ets *ets, u8 *tc_tx_bw, tc_tx_bw 203 drivers/net/ethernet/mellanox/mlx5/core/en_dcbnl.c !ets->tc_tx_bw[i]) { tc_tx_bw 215 drivers/net/ethernet/mellanox/mlx5/core/en_dcbnl.c tc_tx_bw[i] = MLX5E_MAX_BW_ALLOC; tc_tx_bw 218 drivers/net/ethernet/mellanox/mlx5/core/en_dcbnl.c tc_tx_bw[i] = MLX5E_MAX_BW_ALLOC; tc_tx_bw 221 drivers/net/ethernet/mellanox/mlx5/core/en_dcbnl.c tc_tx_bw[i] = ets->tc_tx_bw[i] ? tc_tx_bw 222 drivers/net/ethernet/mellanox/mlx5/core/en_dcbnl.c ets->tc_tx_bw[i] : tc_tx_bw 230 drivers/net/ethernet/mellanox/mlx5/core/en_dcbnl.c tc_tx_bw[last_ets_zero_bw_tc] += tc_tx_bw 244 drivers/net/ethernet/mellanox/mlx5/core/en_dcbnl.c u8 tc_tx_bw[IEEE_8021QAZ_MAX_TCS]; tc_tx_bw 250 drivers/net/ethernet/mellanox/mlx5/core/en_dcbnl.c mlx5e_build_tc_tx_bw(ets, tc_tx_bw, tc_group, max_tc); tc_tx_bw 260 drivers/net/ethernet/mellanox/mlx5/core/en_dcbnl.c err = mlx5_set_port_tc_bw_alloc(mdev, tc_tx_bw); tc_tx_bw 271 drivers/net/ethernet/mellanox/mlx5/core/en_dcbnl.c __func__, i, tc_tx_bw[i], tc_group[i]); tc_tx_bw 299 drivers/net/ethernet/mellanox/mlx5/core/en_dcbnl.c bw_sum += ets->tc_tx_bw[i]; tc_tx_bw 629 drivers/net/ethernet/mellanox/mlx5/core/en_dcbnl.c ets.tc_tx_bw[i] = cee_cfg->pg_bw_pct[i]; tc_tx_bw 635 drivers/net/ethernet/mellanox/mlx5/core/en_dcbnl.c __func__, i, ets.tc_tx_bw[i], ets.tc_rx_bw[i], tc_tx_bw 761 drivers/net/ethernet/mellanox/mlx5/core/en_dcbnl.c *bw_pct = ets.tc_tx_bw[pgid]; tc_tx_bw 1041 drivers/net/ethernet/mellanox/mlx5/core/en_dcbnl.c ets.tc_tx_bw[i] = MLX5E_MAX_BW_ALLOC; tc_tx_bw 46 drivers/net/ethernet/mellanox/mlxsw/spectrum_dcb.c tx_bw_sum += ets->tc_tx_bw[i]; tc_tx_bw 160 drivers/net/ethernet/mellanox/mlxsw/spectrum_dcb.c u8 weight = ets->tc_tx_bw[i]; tc_tx_bw 198 drivers/net/ethernet/mellanox/mlxsw/spectrum_dcb.c u8 weight = my_ets->tc_tx_bw[i]; tc_tx_bw 2184 drivers/net/ethernet/qlogic/qed/qed_dcbx.c memcpy(ets->tc_tx_bw, params->ets_tc_bw_tbl, sizeof(ets->tc_tx_bw)); tc_tx_bw 2226 drivers/net/ethernet/qlogic/qed/qed_dcbx.c memcpy(dcbx_set.config.params.ets_tc_bw_tbl, ets->tc_tx_bw, tc_tx_bw 2227 drivers/net/ethernet/qlogic/qed/qed_dcbx.c sizeof(ets->tc_tx_bw)); tc_tx_bw 62 include/uapi/linux/dcbnl.h __u8 tc_tx_bw[IEEE_8021QAZ_MAX_TCS];