Home
last modified time | relevance | path

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

12

/Linux-v4.19/drivers/net/ethernet/broadcom/bnxt/
Dbnxt_sriov.c160 ivi->min_tx_rate = vf->min_tx_rate; in bnxt_get_vf_config()
247 int bnxt_set_vf_bw(struct net_device *dev, int vf_id, int min_tx_rate, in bnxt_set_vf_bw() argument
268 if (min_tx_rate > pf_link_speed || min_tx_rate > max_tx_rate) { in bnxt_set_vf_bw()
270 min_tx_rate, vf_id); 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()
281 req.min_bw = cpu_to_le32(min_tx_rate); in bnxt_set_vf_bw()
284 vf->min_tx_rate = min_tx_rate; in bnxt_set_vf_bw()
Dbnxt.h842 u32 min_tx_rate; member
/Linux-v4.19/include/linux/
Dif_link.h27 __u32 min_tx_rate; member
Dnetdevice.h1279 int vf, int min_tx_rate,
/Linux-v4.19/drivers/net/ethernet/qlogic/qlcnic/
Dqlcnic_sriov_pf.c1853 int min_tx_rate, int max_tx_rate) in qlcnic_sriov_set_vf_tx_rate() argument
1872 if (!min_tx_rate) in qlcnic_sriov_set_vf_tx_rate()
1873 min_tx_rate = QLC_VF_MIN_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()
1879 min_tx_rate, QLC_VF_MAX_TX_RATE); in qlcnic_sriov_set_vf_tx_rate()
1886 if (min_tx_rate && 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()
1899 nic_info.min_tx_bw = min_tx_rate / 100; in qlcnic_sriov_set_vf_tx_rate()
1910 vp->min_tx_bw = min_tx_rate / 100; in qlcnic_sriov_set_vf_tx_rate()
1913 min_tx_rate, vp->min_tx_bw, vf); in qlcnic_sriov_set_vf_tx_rate()
[all …]
/Linux-v4.19/drivers/net/netdevsim/
Dnetdev.c31 u16 min_tx_rate; member
371 ns->vfconfigs[vf].min_tx_rate = min; in nsim_set_vf_rate()
420 ivi->min_tx_rate = ns->vfconfigs[vf].min_tx_rate; in nsim_get_vf_config()
/Linux-v4.19/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.c1563 int ixgbe_ndo_set_vf_bw(struct net_device *netdev, int vf, int min_tx_rate, in ixgbe_ndo_set_vf_bw() argument
1582 if (min_tx_rate) in ixgbe_ndo_set_vf_bw()
1686 ivi->min_tx_rate = 0; in ixgbe_ndo_get_vf_config()
/Linux-v4.19/drivers/net/ethernet/intel/i40e/
Di40e_virtchnl_pf.h129 int i40e_ndo_set_vf_bw(struct net_device *netdev, int vf_id, int min_tx_rate,
Di40e_virtchnl_pf.c4061 int i40e_ndo_set_vf_bw(struct net_device *netdev, int vf_id, int min_tx_rate, in i40e_ndo_set_vf_bw() argument
4077 if (min_tx_rate) { in i40e_ndo_set_vf_bw()
4079 min_tx_rate, vf_id); in i40e_ndo_set_vf_bw()
4140 ivi->min_tx_rate = 0; in i40e_ndo_get_vf_config()
/Linux-v4.19/include/linux/mlx4/
Dcmd.h314 int mlx4_set_vf_rate(struct mlx4_dev *dev, int port, int vf, int min_tx_rate,
/Linux-v4.19/tools/include/uapi/linux/
Dif_link.h714 __u32 min_tx_rate; /* Min Bandwidth in Mbps */ member
/Linux-v4.19/include/uapi/linux/
Dif_link.h714 __u32 min_tx_rate; /* Min Bandwidth in Mbps */ member
/Linux-v4.19/drivers/net/ethernet/intel/fm10k/
Dfm10k_iov.c638 ivi->min_tx_rate = 0; in fm10k_ndo_get_vf_config()
/Linux-v4.19/drivers/net/ethernet/sfc/
Def10_sriov.c739 ivf->min_tx_rate = 0; in efx_ef10_sriov_get_vf_config()
Dsiena_sriov.c1671 ivi->min_tx_rate = 0; in efx_siena_sriov_get_vf_config()
/Linux-v4.19/drivers/net/ethernet/mellanox/mlx4/
Dcmd.c3085 int mlx4_set_vf_rate(struct mlx4_dev *dev, int port, int vf, int min_tx_rate, in mlx4_set_vf_rate() argument
3097 if (min_tx_rate) { in mlx4_set_vf_rate()
3236 ivf->min_tx_rate = 0; in mlx4_get_vf_config()
Den_netdev.c2569 static int mlx4_en_set_vf_rate(struct net_device *dev, int vf, int min_tx_rate, in mlx4_en_set_vf_rate() argument
2575 return mlx4_set_vf_rate(mdev->dev, en_priv->port, vf, min_tx_rate, in mlx4_en_set_vf_rate()
/Linux-v4.19/net/core/
Drtnetlink.c1244 vf_rate.min_tx_rate = ivi.min_tx_rate; in rtnl_fill_vfinfo()
2187 ivf.min_tx_rate, in do_setvfinfo()
2199 ivt->min_tx_rate, in do_setvfinfo()
/Linux-v4.19/drivers/net/ethernet/qlogic/qede/
Dqede_main.c480 int min_tx_rate, int max_tx_rate) in qede_set_vf_rate() argument
484 return edev->ops->iov->set_rate(edev->cdev, vfidx, min_tx_rate, in qede_set_vf_rate()
/Linux-v4.19/drivers/net/ethernet/chelsio/cxgb4/
Dcxgb4_main.c2713 ivi->min_tx_rate = 0; in cxgb4_mgmt_get_vf_config()
2732 int min_tx_rate, int max_tx_rate) in cxgb4_mgmt_set_vf_rate() argument
2745 if (min_tx_rate) { in cxgb4_mgmt_set_vf_rate()
2748 min_tx_rate, vf); in cxgb4_mgmt_set_vf_rate()
/Linux-v4.19/drivers/net/ethernet/emulex/benet/
Dbe_main.c1913 vi->min_tx_rate = 0; in be_get_vf_config()
2014 int min_tx_rate, int max_tx_rate) in be_set_vf_tx_rate() argument
2028 if (min_tx_rate) in be_set_vf_tx_rate()
/Linux-v4.19/drivers/net/ethernet/mellanox/mlx5/core/
Deswitch.c1901 ivi->min_tx_rate = evport->info.min_rate; in mlx5_eswitch_get_vport_config()
Den_main.c3908 static int mlx5e_set_vf_rate(struct net_device *dev, int vf, int min_tx_rate, in mlx5e_set_vf_rate() argument
3915 max_tx_rate, min_tx_rate); in mlx5e_set_vf_rate()
/Linux-v4.19/drivers/net/ethernet/intel/igb/
Digb_main.c9328 int min_tx_rate, int max_tx_rate) in igb_ndo_set_vf_bw() argument
9337 if (min_tx_rate) in igb_ndo_set_vf_bw()
9406 ivi->min_tx_rate = 0; in igb_ndo_get_vf_config()

12