/Linux-v4.19/drivers/net/ethernet/intel/i40e/ |
D | i40e_virtchnl_pf.h | 59 u64 max_tx_rate; /* bandwidth rate allocation for VSIs */ member 130 int max_tx_rate);
|
D | i40e_virtchnl_pf.c | 691 u64 max_tx_rate = 0; in i40e_alloc_vsi_res() local 751 max_tx_rate = vf->tx_rate; in i40e_alloc_vsi_res() 752 } else if (vf->ch[idx].max_tx_rate) { in i40e_alloc_vsi_res() 753 max_tx_rate = vf->ch[idx].max_tx_rate; in i40e_alloc_vsi_res() 756 if (max_tx_rate) { in i40e_alloc_vsi_res() 757 max_tx_rate = div_u64(max_tx_rate, I40E_BW_CREDIT_DIVISOR); in i40e_alloc_vsi_res() 759 max_tx_rate, 0, NULL); in i40e_alloc_vsi_res() 3516 if (tci->list[i].max_tx_rate) { in i40e_vc_add_qch_msg() 3517 if (tci->list[i].max_tx_rate > speed) { in i40e_vc_add_qch_msg() 3520 tci->list[i].max_tx_rate, in i40e_vc_add_qch_msg() [all …]
|
D | i40e_main.c | 5402 int i40e_set_bw_limit(struct i40e_vsi *vsi, u16 seid, u64 max_tx_rate) in i40e_set_bw_limit() argument 5410 if (max_tx_rate > speed) { in i40e_set_bw_limit() 5413 max_tx_rate, seid); in i40e_set_bw_limit() 5416 if (max_tx_rate && max_tx_rate < 50) { in i40e_set_bw_limit() 5419 max_tx_rate = 50; in i40e_set_bw_limit() 5423 credits = max_tx_rate; in i40e_set_bw_limit() 5430 max_tx_rate, seid, i40e_stat_str(&pf->hw, ret), in i40e_set_bw_limit() 6103 if (ch->max_tx_rate) { in i40e_create_queue_channel() 6104 u64 credits = ch->max_tx_rate; in i40e_create_queue_channel() 6106 if (i40e_set_bw_limit(vsi, ch->seid, ch->max_tx_rate)) in i40e_create_queue_channel() [all …]
|
D | i40e.h | 403 u64 max_tx_rate; member 1094 int i40e_set_bw_limit(struct i40e_vsi *vsi, u16 seid, u64 max_tx_rate);
|
/Linux-v4.19/drivers/net/ethernet/broadcom/bnxt/ |
D | bnxt_sriov.c | 159 ivi->max_tx_rate = vf->max_tx_rate; in bnxt_get_vf_config() 248 int max_tx_rate) in bnxt_set_vf_bw() argument 262 if (max_tx_rate > pf_link_speed) { in bnxt_set_vf_bw() 264 max_tx_rate, vf_id); in bnxt_set_vf_bw() 268 if (min_tx_rate > pf_link_speed || min_tx_rate > max_tx_rate) { in bnxt_set_vf_bw() 273 if (min_tx_rate == vf->min_tx_rate && max_tx_rate == vf->max_tx_rate) in bnxt_set_vf_bw() 279 req.max_bw = cpu_to_le32(max_tx_rate); in bnxt_set_vf_bw() 285 vf->max_tx_rate = max_tx_rate; in bnxt_set_vf_bw()
|
/Linux-v4.19/include/linux/ |
D | if_link.h | 28 __u32 max_tx_rate; member
|
/Linux-v4.19/drivers/net/ethernet/qlogic/qlcnic/ |
D | qlcnic_sriov_pf.c | 1853 int min_tx_rate, int max_tx_rate) in qlcnic_sriov_set_vf_tx_rate() argument 1875 if (max_tx_rate && in qlcnic_sriov_set_vf_tx_rate() 1876 (max_tx_rate >= 10000 || max_tx_rate < min_tx_rate)) { in qlcnic_sriov_set_vf_tx_rate() 1883 if (!max_tx_rate) in qlcnic_sriov_set_vf_tx_rate() 1884 max_tx_rate = 10000; in qlcnic_sriov_set_vf_tx_rate() 1887 (min_tx_rate > max_tx_rate || min_tx_rate < QLC_VF_MIN_TX_RATE)) { in qlcnic_sriov_set_vf_tx_rate() 1890 QLC_VF_MIN_TX_RATE, max_tx_rate); in qlcnic_sriov_set_vf_tx_rate() 1898 nic_info.max_tx_bw = max_tx_rate / 100; in qlcnic_sriov_set_vf_tx_rate() 1906 vp->max_tx_bw = max_tx_rate / 100; in qlcnic_sriov_set_vf_tx_rate() 1909 max_tx_rate, vp->max_tx_bw, vf); in qlcnic_sriov_set_vf_tx_rate() [all …]
|
/Linux-v4.19/net/can/ |
D | af_can.h | 97 unsigned long max_tx_rate; member
|
D | proc.c | 164 if (can_stats->max_tx_rate < can_stats->current_tx_rate) in can_stat_update() 165 can_stats->max_tx_rate = can_stats->current_tx_rate; in can_stat_update() 249 can_stats->max_tx_rate); in can_stats_proc_show()
|
/Linux-v4.19/drivers/net/wireless/st/cw1200/ |
D | scan.c | 215 scan.max_tx_rate = WSM_TRANSMIT_RATE_6; in cw1200_scan_work() 217 scan.max_tx_rate = WSM_TRANSMIT_RATE_1; in cw1200_scan_work() 408 scan.max_tx_rate = wsm->max_tx_rate; in cw1200_probe_work()
|
D | wsm.h | 706 u8 max_tx_rate; member 812 u8 max_tx_rate; member
|
/Linux-v4.19/drivers/net/netdevsim/ |
D | netdev.c | 32 u16 max_tx_rate; member 372 ns->vfconfigs[vf].max_tx_rate = max; in nsim_set_vf_rate() 421 ivi->max_tx_rate = ns->vfconfigs[vf].max_tx_rate; in nsim_get_vf_config()
|
/Linux-v4.19/drivers/net/ethernet/intel/ixgbe/ |
D | ixgbe_sriov.h | 27 int max_tx_rate);
|
D | ixgbe_sriov.c | 1564 int max_tx_rate) in ixgbe_ndo_set_vf_bw() argument 1586 if (max_tx_rate && ((max_tx_rate <= 10) || (max_tx_rate > link_speed))) in ixgbe_ndo_set_vf_bw() 1591 adapter->vfinfo[vf].tx_rate = max_tx_rate; in ixgbe_ndo_set_vf_bw() 1685 ivi->max_tx_rate = adapter->vfinfo[vf].tx_rate; in ixgbe_ndo_get_vf_config()
|
/Linux-v4.19/include/linux/mlx4/ |
D | cmd.h | 315 int max_tx_rate);
|
/Linux-v4.19/drivers/net/ethernet/mellanox/mlx4/ |
D | cmd.c | 2885 int max_tx_rate) in mlx4_set_vport_qos() argument 2909 if (test_bit(i, port_qos->priority_bm) && max_tx_rate) { in mlx4_set_vport_qos() 2910 vpp_qos[i].max_avg_bw = max_tx_rate; in mlx4_set_vport_qos() 3086 int max_tx_rate) in mlx4_set_vf_rate() argument 3109 err = mlx4_set_vport_qos(priv, slave, port, max_tx_rate); in mlx4_set_vf_rate() 3112 max_tx_rate); in mlx4_set_vf_rate() 3116 vf_admin->tx_rate = max_tx_rate; in mlx4_set_vf_rate() 3133 max_tx_rate); in mlx4_set_vf_rate() 3138 vf_admin->qos_vport = max_tx_rate ? slave : MLX4_VPP_DEFAULT_VPORT; in mlx4_set_vf_rate() 3232 ivf->max_tx_rate = s_info->tx_rate; in mlx4_get_vf_config() [all …]
|
/Linux-v4.19/drivers/video/fbdev/omap/ |
D | hwa742.c | 820 unsigned long max_tx_rate = hwa742.extif->get_max_tx_rate(); in setup_tearsync() local 823 max_tx_rate); in setup_tearsync() 824 min_tx_time = 1000000000 / (max_tx_rate / 1000); /* ps */ in setup_tearsync()
|
/Linux-v4.19/drivers/net/ethernet/intel/i40evf/ |
D | i40evf_main.c | 2240 u64 max_tx_rate) in i40evf_validate_tx_bandwidth() argument 2267 if (max_tx_rate > speed) { in i40evf_validate_tx_bandwidth() 2355 u64 max_tx_rate; in __i40evf_setup_tc() local 2404 max_tx_rate = mqprio_qopt->max_rate[i]; in __i40evf_setup_tc() 2406 max_tx_rate = div_u64(max_tx_rate, in __i40evf_setup_tc() 2408 adapter->ch_config.ch_info[i].max_tx_rate = in __i40evf_setup_tc() 2409 max_tx_rate; in __i40evf_setup_tc()
|
D | i40evf_virtchnl.c | 975 vti->list[i].max_tx_rate = in i40evf_enable_channels() 976 adapter->ch_config.ch_info[i].max_tx_rate; in i40evf_enable_channels()
|
/Linux-v4.19/include/linux/avf/ |
D | virtchnl.h | 517 u64 max_tx_rate; member
|
/Linux-v4.19/tools/include/uapi/linux/ |
D | if_link.h | 715 __u32 max_tx_rate; /* Max Bandwidth in Mbps */ member
|
/Linux-v4.19/include/uapi/linux/ |
D | if_link.h | 715 __u32 max_tx_rate; /* Max Bandwidth in Mbps */ member
|
/Linux-v4.19/drivers/net/ethernet/intel/fm10k/ |
D | fm10k_iov.c | 637 ivi->max_tx_rate = vf_info->rate; in fm10k_ndo_get_vf_config()
|
/Linux-v4.19/drivers/net/ethernet/emulex/benet/ |
D | be_main.c | 1912 vi->max_tx_rate = vf_cfg->tx_rate; in be_get_vf_config() 2014 int min_tx_rate, int max_tx_rate) in be_set_vf_tx_rate() argument 2031 if (!max_tx_rate) in be_set_vf_tx_rate() 2045 if (max_tx_rate < 100 || max_tx_rate > link_speed) { in be_set_vf_tx_rate() 2054 if (skyhawk_chip(adapter) && (max_tx_rate % percent_rate)) { in be_set_vf_tx_rate() 2062 status = be_cmd_config_qos(adapter, max_tx_rate, link_speed, vf + 1); in be_set_vf_tx_rate() 2066 adapter->vf_cfg[vf].tx_rate = max_tx_rate; in be_set_vf_tx_rate() 2071 max_tx_rate, vf); in be_set_vf_tx_rate()
|
/Linux-v4.19/drivers/net/ethernet/chelsio/cxgb4/ |
D | cxgb4_main.c | 2712 ivi->max_tx_rate = vfinfo->tx_rate; in cxgb4_mgmt_get_vf_config() 2732 int min_tx_rate, int max_tx_rate) in cxgb4_mgmt_set_vf_rate() argument 2764 if (max_tx_rate > speed) { in cxgb4_mgmt_set_vf_rate() 2767 max_tx_rate, vf, speed); in cxgb4_mgmt_set_vf_rate() 2783 max_tx_rate * 1000, 0, pktsize); in cxgb4_mgmt_set_vf_rate() 2791 class_id, pktsize, max_tx_rate); in cxgb4_mgmt_set_vf_rate() 2807 adap->vfinfo[vf].tx_rate = max_tx_rate; in cxgb4_mgmt_set_vf_rate()
|