Searched refs:tc_tx_bw (Results 1 - 11 of 11) sorted by relevance
/linux-4.4.14/drivers/net/ethernet/mellanox/mlx4/ |
H A D | en_dcb_nl.c | 95 memcpy(ets->tc_tx_bw, my_ets->tc_tx_bw, sizeof(ets->tc_tx_bw)); mlx4_en_dcbnl_ieee_getets() 120 total_ets_bw += ets->tc_tx_bw[i]; mlx4_en_ets_validate() 144 __u8 tc_tx_bw[IEEE_8021QAZ_MAX_TCS] = { 0 }; mlx4_en_config_port_scheduler() local 155 tc_tx_bw[i] = MLX4_EN_BW_MAX; mlx4_en_config_port_scheduler() 159 tc_tx_bw[i] = ets->tc_tx_bw[i] ?: MLX4_EN_BW_MIN; mlx4_en_config_port_scheduler() 164 return mlx4_SET_PORT_SCHEDULER(mdev->dev, priv->port, tc_tx_bw, pg, mlx4_en_config_port_scheduler()
|
H A D | fw_qos.h | 71 * tc_tx_bw, pg and ratelimit are arrays where each index represents a TC. 76 * @tc_tx_bw: The percentage of the bandwidth allocated for traffic class 84 int mlx4_SET_PORT_SCHEDULER(struct mlx4_dev *dev, u8 port, u8 *tc_tx_bw,
|
H A D | fw_qos.c | 111 int mlx4_SET_PORT_SCHEDULER(struct mlx4_dev *dev, u8 port, u8 *tc_tx_bw, mlx4_SET_PORT_SCHEDULER() argument 147 tc->bw_precentage = htons(tc_tx_bw[i]); mlx4_SET_PORT_SCHEDULER()
|
/linux-4.4.14/drivers/net/ethernet/intel/fm10k/ |
H A D | fm10k_dcbnl.c | 38 memset(ets->tc_tx_bw, 0, sizeof(ets->tc_tx_bw)); fm10k_dcbnl_ieee_getets() 61 if (ets->tc_tx_bw[i] || ets->tc_rx_bw[i]) fm10k_dcbnl_ieee_setets()
|
/linux-4.4.14/drivers/net/ethernet/amd/xgbe/ |
H A D | xgbe-dcb.c | 133 memcpy(ets->tc_tx_bw, pdata->ets->tc_tx_bw, xgbe_dcb_ieee_getets() 134 sizeof(ets->tc_tx_bw)); xgbe_dcb_ieee_getets() 155 ets->tc_tx_bw[i], ets->tc_rx_bw[i], xgbe_dcb_ieee_setets() 160 if ((ets->tc_tx_bw[i] || ets->tc_tsa[i]) && xgbe_dcb_ieee_setets() 172 tc_ets_weight += ets->tc_tx_bw[i]; xgbe_dcb_ieee_setets()
|
H A D | xgbe-dev.c | 1320 weight = total_weight * ets->tc_tx_bw[i] / 100; xgbe_config_dcb_tc()
|
/linux-4.4.14/drivers/net/ethernet/intel/i40e/ |
H A D | i40e_dcb_nl.c | 68 memcpy(ets->tc_tx_bw, dcbxcfg->etscfg.tcbwtable, i40e_dcbnl_ieee_getets() 69 sizeof(ets->tc_tx_bw)); i40e_dcbnl_ieee_getets()
|
/linux-4.4.14/drivers/net/ethernet/intel/ixgbe/ |
H A D | ixgbe_dcb_nl.c | 525 memcpy(ets->tc_tx_bw, my_ets->tc_tx_bw, sizeof(ets->tc_tx_bw)); ixgbe_dcbnl_ieee_getets()
|
H A D | ixgbe_dcb.c | 344 ixgbe_ieee_credits(ets->tc_tx_bw, refill, max, max_frame); ixgbe_dcb_hw_ets()
|
/linux-4.4.14/include/uapi/linux/ |
H A D | dcbnl.h | 38 * @tc_tx_bw: tc tx bandwidth indexed by traffic class 61 __u8 tc_tx_bw[IEEE_8021QAZ_MAX_TCS]; member in struct:ieee_ets
|
/linux-4.4.14/drivers/net/ethernet/chelsio/cxgb4/ |
H A D | cxgb4_dcb.c | 965 ets->tc_tx_bw[i] = pcmd.u.dcb.pgrate.pgrate[i]; cxgb4_ieee_read_ets() 966 ets->tc_rx_bw[i] = ets->tc_tx_bw[i]; cxgb4_ieee_read_ets()
|
Completed in 575 milliseconds