| /Linux-v5.4/drivers/net/ethernet/intel/i40e/ | 
| D | i40e_virtchnl_pf.h | 61 	u64 max_tx_rate; /* bandwidth rate allocation for VSIs */  member133 		       int max_tx_rate);
 
 | 
| D | i40e_virtchnl_pf.c | 714 	u64 max_tx_rate = 0;  in i40e_alloc_vsi_res()  local774 		max_tx_rate = vf->tx_rate;  in i40e_alloc_vsi_res()
 775 	} else if (vf->ch[idx].max_tx_rate) {  in i40e_alloc_vsi_res()
 776 		max_tx_rate = vf->ch[idx].max_tx_rate;  in i40e_alloc_vsi_res()
 779 	if (max_tx_rate) {  in i40e_alloc_vsi_res()
 780 		max_tx_rate = div_u64(max_tx_rate, I40E_BW_CREDIT_DIVISOR);  in i40e_alloc_vsi_res()
 782 						  max_tx_rate, 0, NULL);  in i40e_alloc_vsi_res()
 3646 		if (tci->list[i].max_tx_rate) {  in i40e_vc_add_qch_msg()
 3647 			if (tci->list[i].max_tx_rate > speed) {  in i40e_vc_add_qch_msg()
 3650 					tci->list[i].max_tx_rate,  in i40e_vc_add_qch_msg()
 [all …]
 
 | 
| D | i40e_main.c | 5515 int i40e_set_bw_limit(struct i40e_vsi *vsi, u16 seid, u64 max_tx_rate)  in i40e_set_bw_limit()  argument5523 	if (max_tx_rate > speed) {  in i40e_set_bw_limit()
 5526 			max_tx_rate, seid);  in i40e_set_bw_limit()
 5529 	if (max_tx_rate && max_tx_rate < 50) {  in i40e_set_bw_limit()
 5532 		max_tx_rate = 50;  in i40e_set_bw_limit()
 5536 	credits = max_tx_rate;  in i40e_set_bw_limit()
 5543 			max_tx_rate, seid, i40e_stat_str(&pf->hw, ret),  in i40e_set_bw_limit()
 6218 	if (ch->max_tx_rate) {  in i40e_create_queue_channel()
 6219 		u64 credits = ch->max_tx_rate;  in i40e_create_queue_channel()
 6221 		if (i40e_set_bw_limit(vsi, ch->seid, ch->max_tx_rate))  in i40e_create_queue_channel()
 [all …]
 
 | 
| D | i40e.h | 433 	u64 max_tx_rate;  member1158 int i40e_set_bw_limit(struct i40e_vsi *vsi, u16 seid, u64 max_tx_rate);
 
 | 
| /Linux-v5.4/drivers/net/ethernet/broadcom/bnxt/ | 
| D | bnxt_sriov.c | 192 	ivi->max_tx_rate = vf->max_tx_rate;  in bnxt_get_vf_config()281 		   int max_tx_rate)  in bnxt_set_vf_bw()  argument
 295 	if (max_tx_rate > pf_link_speed) {  in bnxt_set_vf_bw()
 297 			    max_tx_rate, vf_id);  in bnxt_set_vf_bw()
 301 	if (min_tx_rate > pf_link_speed || min_tx_rate > max_tx_rate) {  in bnxt_set_vf_bw()
 306 	if (min_tx_rate == vf->min_tx_rate && max_tx_rate == vf->max_tx_rate)  in bnxt_set_vf_bw()
 312 	req.max_bw = cpu_to_le32(max_tx_rate);  in bnxt_set_vf_bw()
 318 		vf->max_tx_rate = max_tx_rate;  in bnxt_set_vf_bw()
 492 	if (vf->max_tx_rate) {  in __bnxt_set_vf_params()
 494 		req.max_bw = cpu_to_le32(vf->max_tx_rate);  in __bnxt_set_vf_params()
 
 | 
| /Linux-v5.4/include/linux/ | 
| D | if_link.h | 28 	__u32 max_tx_rate;  member
 | 
| /Linux-v5.4/net/can/ | 
| D | af_can.h | 82 	unsigned long max_tx_rate;  member
 | 
| D | proc.c | 166 	if (pkg_stats->max_tx_rate < pkg_stats->current_tx_rate)  in can_stat_update()167 		pkg_stats->max_tx_rate = pkg_stats->current_tx_rate;  in can_stat_update()
 251 				pkg_stats->max_tx_rate);  in can_stats_proc_show()
 
 | 
| /Linux-v5.4/drivers/net/netdevsim/ | 
| D | netdev.c | 119 	nsim_bus_dev->vfconfigs[vf].max_tx_rate = max;  in nsim_set_vf_rate()172 	ivi->max_tx_rate = nsim_bus_dev->vfconfigs[vf].max_tx_rate;  in nsim_get_vf_config()
 
 | 
| D | netdevsim.h | 204 	u16 max_tx_rate;  member
 | 
| /Linux-v5.4/drivers/net/ethernet/qlogic/qlcnic/ | 
| D | qlcnic_sriov_pf.c | 1849 				int min_tx_rate, int max_tx_rate)  in qlcnic_sriov_set_vf_tx_rate()  argument1871 	if (max_tx_rate &&  in qlcnic_sriov_set_vf_tx_rate()
 1872 	    (max_tx_rate >= 10000 || max_tx_rate < min_tx_rate)) {  in qlcnic_sriov_set_vf_tx_rate()
 1879 	if (!max_tx_rate)  in qlcnic_sriov_set_vf_tx_rate()
 1880 		max_tx_rate = 10000;  in qlcnic_sriov_set_vf_tx_rate()
 1883 	    (min_tx_rate > max_tx_rate || min_tx_rate < QLC_VF_MIN_TX_RATE)) {  in qlcnic_sriov_set_vf_tx_rate()
 1886 			   QLC_VF_MIN_TX_RATE, max_tx_rate);  in qlcnic_sriov_set_vf_tx_rate()
 1894 		nic_info.max_tx_bw = max_tx_rate / 100;  in qlcnic_sriov_set_vf_tx_rate()
 1902 	vp->max_tx_bw = max_tx_rate / 100;  in qlcnic_sriov_set_vf_tx_rate()
 1905 		    max_tx_rate, vp->max_tx_bw, vf);  in qlcnic_sriov_set_vf_tx_rate()
 [all …]
 
 | 
| /Linux-v5.4/drivers/net/wireless/st/cw1200/ | 
| D | scan.c | 214 			scan.max_tx_rate = WSM_TRANSMIT_RATE_6;  in cw1200_scan_work()216 			scan.max_tx_rate = WSM_TRANSMIT_RATE_1;  in cw1200_scan_work()
 407 	scan.max_tx_rate = wsm->max_tx_rate;  in cw1200_probe_work()
 
 | 
| D | wsm.h | 703 	u8 max_tx_rate;  member809 	u8 max_tx_rate;  member
 
 | 
| /Linux-v5.4/drivers/net/ethernet/intel/ixgbe/ | 
| D | ixgbe_sriov.h | 27 			int max_tx_rate);
 | 
| D | ixgbe_sriov.c | 1590 			int max_tx_rate)  in ixgbe_ndo_set_vf_bw()  argument1612 	if (max_tx_rate && ((max_tx_rate <= 10) || (max_tx_rate > link_speed)))  in ixgbe_ndo_set_vf_bw()
 1617 	adapter->vfinfo[vf].tx_rate = max_tx_rate;  in ixgbe_ndo_set_vf_bw()
 1711 	ivi->max_tx_rate = adapter->vfinfo[vf].tx_rate;  in ixgbe_ndo_get_vf_config()
 
 | 
| /Linux-v5.4/include/linux/mlx4/ | 
| D | cmd.h | 315 		     int max_tx_rate);
 | 
| /Linux-v5.4/drivers/net/ethernet/mellanox/mlx4/ | 
| D | cmd.c | 2881 			      int max_tx_rate)  in mlx4_set_vport_qos()  argument2905 		if (test_bit(i, port_qos->priority_bm) && max_tx_rate) {  in mlx4_set_vport_qos()
 2906 			vpp_qos[i].max_avg_bw = max_tx_rate;  in mlx4_set_vport_qos()
 3082 		     int max_tx_rate)  in mlx4_set_vf_rate()  argument
 3105 	err = mlx4_set_vport_qos(priv, slave, port, max_tx_rate);  in mlx4_set_vf_rate()
 3108 			  max_tx_rate);  in mlx4_set_vf_rate()
 3112 	vf_admin->tx_rate = max_tx_rate;  in mlx4_set_vf_rate()
 3129 			  max_tx_rate);  in mlx4_set_vf_rate()
 3134 	vf_admin->qos_vport = max_tx_rate ? slave : MLX4_VPP_DEFAULT_VPORT;  in mlx4_set_vf_rate()
 3228 		ivf->max_tx_rate = s_info->tx_rate;  in mlx4_get_vf_config()
 [all …]
 
 | 
| /Linux-v5.4/drivers/video/fbdev/omap/ | 
| D | hwa742.c | 807 		unsigned long max_tx_rate = hwa742.extif->get_max_tx_rate();  in setup_tearsync()  local810 			max_tx_rate);  in setup_tearsync()
 811 		min_tx_time = 1000000000 / (max_tx_rate / 1000);  /* ps */  in setup_tearsync()
 
 | 
| /Linux-v5.4/drivers/net/ethernet/intel/iavf/ | 
| D | iavf_main.c | 2477 				      u64 max_tx_rate)  in iavf_validate_tx_bandwidth()  argument2504 	if (max_tx_rate > speed) {  in iavf_validate_tx_bandwidth()
 2592 	u64 max_tx_rate;  in __iavf_setup_tc()  local
 2641 				max_tx_rate = mqprio_qopt->max_rate[i];  in __iavf_setup_tc()
 2643 				max_tx_rate = div_u64(max_tx_rate,  in __iavf_setup_tc()
 2645 				adapter->ch_config.ch_info[i].max_tx_rate =  in __iavf_setup_tc()
 2646 					max_tx_rate;  in __iavf_setup_tc()
 
 | 
| D | iavf_virtchnl.c | 992 		vti->list[i].max_tx_rate =  in iavf_enable_channels()993 				adapter->ch_config.ch_info[i].max_tx_rate;  in iavf_enable_channels()
 
 | 
| /Linux-v5.4/include/linux/avf/ | 
| D | virtchnl.h | 515 	u64 max_tx_rate;  member
 | 
| /Linux-v5.4/tools/include/uapi/linux/ | 
| D | if_link.h | 743 	__u32 max_tx_rate; /* Max Bandwidth in Mbps */  member
 | 
| /Linux-v5.4/include/uapi/linux/ | 
| D | if_link.h | 743 	__u32 max_tx_rate; /* Max Bandwidth in Mbps */  member
 | 
| /Linux-v5.4/drivers/net/ethernet/intel/fm10k/ | 
| D | fm10k_iov.c | 645 	ivi->max_tx_rate = vf_info->rate;  in fm10k_ndo_get_vf_config()
 | 
| /Linux-v5.4/drivers/net/ethernet/emulex/benet/ | 
| D | be_main.c | 1909 	vi->max_tx_rate = vf_cfg->tx_rate;  in be_get_vf_config()2011 			     int min_tx_rate, int max_tx_rate)  in be_set_vf_tx_rate()  argument
 2028 	if (!max_tx_rate)  in be_set_vf_tx_rate()
 2042 	if (max_tx_rate < 100 || max_tx_rate > link_speed) {  in be_set_vf_tx_rate()
 2051 	if (skyhawk_chip(adapter) && (max_tx_rate % percent_rate)) {  in be_set_vf_tx_rate()
 2059 	status = be_cmd_config_qos(adapter, max_tx_rate, link_speed, vf + 1);  in be_set_vf_tx_rate()
 2063 	adapter->vf_cfg[vf].tx_rate = max_tx_rate;  in be_set_vf_tx_rate()
 2068 		max_tx_rate, vf);  in be_set_vf_tx_rate()
 
 |