Home
last modified time | relevance | path

Searched refs:max_tx_rate (Results 1 – 16 of 16) sorted by relevance

/drivers/net/ethernet/qlogic/qlcnic/
Dqlcnic_sriov_pf.c1852 int min_tx_rate, int max_tx_rate) in qlcnic_sriov_set_vf_tx_rate() argument
1874 if (max_tx_rate && in qlcnic_sriov_set_vf_tx_rate()
1875 (max_tx_rate >= 10000 || max_tx_rate < min_tx_rate)) { in qlcnic_sriov_set_vf_tx_rate()
1882 if (!max_tx_rate) in qlcnic_sriov_set_vf_tx_rate()
1883 max_tx_rate = 10000; in qlcnic_sriov_set_vf_tx_rate()
1886 (min_tx_rate > max_tx_rate || min_tx_rate < QLC_VF_MIN_TX_RATE)) { in qlcnic_sriov_set_vf_tx_rate()
1889 QLC_VF_MIN_TX_RATE, max_tx_rate); in qlcnic_sriov_set_vf_tx_rate()
1897 nic_info.max_tx_bw = max_tx_rate / 100; in qlcnic_sriov_set_vf_tx_rate()
1905 vp->max_tx_bw = max_tx_rate / 100; in qlcnic_sriov_set_vf_tx_rate()
1908 max_tx_rate, vp->max_tx_bw, vf); in qlcnic_sriov_set_vf_tx_rate()
[all …]
/drivers/net/wireless/cw1200/
Dscan.c211 scan.max_tx_rate = WSM_TRANSMIT_RATE_6; in cw1200_scan_work()
213 scan.max_tx_rate = WSM_TRANSMIT_RATE_1; in cw1200_scan_work()
404 scan.max_tx_rate = wsm->max_tx_rate; in cw1200_probe_work()
Dwsm.h706 u8 max_tx_rate; member
812 u8 max_tx_rate; member
Dtxrx.c657 wsm->max_tx_rate = t->rate->hw_value; in cw1200_tx_h_rate_policy()
Dwsm.c310 WSM_PUT8(buf, arg->max_tx_rate); in wsm_scan()
/drivers/net/ethernet/intel/ixgbe/
Dixgbe_sriov.c1221 int max_tx_rate) in ixgbe_ndo_set_vf_bw() argument
1243 if (max_tx_rate && ((max_tx_rate <= 10) || (max_tx_rate > link_speed))) in ixgbe_ndo_set_vf_bw()
1248 adapter->vfinfo[vf].tx_rate = max_tx_rate; in ixgbe_ndo_set_vf_bw()
1293 ivi->max_tx_rate = adapter->vfinfo[vf].tx_rate; in ixgbe_ndo_get_vf_config()
Dixgbe_sriov.h48 int max_tx_rate);
/drivers/net/ethernet/intel/i40e/
Di40e_virtchnl_pf.h121 int max_tx_rate);
Di40e_virtchnl_pf.c2199 int max_tx_rate) in i40e_ndo_set_vf_bw() argument
2243 if (max_tx_rate > speed) { in i40e_ndo_set_vf_bw()
2245 max_tx_rate, vf->vf_id); in i40e_ndo_set_vf_bw()
2250 if ((max_tx_rate < 50) && (max_tx_rate > 0)) { in i40e_ndo_set_vf_bw()
2252 max_tx_rate = 50; in i40e_ndo_set_vf_bw()
2257 max_tx_rate / I40E_BW_CREDIT_DIVISOR, in i40e_ndo_set_vf_bw()
2265 vf->tx_rate = max_tx_rate; in i40e_ndo_set_vf_bw()
2307 ivi->max_tx_rate = vf->tx_rate; in i40e_ndo_get_vf_config()
/drivers/video/fbdev/omap/
Dhwa742.c820 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()
/drivers/net/ethernet/emulex/benet/
Dbe_main.c1322 vi->max_tx_rate = vf_cfg->tx_rate; in be_get_vf_config()
1368 int min_tx_rate, int max_tx_rate) in be_set_vf_tx_rate() argument
1385 if (!max_tx_rate) in be_set_vf_tx_rate()
1399 if (max_tx_rate < 100 || max_tx_rate > link_speed) { in be_set_vf_tx_rate()
1408 if (skyhawk_chip(adapter) && (max_tx_rate % percent_rate)) { in be_set_vf_tx_rate()
1416 status = be_cmd_config_qos(adapter, max_tx_rate, link_speed, vf + 1); in be_set_vf_tx_rate()
1420 adapter->vf_cfg[vf].tx_rate = max_tx_rate; in be_set_vf_tx_rate()
1425 max_tx_rate, vf); in be_set_vf_tx_rate()
/drivers/net/ethernet/intel/fm10k/
Dfm10k_iov.c532 ivi->max_tx_rate = vf_info->rate; in fm10k_ndo_get_vf_config()
/drivers/net/ethernet/intel/igb/
Digb_main.c7844 int min_tx_rate, int max_tx_rate) in igb_ndo_set_vf_bw() argument
7859 (max_tx_rate < 0) || in igb_ndo_set_vf_bw()
7860 (max_tx_rate > actual_link_speed)) in igb_ndo_set_vf_bw()
7864 adapter->vf_data[vf].tx_rate = (u16)max_tx_rate; in igb_ndo_set_vf_bw()
7865 igb_set_vf_rate_limit(hw, vf, max_tx_rate, actual_link_speed); in igb_ndo_set_vf_bw()
7905 ivi->max_tx_rate = adapter->vf_data[vf].tx_rate; in igb_ndo_get_vf_config()
/drivers/net/ethernet/sfc/
Dsiena_sriov.c1636 ivi->max_tx_rate = 0; in efx_sriov_get_vf_config()
/drivers/net/ethernet/mellanox/mlx4/
Dcmd.c2549 ivf->max_tx_rate = s_info->tx_rate; in mlx4_get_vf_config()
/drivers/net/ethernet/broadcom/bnx2x/
Dbnx2x_sriov.c2675 ivi->max_tx_rate = 10000; /* always 10G. TBA take from link struct */ in bnx2x_get_vf_config()