/dports/multimedia/v4l_compat/linux-5.13-rc2/drivers/net/ethernet/amd/xgbe/ |
H A D | xgbe-dcb.c | 133 memcpy(ets->tc_tx_bw, pdata->ets->tc_tx_bw, in xgbe_dcb_ieee_getets() 134 sizeof(ets->tc_tx_bw)); in xgbe_dcb_ieee_getets() 156 ets->tc_tx_bw[i], ets->tc_rx_bw[i], in xgbe_dcb_ieee_setets() 162 if ((ets->tc_tx_bw[i] || ets->tc_tsa[i])) in xgbe_dcb_ieee_setets() 170 tc_ets_weight += ets->tc_tx_bw[i]; in xgbe_dcb_ieee_setets()
|
/dports/multimedia/v4l-utils/linux-5.13-rc2/drivers/net/ethernet/amd/xgbe/ |
H A D | xgbe-dcb.c | 133 memcpy(ets->tc_tx_bw, pdata->ets->tc_tx_bw, in xgbe_dcb_ieee_getets() 134 sizeof(ets->tc_tx_bw)); in xgbe_dcb_ieee_getets() 156 ets->tc_tx_bw[i], ets->tc_rx_bw[i], in xgbe_dcb_ieee_setets() 162 if ((ets->tc_tx_bw[i] || ets->tc_tsa[i])) in xgbe_dcb_ieee_setets() 170 tc_ets_weight += ets->tc_tx_bw[i]; in xgbe_dcb_ieee_setets()
|
/dports/multimedia/libv4l/linux-5.13-rc2/drivers/net/ethernet/amd/xgbe/ |
H A D | xgbe-dcb.c | 133 memcpy(ets->tc_tx_bw, pdata->ets->tc_tx_bw, in xgbe_dcb_ieee_getets() 134 sizeof(ets->tc_tx_bw)); in xgbe_dcb_ieee_getets() 156 ets->tc_tx_bw[i], ets->tc_rx_bw[i], in xgbe_dcb_ieee_setets() 162 if ((ets->tc_tx_bw[i] || ets->tc_tsa[i])) in xgbe_dcb_ieee_setets() 170 tc_ets_weight += ets->tc_tx_bw[i]; in xgbe_dcb_ieee_setets()
|
/dports/multimedia/v4l_compat/linux-5.13-rc2/drivers/net/ethernet/mellanox/mlx5/core/ |
H A D | en_dcbnl.c | 146 ets->tc_tx_bw[i] = 0; in mlx5e_dcbnl_ieee_getets() 172 if (!ets->tc_tx_bw[i]) in mlx5e_build_tc_group() 211 !ets->tc_tx_bw[i]) { in mlx5e_build_tc_tx_bw() 223 tc_tx_bw[i] = MLX5E_MAX_BW_ALLOC; in mlx5e_build_tc_tx_bw() 226 tc_tx_bw[i] = MLX5E_MAX_BW_ALLOC; in mlx5e_build_tc_tx_bw() 229 tc_tx_bw[i] = ets->tc_tx_bw[i] ? in mlx5e_build_tc_tx_bw() 230 ets->tc_tx_bw[i] : in mlx5e_build_tc_tx_bw() 238 tc_tx_bw[last_ets_zero_bw_tc] += in mlx5e_build_tc_tx_bw() 252 u8 tc_tx_bw[IEEE_8021QAZ_MAX_TCS]; in mlx5e_dcbnl_ieee_setets_core() local 307 bw_sum += ets->tc_tx_bw[i]; in mlx5e_dbcnl_validate_ets() [all …]
|
/dports/multimedia/v4l-utils/linux-5.13-rc2/drivers/net/ethernet/mellanox/mlx5/core/ |
H A D | en_dcbnl.c | 146 ets->tc_tx_bw[i] = 0; in mlx5e_dcbnl_ieee_getets() 172 if (!ets->tc_tx_bw[i]) in mlx5e_build_tc_group() 211 !ets->tc_tx_bw[i]) { in mlx5e_build_tc_tx_bw() 223 tc_tx_bw[i] = MLX5E_MAX_BW_ALLOC; in mlx5e_build_tc_tx_bw() 226 tc_tx_bw[i] = MLX5E_MAX_BW_ALLOC; in mlx5e_build_tc_tx_bw() 229 tc_tx_bw[i] = ets->tc_tx_bw[i] ? in mlx5e_build_tc_tx_bw() 230 ets->tc_tx_bw[i] : in mlx5e_build_tc_tx_bw() 238 tc_tx_bw[last_ets_zero_bw_tc] += in mlx5e_build_tc_tx_bw() 252 u8 tc_tx_bw[IEEE_8021QAZ_MAX_TCS]; in mlx5e_dcbnl_ieee_setets_core() local 307 bw_sum += ets->tc_tx_bw[i]; in mlx5e_dbcnl_validate_ets() [all …]
|
/dports/multimedia/libv4l/linux-5.13-rc2/drivers/net/ethernet/mellanox/mlx5/core/ |
H A D | en_dcbnl.c | 146 ets->tc_tx_bw[i] = 0; in mlx5e_dcbnl_ieee_getets() 172 if (!ets->tc_tx_bw[i]) in mlx5e_build_tc_group() 211 !ets->tc_tx_bw[i]) { in mlx5e_build_tc_tx_bw() 223 tc_tx_bw[i] = MLX5E_MAX_BW_ALLOC; in mlx5e_build_tc_tx_bw() 226 tc_tx_bw[i] = MLX5E_MAX_BW_ALLOC; in mlx5e_build_tc_tx_bw() 229 tc_tx_bw[i] = ets->tc_tx_bw[i] ? in mlx5e_build_tc_tx_bw() 230 ets->tc_tx_bw[i] : in mlx5e_build_tc_tx_bw() 238 tc_tx_bw[last_ets_zero_bw_tc] += in mlx5e_build_tc_tx_bw() 252 u8 tc_tx_bw[IEEE_8021QAZ_MAX_TCS]; in mlx5e_dcbnl_ieee_setets_core() local 307 bw_sum += ets->tc_tx_bw[i]; in mlx5e_dbcnl_validate_ets() [all …]
|
/dports/multimedia/v4l_compat/linux-5.13-rc2/drivers/net/ethernet/intel/fm10k/ |
H A D | fm10k_dcbnl.c | 20 memset(ets->tc_tx_bw, 0, sizeof(ets->tc_tx_bw)); in fm10k_dcbnl_ieee_getets() 43 if (ets->tc_tx_bw[i] || ets->tc_rx_bw[i]) in fm10k_dcbnl_ieee_setets()
|
/dports/multimedia/v4l-utils/linux-5.13-rc2/drivers/net/ethernet/intel/fm10k/ |
H A D | fm10k_dcbnl.c | 20 memset(ets->tc_tx_bw, 0, sizeof(ets->tc_tx_bw)); in fm10k_dcbnl_ieee_getets() 43 if (ets->tc_tx_bw[i] || ets->tc_rx_bw[i]) in fm10k_dcbnl_ieee_setets()
|
/dports/multimedia/libv4l/linux-5.13-rc2/drivers/net/ethernet/intel/fm10k/ |
H A D | fm10k_dcbnl.c | 20 memset(ets->tc_tx_bw, 0, sizeof(ets->tc_tx_bw)); in fm10k_dcbnl_ieee_getets() 43 if (ets->tc_tx_bw[i] || ets->tc_rx_bw[i]) in fm10k_dcbnl_ieee_setets()
|
/dports/multimedia/v4l_compat/linux-5.13-rc2/drivers/net/ethernet/mellanox/mlx4/ |
H A D | en_dcb_nl.c | 298 memcpy(ets->tc_tx_bw, my_ets->tc_tx_bw, sizeof(ets->tc_tx_bw)); in mlx4_en_dcbnl_ieee_getets() 324 total_ets_bw += ets->tc_tx_bw[i]; in mlx4_en_ets_validate() 348 __u8 tc_tx_bw[IEEE_8021QAZ_MAX_TCS] = { 0 }; in mlx4_en_config_port_scheduler() local 359 tc_tx_bw[i] = MLX4_EN_BW_MAX; in mlx4_en_config_port_scheduler() 363 tc_tx_bw[i] = MLX4_EN_BW_MAX; in mlx4_en_config_port_scheduler() 367 tc_tx_bw[i] = ets->tc_tx_bw[i] ?: MLX4_EN_BW_MIN; in mlx4_en_config_port_scheduler() 372 return mlx4_SET_PORT_SCHEDULER(mdev->dev, priv->port, tc_tx_bw, pg, in mlx4_en_config_port_scheduler()
|
H A D | fw_qos.h | 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, in mlx4_SET_PORT_SCHEDULER() argument 147 tc->bw_precentage = htons(tc_tx_bw[i]); in mlx4_SET_PORT_SCHEDULER()
|
/dports/multimedia/v4l-utils/linux-5.13-rc2/drivers/net/ethernet/mellanox/mlx4/ |
H A D | en_dcb_nl.c | 298 memcpy(ets->tc_tx_bw, my_ets->tc_tx_bw, sizeof(ets->tc_tx_bw)); in mlx4_en_dcbnl_ieee_getets() 324 total_ets_bw += ets->tc_tx_bw[i]; in mlx4_en_ets_validate() 348 __u8 tc_tx_bw[IEEE_8021QAZ_MAX_TCS] = { 0 }; in mlx4_en_config_port_scheduler() local 359 tc_tx_bw[i] = MLX4_EN_BW_MAX; in mlx4_en_config_port_scheduler() 363 tc_tx_bw[i] = MLX4_EN_BW_MAX; in mlx4_en_config_port_scheduler() 367 tc_tx_bw[i] = ets->tc_tx_bw[i] ?: MLX4_EN_BW_MIN; in mlx4_en_config_port_scheduler() 372 return mlx4_SET_PORT_SCHEDULER(mdev->dev, priv->port, tc_tx_bw, pg, in mlx4_en_config_port_scheduler()
|
H A D | fw_qos.h | 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, in mlx4_SET_PORT_SCHEDULER() argument 147 tc->bw_precentage = htons(tc_tx_bw[i]); in mlx4_SET_PORT_SCHEDULER()
|
/dports/multimedia/libv4l/linux-5.13-rc2/drivers/net/ethernet/mellanox/mlx4/ |
H A D | en_dcb_nl.c | 298 memcpy(ets->tc_tx_bw, my_ets->tc_tx_bw, sizeof(ets->tc_tx_bw)); in mlx4_en_dcbnl_ieee_getets() 324 total_ets_bw += ets->tc_tx_bw[i]; in mlx4_en_ets_validate() 348 __u8 tc_tx_bw[IEEE_8021QAZ_MAX_TCS] = { 0 }; in mlx4_en_config_port_scheduler() local 359 tc_tx_bw[i] = MLX4_EN_BW_MAX; in mlx4_en_config_port_scheduler() 363 tc_tx_bw[i] = MLX4_EN_BW_MAX; in mlx4_en_config_port_scheduler() 367 tc_tx_bw[i] = ets->tc_tx_bw[i] ?: MLX4_EN_BW_MIN; in mlx4_en_config_port_scheduler() 372 return mlx4_SET_PORT_SCHEDULER(mdev->dev, priv->port, tc_tx_bw, pg, in mlx4_en_config_port_scheduler()
|
H A D | fw_qos.h | 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, in mlx4_SET_PORT_SCHEDULER() argument 147 tc->bw_precentage = htons(tc_tx_bw[i]); in mlx4_SET_PORT_SCHEDULER()
|
/dports/multimedia/v4l_compat/linux-5.13-rc2/drivers/net/ethernet/broadcom/bnxt/ |
H A D | bnxt_dcb.c | 115 cos2bw.bw_weight = ets->tc_tx_bw[i]; in bnxt_hwrm_queue_cos2bw_cfg() 120 cpu_to_le32((ets->tc_tx_bw[i] * 100) | in bnxt_hwrm_queue_cos2bw_cfg() 167 ets->tc_tx_bw[tc] = cos2bw.bw_weight; in bnxt_hwrm_queue_cos2bw_qcfg() 448 if ((ets->tc_tx_bw[i] || ets->tc_tsa[i]) && i > bp->max_tc) in bnxt_ets_validate() 455 total_ets_bw += ets->tc_tx_bw[i]; in bnxt_ets_validate() 498 memcpy(ets->tc_tx_bw, my_ets->tc_tx_bw, sizeof(ets->tc_tx_bw)); in bnxt_dcbnl_ieee_getets()
|
/dports/multimedia/v4l-utils/linux-5.13-rc2/drivers/net/ethernet/broadcom/bnxt/ |
H A D | bnxt_dcb.c | 115 cos2bw.bw_weight = ets->tc_tx_bw[i]; in bnxt_hwrm_queue_cos2bw_cfg() 120 cpu_to_le32((ets->tc_tx_bw[i] * 100) | in bnxt_hwrm_queue_cos2bw_cfg() 167 ets->tc_tx_bw[tc] = cos2bw.bw_weight; in bnxt_hwrm_queue_cos2bw_qcfg() 448 if ((ets->tc_tx_bw[i] || ets->tc_tsa[i]) && i > bp->max_tc) in bnxt_ets_validate() 455 total_ets_bw += ets->tc_tx_bw[i]; in bnxt_ets_validate() 498 memcpy(ets->tc_tx_bw, my_ets->tc_tx_bw, sizeof(ets->tc_tx_bw)); in bnxt_dcbnl_ieee_getets()
|
/dports/multimedia/libv4l/linux-5.13-rc2/drivers/net/ethernet/broadcom/bnxt/ |
H A D | bnxt_dcb.c | 115 cos2bw.bw_weight = ets->tc_tx_bw[i]; in bnxt_hwrm_queue_cos2bw_cfg() 120 cpu_to_le32((ets->tc_tx_bw[i] * 100) | in bnxt_hwrm_queue_cos2bw_cfg() 167 ets->tc_tx_bw[tc] = cos2bw.bw_weight; in bnxt_hwrm_queue_cos2bw_qcfg() 448 if ((ets->tc_tx_bw[i] || ets->tc_tsa[i]) && i > bp->max_tc) in bnxt_ets_validate() 455 total_ets_bw += ets->tc_tx_bw[i]; in bnxt_ets_validate() 498 memcpy(ets->tc_tx_bw, my_ets->tc_tx_bw, sizeof(ets->tc_tx_bw)); in bnxt_dcbnl_ieee_getets()
|
/dports/multimedia/v4l_compat/linux-5.13-rc2/drivers/net/ethernet/hisilicon/hns3/hns3pf/ |
H A D | hclge_dcb.c | 27 ets->tc_tx_bw[i]; in hclge_ieee_ets_to_tm_info() 55 ets->tc_tx_bw[i] = hdev->tm_info.pg_info[0].tc_dwrr[i]; in hclge_tm_info_to_ieee_ets() 140 total_ets_bw += ets->tc_tx_bw[i]; in hclge_ets_validate()
|
/dports/multimedia/v4l-utils/linux-5.13-rc2/drivers/net/ethernet/hisilicon/hns3/hns3pf/ |
H A D | hclge_dcb.c | 27 ets->tc_tx_bw[i]; in hclge_ieee_ets_to_tm_info() 55 ets->tc_tx_bw[i] = hdev->tm_info.pg_info[0].tc_dwrr[i]; in hclge_tm_info_to_ieee_ets() 140 total_ets_bw += ets->tc_tx_bw[i]; in hclge_ets_validate()
|
/dports/multimedia/libv4l/linux-5.13-rc2/drivers/net/ethernet/hisilicon/hns3/hns3pf/ |
H A D | hclge_dcb.c | 27 ets->tc_tx_bw[i]; in hclge_ieee_ets_to_tm_info() 55 ets->tc_tx_bw[i] = hdev->tm_info.pg_info[0].tc_dwrr[i]; in hclge_tm_info_to_ieee_ets() 140 total_ets_bw += ets->tc_tx_bw[i]; in hclge_ets_validate()
|
/dports/multimedia/v4l_compat/linux-5.13-rc2/drivers/net/ethernet/intel/ice/ |
H A D | ice_dcb_nl.c | 43 memcpy(ets->tc_tx_bw, dcbxcfg->etscfg.tcbwtable, sizeof(ets->tc_tx_bw)); in ice_dcbnl_getets() 80 new_cfg->etscfg.tcbwtable[i] = ets->tc_tx_bw[i]; in ice_dcbnl_setets() 81 bwcfg += ets->tc_tx_bw[i]; in ice_dcbnl_setets()
|