Home
last modified time | relevance | path

Searched refs:min_tx_rate (Results 1 – 25 of 25) sorted by relevance

/drivers/net/ethernet/broadcom/bnxt/
Dbnxt_sriov.c193 ivi->min_tx_rate = vf->min_tx_rate; in bnxt_get_vf_config()
280 int bnxt_set_vf_bw(struct net_device *dev, int vf_id, int min_tx_rate, in bnxt_set_vf_bw() argument
301 if (min_tx_rate > pf_link_speed || min_tx_rate > max_tx_rate) { in bnxt_set_vf_bw()
303 min_tx_rate, vf_id); 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()
314 req.min_bw = cpu_to_le32(min_tx_rate); in bnxt_set_vf_bw()
317 vf->min_tx_rate = min_tx_rate; in bnxt_set_vf_bw()
497 req.min_bw = cpu_to_le32(vf->min_tx_rate); in __bnxt_set_vf_params()
Dbnxt.h1062 u32 min_tx_rate; member
/drivers/net/ethernet/qlogic/qlcnic/
Dqlcnic_sriov_pf.c1849 int min_tx_rate, int max_tx_rate) in qlcnic_sriov_set_vf_tx_rate() argument
1868 if (!min_tx_rate) in qlcnic_sriov_set_vf_tx_rate()
1869 min_tx_rate = QLC_VF_MIN_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()
1875 min_tx_rate, QLC_VF_MAX_TX_RATE); in qlcnic_sriov_set_vf_tx_rate()
1882 if (min_tx_rate && 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()
1895 nic_info.min_tx_bw = min_tx_rate / 100; in qlcnic_sriov_set_vf_tx_rate()
1906 vp->min_tx_bw = min_tx_rate / 100; in qlcnic_sriov_set_vf_tx_rate()
1909 min_tx_rate, vp->min_tx_bw, vf); in qlcnic_sriov_set_vf_tx_rate()
[all …]
/drivers/net/netdevsim/
Dnetdev.c118 nsim_bus_dev->vfconfigs[vf].min_tx_rate = min; in nsim_set_vf_rate()
171 ivi->min_tx_rate = nsim_bus_dev->vfconfigs[vf].min_tx_rate; in nsim_get_vf_config()
Dnetdevsim.h203 u16 min_tx_rate; member
/drivers/net/ethernet/intel/ixgbe/
Dixgbe_sriov.h26 int ixgbe_ndo_set_vf_bw(struct net_device *netdev, int vf, int min_tx_rate,
Dixgbe_sriov.c1589 int ixgbe_ndo_set_vf_bw(struct net_device *netdev, int vf, int min_tx_rate, in ixgbe_ndo_set_vf_bw() argument
1608 if (min_tx_rate) in ixgbe_ndo_set_vf_bw()
1712 ivi->min_tx_rate = 0; in ixgbe_ndo_get_vf_config()
/drivers/net/ethernet/intel/i40e/
Di40e_virtchnl_pf.h132 int i40e_ndo_set_vf_bw(struct net_device *netdev, int vf_id, int min_tx_rate,
Di40e_virtchnl_pf.c4244 int i40e_ndo_set_vf_bw(struct net_device *netdev, int vf_id, int min_tx_rate, in i40e_ndo_set_vf_bw() argument
4263 if (min_tx_rate) { in i40e_ndo_set_vf_bw()
4265 min_tx_rate, vf_id); in i40e_ndo_set_vf_bw()
4329 ivi->min_tx_rate = 0; in i40e_ndo_get_vf_config()
/drivers/net/ethernet/intel/fm10k/
Dfm10k_iov.c646 ivi->min_tx_rate = 0; in fm10k_ndo_get_vf_config()
/drivers/net/ethernet/sfc/
Def10_sriov.c736 ivf->min_tx_rate = 0; in efx_ef10_sriov_get_vf_config()
Dsiena_sriov.c1668 ivi->min_tx_rate = 0; in efx_siena_sriov_get_vf_config()
/drivers/net/ethernet/mellanox/mlx4/
Dcmd.c3081 int mlx4_set_vf_rate(struct mlx4_dev *dev, int port, int vf, int min_tx_rate, in mlx4_set_vf_rate() argument
3093 if (min_tx_rate) { in mlx4_set_vf_rate()
3232 ivf->min_tx_rate = 0; in mlx4_get_vf_config()
Den_netdev.c2577 static int mlx4_en_set_vf_rate(struct net_device *dev, int vf, int min_tx_rate, in mlx4_en_set_vf_rate() argument
2583 return mlx4_set_vf_rate(mdev->dev, en_priv->port, vf, min_tx_rate, in mlx4_en_set_vf_rate()
/drivers/net/ethernet/mellanox/mlx5/core/
Den.h1198 int mlx5e_set_vf_rate(struct net_device *dev, int vf, int min_tx_rate, int max_tx_rate);
Den_main.c4076 int mlx5e_set_vf_rate(struct net_device *dev, int vf, int min_tx_rate, in mlx5e_set_vf_rate() argument
4083 max_tx_rate, min_tx_rate); in mlx5e_set_vf_rate()
Deswitch.c2141 ivi->min_tx_rate = evport->info.min_rate; in mlx5_eswitch_get_vport_config()
/drivers/net/ethernet/qlogic/qede/
Dqede_main.c471 int min_tx_rate, int max_tx_rate) in qede_set_vf_rate() argument
475 return edev->ops->iov->set_rate(edev->cdev, vfidx, min_tx_rate, in qede_set_vf_rate()
/drivers/net/ethernet/chelsio/cxgb4/
Dcxgb4_main.c2832 ivi->min_tx_rate = 0; in cxgb4_mgmt_get_vf_config()
2852 int min_tx_rate, int max_tx_rate) in cxgb4_mgmt_set_vf_rate() argument
2865 if (min_tx_rate) { in cxgb4_mgmt_set_vf_rate()
2868 min_tx_rate, vf); in cxgb4_mgmt_set_vf_rate()
/drivers/net/ethernet/emulex/benet/
Dbe_main.c1910 vi->min_tx_rate = 0; in be_get_vf_config()
2011 int min_tx_rate, int max_tx_rate) in be_set_vf_tx_rate() argument
2025 if (min_tx_rate) in be_set_vf_tx_rate()
/drivers/net/ethernet/intel/ice/
Dice_virtchnl_pf.c3062 ivi->min_tx_rate = 0; in ice_get_vf_cfg()
/drivers/net/ethernet/intel/igb/
Digb_main.c9254 int min_tx_rate, int max_tx_rate) in igb_ndo_set_vf_bw() argument
9263 if (min_tx_rate) in igb_ndo_set_vf_bw()
9332 ivi->min_tx_rate = 0; in igb_ndo_get_vf_config()
/drivers/net/ethernet/broadcom/bnx2x/
Dbnx2x_sriov.c2643 ivi->min_tx_rate = 0; in bnx2x_get_vf_config()
/drivers/net/ethernet/cavium/liquidio/
Dlio_main.c3009 ivi->min_tx_rate = 0; in liquidio_get_vf_config()
/drivers/net/ethernet/qlogic/qed/
Dqed_sriov.c4714 ivi->min_tx_rate = qed_iov_get_vf_min_rate(hwfn, vf_id); in qed_get_vf_config()