max_tx_rate      2642 drivers/net/ethernet/broadcom/bnx2x/bnx2x_sriov.c 	ivi->max_tx_rate = 10000; /* always 10G. TBA take from link struct */
max_tx_rate      1062 drivers/net/ethernet/broadcom/bnxt/bnxt.h 	u32	max_tx_rate;
max_tx_rate       190 drivers/net/ethernet/broadcom/bnxt/bnxt_sriov.c 	ivi->max_tx_rate = vf->max_tx_rate;
max_tx_rate       277 drivers/net/ethernet/broadcom/bnxt/bnxt_sriov.c 		   int max_tx_rate)
max_tx_rate       291 drivers/net/ethernet/broadcom/bnxt/bnxt_sriov.c 	if (max_tx_rate > pf_link_speed) {
max_tx_rate       293 drivers/net/ethernet/broadcom/bnxt/bnxt_sriov.c 			    max_tx_rate, vf_id);
max_tx_rate       297 drivers/net/ethernet/broadcom/bnxt/bnxt_sriov.c 	if (min_tx_rate > pf_link_speed || min_tx_rate > max_tx_rate) {
max_tx_rate       302 drivers/net/ethernet/broadcom/bnxt/bnxt_sriov.c 	if (min_tx_rate == vf->min_tx_rate && max_tx_rate == vf->max_tx_rate)
max_tx_rate       307 drivers/net/ethernet/broadcom/bnxt/bnxt_sriov.c 	req.max_bw = cpu_to_le32(max_tx_rate);
max_tx_rate       313 drivers/net/ethernet/broadcom/bnxt/bnxt_sriov.c 		vf->max_tx_rate = max_tx_rate;
max_tx_rate       486 drivers/net/ethernet/broadcom/bnxt/bnxt_sriov.c 	if (vf->max_tx_rate) {
max_tx_rate       488 drivers/net/ethernet/broadcom/bnxt/bnxt_sriov.c 		req.max_bw = cpu_to_le32(vf->max_tx_rate);
max_tx_rate      3008 drivers/net/ethernet/cavium/liquidio/lio_main.c 	ivi->max_tx_rate = lio->linfo.link.s.speed;
max_tx_rate      2831 drivers/net/ethernet/chelsio/cxgb4/cxgb4_main.c 	ivi->max_tx_rate = vfinfo->tx_rate;
max_tx_rate      2852 drivers/net/ethernet/chelsio/cxgb4/cxgb4_main.c 				  int min_tx_rate, int max_tx_rate)
max_tx_rate      2872 drivers/net/ethernet/chelsio/cxgb4/cxgb4_main.c 	if (max_tx_rate == 0) {
max_tx_rate      2905 drivers/net/ethernet/chelsio/cxgb4/cxgb4_main.c 	if (max_tx_rate > speed) {
max_tx_rate      2908 drivers/net/ethernet/chelsio/cxgb4/cxgb4_main.c 			max_tx_rate, vf, speed);
max_tx_rate      2924 drivers/net/ethernet/chelsio/cxgb4/cxgb4_main.c 			      max_tx_rate * 1000, 0, pktsize);
max_tx_rate      2932 drivers/net/ethernet/chelsio/cxgb4/cxgb4_main.c 		 class_id, pktsize, max_tx_rate);
max_tx_rate      2948 drivers/net/ethernet/chelsio/cxgb4/cxgb4_main.c 	adap->vfinfo[vf].tx_rate = max_tx_rate;
max_tx_rate      1909 drivers/net/ethernet/emulex/benet/be_main.c 	vi->max_tx_rate = vf_cfg->tx_rate;
max_tx_rate      2011 drivers/net/ethernet/emulex/benet/be_main.c 			     int min_tx_rate, int max_tx_rate)
max_tx_rate      2028 drivers/net/ethernet/emulex/benet/be_main.c 	if (!max_tx_rate)
max_tx_rate      2042 drivers/net/ethernet/emulex/benet/be_main.c 	if (max_tx_rate < 100 || max_tx_rate > link_speed) {
max_tx_rate      2051 drivers/net/ethernet/emulex/benet/be_main.c 	if (skyhawk_chip(adapter) && (max_tx_rate % percent_rate)) {
max_tx_rate      2059 drivers/net/ethernet/emulex/benet/be_main.c 	status = be_cmd_config_qos(adapter, max_tx_rate, link_speed, vf + 1);
max_tx_rate      2063 drivers/net/ethernet/emulex/benet/be_main.c 	adapter->vf_cfg[vf].tx_rate = max_tx_rate;
max_tx_rate      2068 drivers/net/ethernet/emulex/benet/be_main.c 		max_tx_rate, vf);
max_tx_rate       645 drivers/net/ethernet/intel/fm10k/fm10k_iov.c 	ivi->max_tx_rate = vf_info->rate;
max_tx_rate       433 drivers/net/ethernet/intel/i40e/i40e.h 	u64 max_tx_rate;
max_tx_rate      1158 drivers/net/ethernet/intel/i40e/i40e.h int i40e_set_bw_limit(struct i40e_vsi *vsi, u16 seid, u64 max_tx_rate);
max_tx_rate      5515 drivers/net/ethernet/intel/i40e/i40e_main.c int i40e_set_bw_limit(struct i40e_vsi *vsi, u16 seid, u64 max_tx_rate)
max_tx_rate      5523 drivers/net/ethernet/intel/i40e/i40e_main.c 	if (max_tx_rate > speed) {
max_tx_rate      5526 drivers/net/ethernet/intel/i40e/i40e_main.c 			max_tx_rate, seid);
max_tx_rate      5529 drivers/net/ethernet/intel/i40e/i40e_main.c 	if (max_tx_rate && max_tx_rate < 50) {
max_tx_rate      5532 drivers/net/ethernet/intel/i40e/i40e_main.c 		max_tx_rate = 50;
max_tx_rate      5536 drivers/net/ethernet/intel/i40e/i40e_main.c 	credits = max_tx_rate;
max_tx_rate      5543 drivers/net/ethernet/intel/i40e/i40e_main.c 			max_tx_rate, seid, i40e_stat_str(&pf->hw, ret),
max_tx_rate      6218 drivers/net/ethernet/intel/i40e/i40e_main.c 	if (ch->max_tx_rate) {
max_tx_rate      6219 drivers/net/ethernet/intel/i40e/i40e_main.c 		u64 credits = ch->max_tx_rate;
max_tx_rate      6221 drivers/net/ethernet/intel/i40e/i40e_main.c 		if (i40e_set_bw_limit(vsi, ch->seid, ch->max_tx_rate))
max_tx_rate      6227 drivers/net/ethernet/intel/i40e/i40e_main.c 			ch->max_tx_rate,
max_tx_rate      6274 drivers/net/ethernet/intel/i40e/i40e_main.c 			ch->max_tx_rate = max_rate;
max_tx_rate      7478 drivers/net/ethernet/intel/i40e/i40e_main.c 			u64 max_tx_rate = vsi->mqprio_qopt.max_rate[0];
max_tx_rate      7480 drivers/net/ethernet/intel/i40e/i40e_main.c 			do_div(max_tx_rate, I40E_BW_MBPS_DIVISOR);
max_tx_rate      7481 drivers/net/ethernet/intel/i40e/i40e_main.c 			ret = i40e_set_bw_limit(vsi, vsi->seid, max_tx_rate);
max_tx_rate      7483 drivers/net/ethernet/intel/i40e/i40e_main.c 				u64 credits = max_tx_rate;
max_tx_rate      7488 drivers/net/ethernet/intel/i40e/i40e_main.c 					max_tx_rate,
max_tx_rate      9762 drivers/net/ethernet/intel/i40e/i40e_main.c 		if (ch->max_tx_rate) {
max_tx_rate      9763 drivers/net/ethernet/intel/i40e/i40e_main.c 			u64 credits = ch->max_tx_rate;
max_tx_rate      9766 drivers/net/ethernet/intel/i40e/i40e_main.c 					      ch->max_tx_rate))
max_tx_rate      9772 drivers/net/ethernet/intel/i40e/i40e_main.c 				ch->max_tx_rate,
max_tx_rate      10118 drivers/net/ethernet/intel/i40e/i40e_main.c 		u64 max_tx_rate = vsi->mqprio_qopt.max_rate[0];
max_tx_rate      10121 drivers/net/ethernet/intel/i40e/i40e_main.c 		do_div(max_tx_rate, I40E_BW_MBPS_DIVISOR);
max_tx_rate      10122 drivers/net/ethernet/intel/i40e/i40e_main.c 		ret = i40e_set_bw_limit(vsi, vsi->seid, max_tx_rate);
max_tx_rate      10126 drivers/net/ethernet/intel/i40e/i40e_main.c 		credits = max_tx_rate;
max_tx_rate      10130 drivers/net/ethernet/intel/i40e/i40e_main.c 			max_tx_rate,
max_tx_rate       714 drivers/net/ethernet/intel/i40e/i40e_virtchnl_pf.c 	u64 max_tx_rate = 0;
max_tx_rate       774 drivers/net/ethernet/intel/i40e/i40e_virtchnl_pf.c 		max_tx_rate = vf->tx_rate;
max_tx_rate       775 drivers/net/ethernet/intel/i40e/i40e_virtchnl_pf.c 	} else if (vf->ch[idx].max_tx_rate) {
max_tx_rate       776 drivers/net/ethernet/intel/i40e/i40e_virtchnl_pf.c 		max_tx_rate = vf->ch[idx].max_tx_rate;
max_tx_rate       779 drivers/net/ethernet/intel/i40e/i40e_virtchnl_pf.c 	if (max_tx_rate) {
max_tx_rate       780 drivers/net/ethernet/intel/i40e/i40e_virtchnl_pf.c 		max_tx_rate = div_u64(max_tx_rate, I40E_BW_CREDIT_DIVISOR);
max_tx_rate       782 drivers/net/ethernet/intel/i40e/i40e_virtchnl_pf.c 						  max_tx_rate, 0, NULL);
max_tx_rate      3660 drivers/net/ethernet/intel/i40e/i40e_virtchnl_pf.c 		if (tci->list[i].max_tx_rate) {
max_tx_rate      3661 drivers/net/ethernet/intel/i40e/i40e_virtchnl_pf.c 			if (tci->list[i].max_tx_rate > speed) {
max_tx_rate      3664 drivers/net/ethernet/intel/i40e/i40e_virtchnl_pf.c 					tci->list[i].max_tx_rate,
max_tx_rate      3669 drivers/net/ethernet/intel/i40e/i40e_virtchnl_pf.c 				vf->ch[i].max_tx_rate =
max_tx_rate      3670 drivers/net/ethernet/intel/i40e/i40e_virtchnl_pf.c 					tci->list[i].max_tx_rate;
max_tx_rate      4259 drivers/net/ethernet/intel/i40e/i40e_virtchnl_pf.c 		       int max_tx_rate)
max_tx_rate      4293 drivers/net/ethernet/intel/i40e/i40e_virtchnl_pf.c 	ret = i40e_set_bw_limit(vsi, vsi->seid, max_tx_rate);
max_tx_rate      4297 drivers/net/ethernet/intel/i40e/i40e_virtchnl_pf.c 	vf->tx_rate = max_tx_rate;
max_tx_rate      4342 drivers/net/ethernet/intel/i40e/i40e_virtchnl_pf.c 	ivi->max_tx_rate = vf->tx_rate;
max_tx_rate        61 drivers/net/ethernet/intel/i40e/i40e_virtchnl_pf.h 	u64 max_tx_rate; /* bandwidth rate allocation for VSIs */
max_tx_rate       133 drivers/net/ethernet/intel/i40e/i40e_virtchnl_pf.h 		       int max_tx_rate);
max_tx_rate      2486 drivers/net/ethernet/intel/iavf/iavf_main.c 				      u64 max_tx_rate)
max_tx_rate      2513 drivers/net/ethernet/intel/iavf/iavf_main.c 	if (max_tx_rate > speed) {
max_tx_rate      2601 drivers/net/ethernet/intel/iavf/iavf_main.c 	u64 max_tx_rate;
max_tx_rate      2650 drivers/net/ethernet/intel/iavf/iavf_main.c 				max_tx_rate = mqprio_qopt->max_rate[i];
max_tx_rate      2652 drivers/net/ethernet/intel/iavf/iavf_main.c 				max_tx_rate = div_u64(max_tx_rate,
max_tx_rate      2654 drivers/net/ethernet/intel/iavf/iavf_main.c 				adapter->ch_config.ch_info[i].max_tx_rate =
max_tx_rate      2655 drivers/net/ethernet/intel/iavf/iavf_main.c 					max_tx_rate;
max_tx_rate       992 drivers/net/ethernet/intel/iavf/iavf_virtchnl.c 		vti->list[i].max_tx_rate =
max_tx_rate       993 drivers/net/ethernet/intel/iavf/iavf_virtchnl.c 				adapter->ch_config.ch_info[i].max_tx_rate;
max_tx_rate      3061 drivers/net/ethernet/intel/ice/ice_virtchnl_pf.c 	ivi->max_tx_rate = vf->tx_rate;
max_tx_rate      9254 drivers/net/ethernet/intel/igb/igb_main.c 			     int min_tx_rate, int max_tx_rate)
max_tx_rate      9269 drivers/net/ethernet/intel/igb/igb_main.c 	    (max_tx_rate < 0) ||
max_tx_rate      9270 drivers/net/ethernet/intel/igb/igb_main.c 	    (max_tx_rate > actual_link_speed))
max_tx_rate      9274 drivers/net/ethernet/intel/igb/igb_main.c 	adapter->vf_data[vf].tx_rate = (u16)max_tx_rate;
max_tx_rate      9275 drivers/net/ethernet/intel/igb/igb_main.c 	igb_set_vf_rate_limit(hw, vf, max_tx_rate, actual_link_speed);
max_tx_rate      9331 drivers/net/ethernet/intel/igb/igb_main.c 	ivi->max_tx_rate = adapter->vf_data[vf].tx_rate;
max_tx_rate      1590 drivers/net/ethernet/intel/ixgbe/ixgbe_sriov.c 			int max_tx_rate)
max_tx_rate      1612 drivers/net/ethernet/intel/ixgbe/ixgbe_sriov.c 	if (max_tx_rate && ((max_tx_rate <= 10) || (max_tx_rate > link_speed)))
max_tx_rate      1617 drivers/net/ethernet/intel/ixgbe/ixgbe_sriov.c 	adapter->vfinfo[vf].tx_rate = max_tx_rate;
max_tx_rate      1711 drivers/net/ethernet/intel/ixgbe/ixgbe_sriov.c 	ivi->max_tx_rate = adapter->vfinfo[vf].tx_rate;
max_tx_rate        27 drivers/net/ethernet/intel/ixgbe/ixgbe_sriov.h 			int max_tx_rate);
max_tx_rate      2881 drivers/net/ethernet/mellanox/mlx4/cmd.c 			      int max_tx_rate)
max_tx_rate      2905 drivers/net/ethernet/mellanox/mlx4/cmd.c 		if (test_bit(i, port_qos->priority_bm) && max_tx_rate) {
max_tx_rate      2906 drivers/net/ethernet/mellanox/mlx4/cmd.c 			vpp_qos[i].max_avg_bw = max_tx_rate;
max_tx_rate      3082 drivers/net/ethernet/mellanox/mlx4/cmd.c 		     int max_tx_rate)
max_tx_rate      3105 drivers/net/ethernet/mellanox/mlx4/cmd.c 	err = mlx4_set_vport_qos(priv, slave, port, max_tx_rate);
max_tx_rate      3108 drivers/net/ethernet/mellanox/mlx4/cmd.c 			  max_tx_rate);
max_tx_rate      3112 drivers/net/ethernet/mellanox/mlx4/cmd.c 	vf_admin->tx_rate = max_tx_rate;
max_tx_rate      3129 drivers/net/ethernet/mellanox/mlx4/cmd.c 			  max_tx_rate);
max_tx_rate      3134 drivers/net/ethernet/mellanox/mlx4/cmd.c 	vf_admin->qos_vport = max_tx_rate ? slave : MLX4_VPP_DEFAULT_VPORT;
max_tx_rate      3228 drivers/net/ethernet/mellanox/mlx4/cmd.c 		ivf->max_tx_rate = s_info->tx_rate;
max_tx_rate      3230 drivers/net/ethernet/mellanox/mlx4/cmd.c 		ivf->max_tx_rate = 0;
max_tx_rate      2578 drivers/net/ethernet/mellanox/mlx4/en_netdev.c 			       int max_tx_rate)
max_tx_rate      2584 drivers/net/ethernet/mellanox/mlx4/en_netdev.c 				max_tx_rate);
max_tx_rate      1202 drivers/net/ethernet/mellanox/mlx5/core/en.h int mlx5e_set_vf_rate(struct net_device *dev, int vf, int min_tx_rate, int max_tx_rate);
max_tx_rate      4122 drivers/net/ethernet/mellanox/mlx5/core/en_main.c 		      int max_tx_rate)
max_tx_rate      4128 drivers/net/ethernet/mellanox/mlx5/core/en_main.c 					   max_tx_rate, min_tx_rate);
max_tx_rate      2142 drivers/net/ethernet/mellanox/mlx5/core/eswitch.c 	ivi->max_tx_rate = evport->info.max_rate;
max_tx_rate      4713 drivers/net/ethernet/qlogic/qed/qed_sriov.c 	ivi->max_tx_rate = tx_rate ? tx_rate : link.speed;
max_tx_rate       471 drivers/net/ethernet/qlogic/qede/qede_main.c 			    int min_tx_rate, int max_tx_rate)
max_tx_rate       476 drivers/net/ethernet/qlogic/qede/qede_main.c 					max_tx_rate);
max_tx_rate      1849 drivers/net/ethernet/qlogic/qlcnic/qlcnic_sriov_pf.c 				int min_tx_rate, int max_tx_rate)
max_tx_rate      1871 drivers/net/ethernet/qlogic/qlcnic/qlcnic_sriov_pf.c 	if (max_tx_rate &&
max_tx_rate      1872 drivers/net/ethernet/qlogic/qlcnic/qlcnic_sriov_pf.c 	    (max_tx_rate >= 10000 || max_tx_rate < min_tx_rate)) {
max_tx_rate      1879 drivers/net/ethernet/qlogic/qlcnic/qlcnic_sriov_pf.c 	if (!max_tx_rate)
max_tx_rate      1880 drivers/net/ethernet/qlogic/qlcnic/qlcnic_sriov_pf.c 		max_tx_rate = 10000;
max_tx_rate      1883 drivers/net/ethernet/qlogic/qlcnic/qlcnic_sriov_pf.c 	    (min_tx_rate > max_tx_rate || min_tx_rate < QLC_VF_MIN_TX_RATE)) {
max_tx_rate      1886 drivers/net/ethernet/qlogic/qlcnic/qlcnic_sriov_pf.c 			   QLC_VF_MIN_TX_RATE, max_tx_rate);
max_tx_rate      1894 drivers/net/ethernet/qlogic/qlcnic/qlcnic_sriov_pf.c 		nic_info.max_tx_bw = max_tx_rate / 100;
max_tx_rate      1902 drivers/net/ethernet/qlogic/qlcnic/qlcnic_sriov_pf.c 	vp->max_tx_bw = max_tx_rate / 100;
max_tx_rate      1905 drivers/net/ethernet/qlogic/qlcnic/qlcnic_sriov_pf.c 		    max_tx_rate, vp->max_tx_bw, vf);
max_tx_rate      2011 drivers/net/ethernet/qlogic/qlcnic/qlcnic_sriov_pf.c 		ivi->max_tx_rate = 0;
max_tx_rate      2013 drivers/net/ethernet/qlogic/qlcnic/qlcnic_sriov_pf.c 		ivi->max_tx_rate = vp->max_tx_bw * 100;
max_tx_rate       737 drivers/net/ethernet/sfc/ef10_sriov.c 	ivf->max_tx_rate = 0;
max_tx_rate      1667 drivers/net/ethernet/sfc/siena_sriov.c 	ivi->max_tx_rate = 0;
max_tx_rate       119 drivers/net/netdevsim/netdev.c 	nsim_bus_dev->vfconfigs[vf].max_tx_rate = max;
max_tx_rate       172 drivers/net/netdevsim/netdev.c 	ivi->max_tx_rate = nsim_bus_dev->vfconfigs[vf].max_tx_rate;
max_tx_rate       204 drivers/net/netdevsim/netdevsim.h 	u16 max_tx_rate;
max_tx_rate       214 drivers/net/wireless/st/cw1200/scan.c 			scan.max_tx_rate = WSM_TRANSMIT_RATE_6;
max_tx_rate       216 drivers/net/wireless/st/cw1200/scan.c 			scan.max_tx_rate = WSM_TRANSMIT_RATE_1;
max_tx_rate       407 drivers/net/wireless/st/cw1200/scan.c 	scan.max_tx_rate = wsm->max_tx_rate;
max_tx_rate       654 drivers/net/wireless/st/cw1200/txrx.c 	wsm->max_tx_rate = t->rate->hw_value;
max_tx_rate       307 drivers/net/wireless/st/cw1200/wsm.c 	WSM_PUT8(buf, arg->max_tx_rate);
max_tx_rate       703 drivers/net/wireless/st/cw1200/wsm.h 	u8 max_tx_rate;
max_tx_rate       809 drivers/net/wireless/st/cw1200/wsm.h 	u8 max_tx_rate;
max_tx_rate       807 drivers/video/fbdev/omap/hwa742.c 		unsigned long max_tx_rate = hwa742.extif->get_max_tx_rate();
max_tx_rate       810 drivers/video/fbdev/omap/hwa742.c 			max_tx_rate);
max_tx_rate       811 drivers/video/fbdev/omap/hwa742.c 		min_tx_time = 1000000000 / (max_tx_rate / 1000);  /* ps */
max_tx_rate       515 include/linux/avf/virtchnl.h 	u64 max_tx_rate;
max_tx_rate        28 include/linux/if_link.h 	__u32 max_tx_rate;
max_tx_rate       315 include/linux/mlx4/cmd.h 		     int max_tx_rate);
max_tx_rate      1303 include/linux/netdevice.h 						   int max_tx_rate);
max_tx_rate       743 include/uapi/linux/if_link.h 	__u32 max_tx_rate; /* Max Bandwidth in Mbps */
max_tx_rate        82 net/can/af_can.h 	unsigned long max_tx_rate;
max_tx_rate       166 net/can/proc.c 	if (pkg_stats->max_tx_rate < pkg_stats->current_tx_rate)
max_tx_rate       167 net/can/proc.c 		pkg_stats->max_tx_rate = pkg_stats->current_tx_rate;
max_tx_rate       251 net/can/proc.c 				pkg_stats->max_tx_rate);
max_tx_rate      1246 net/core/rtnetlink.c 	vf_tx_rate.rate = ivi.max_tx_rate;
max_tx_rate      1248 net/core/rtnetlink.c 	vf_rate.max_tx_rate = ivi.max_tx_rate;
max_tx_rate      2283 net/core/rtnetlink.c 						   ivt->max_tx_rate);
max_tx_rate       743 tools/include/uapi/linux/if_link.h 	__u32 max_tx_rate; /* Max Bandwidth in Mbps */