/kernel/linux/linux-5.10/drivers/net/ethernet/broadcom/bnxt/ |
D | bnxt_sriov.c | 189 ivi->min_tx_rate = vf->min_tx_rate; in bnxt_get_vf_config() 274 int bnxt_set_vf_bw(struct net_device *dev, int vf_id, int min_tx_rate, in bnxt_set_vf_bw() argument 295 if (min_tx_rate > pf_link_speed || min_tx_rate > max_tx_rate) { in bnxt_set_vf_bw() 297 min_tx_rate, vf_id); in bnxt_set_vf_bw() 300 if (min_tx_rate == vf->min_tx_rate && max_tx_rate == vf->max_tx_rate) in bnxt_set_vf_bw() 307 req.min_bw = cpu_to_le32(min_tx_rate); in bnxt_set_vf_bw() 310 vf->min_tx_rate = min_tx_rate; in bnxt_set_vf_bw() 490 req.min_bw = cpu_to_le32(vf->min_tx_rate); in __bnxt_set_vf_params()
|
D | bnxt.h | 1104 u32 min_tx_rate; member
|
/kernel/linux/linux-5.10/include/linux/ |
D | if_link.h | 27 __u32 min_tx_rate; member
|
/kernel/linux/linux-5.10/drivers/net/netdevsim/ |
D | netdev.c | 119 nsim_bus_dev->vfconfigs[vf].min_tx_rate = min; in nsim_set_vf_rate() 172 ivi->min_tx_rate = nsim_bus_dev->vfconfigs[vf].min_tx_rate; in nsim_get_vf_config()
|
D | netdevsim.h | 267 u16 min_tx_rate; member
|
/kernel/linux/linux-5.10/drivers/net/ethernet/qlogic/qlcnic/ |
D | qlcnic_sriov_pf.c | 1850 int min_tx_rate, int max_tx_rate) in qlcnic_sriov_set_vf_tx_rate() argument 1869 if (!min_tx_rate) in qlcnic_sriov_set_vf_tx_rate() 1870 min_tx_rate = QLC_VF_MIN_TX_RATE; in qlcnic_sriov_set_vf_tx_rate() 1873 (max_tx_rate >= 10000 || max_tx_rate < min_tx_rate)) { in qlcnic_sriov_set_vf_tx_rate() 1876 min_tx_rate, QLC_VF_MAX_TX_RATE); in qlcnic_sriov_set_vf_tx_rate() 1883 if (min_tx_rate && in qlcnic_sriov_set_vf_tx_rate() 1884 (min_tx_rate > max_tx_rate || min_tx_rate < QLC_VF_MIN_TX_RATE)) { in qlcnic_sriov_set_vf_tx_rate() 1896 nic_info.min_tx_bw = min_tx_rate / 100; in qlcnic_sriov_set_vf_tx_rate() 1907 vp->min_tx_bw = min_tx_rate / 100; in qlcnic_sriov_set_vf_tx_rate() 1910 min_tx_rate, vp->min_tx_bw, vf); in qlcnic_sriov_set_vf_tx_rate() [all …]
|
/kernel/linux/linux-5.10/drivers/net/ethernet/intel/ixgbe/ |
D | ixgbe_sriov.h | 26 int ixgbe_ndo_set_vf_bw(struct net_device *netdev, int vf, int min_tx_rate,
|
D | ixgbe_sriov.c | 1646 int ixgbe_ndo_set_vf_bw(struct net_device *netdev, int vf, int min_tx_rate, in ixgbe_ndo_set_vf_bw() argument 1665 if (min_tx_rate) in ixgbe_ndo_set_vf_bw() 1847 ivi->min_tx_rate = 0; in ixgbe_ndo_get_vf_config()
|
/kernel/linux/linux-5.10/drivers/net/ethernet/huawei/hinic/ |
D | hinic_sriov.h | 90 int vf, int min_tx_rate, int max_tx_rate);
|
D | hinic_sriov.c | 567 ivi->min_tx_rate = vfinfo->min_rate; in hinic_get_vf_config() 837 int vf, int min_tx_rate, int max_tx_rate) in hinic_ndo_set_vf_bw() argument 852 if (max_tx_rate < min_tx_rate) { in hinic_ndo_set_vf_bw() 854 max_tx_rate, min_tx_rate); in hinic_ndo_set_vf_bw() 883 max_tx_rate, min_tx_rate); in hinic_ndo_set_vf_bw() 887 vf, max_tx_rate, min_tx_rate, in hinic_ndo_set_vf_bw() 895 vf, max_tx_rate, min_tx_rate); in hinic_ndo_set_vf_bw()
|
/kernel/linux/linux-5.10/drivers/net/ethernet/intel/i40e/ |
D | i40e_virtchnl_pf.h | 128 int i40e_ndo_set_vf_bw(struct net_device *netdev, int vf_id, int min_tx_rate,
|
D | i40e_virtchnl_pf.c | 4445 int i40e_ndo_set_vf_bw(struct net_device *netdev, int vf_id, int min_tx_rate, in i40e_ndo_set_vf_bw() argument 4464 if (min_tx_rate) { in i40e_ndo_set_vf_bw() 4466 min_tx_rate, vf_id); in i40e_ndo_set_vf_bw() 4530 ivi->min_tx_rate = 0; in i40e_ndo_get_vf_config()
|
/kernel/linux/linux-5.10/include/linux/mlx4/ |
D | cmd.h | 314 int mlx4_set_vf_rate(struct mlx4_dev *dev, int port, int vf, int min_tx_rate,
|
/kernel/linux/patches/linux-4.19/prebuilts/usr/include/linux/ |
D | if_link.h | 570 __u32 min_tx_rate; member
|
/kernel/linux/linux-5.10/tools/include/uapi/linux/ |
D | if_link.h | 756 __u32 min_tx_rate; /* Min Bandwidth in Mbps */ member
|
/kernel/linux/patches/linux-5.10/prebuilts/usr/include/linux/ |
D | if_link.h | 630 __u32 min_tx_rate; member
|
/kernel/linux/linux-5.10/include/uapi/linux/ |
D | if_link.h | 947 __u32 min_tx_rate; /* Min Bandwidth in Mbps */ member
|
/kernel/linux/linux-5.10/drivers/net/ethernet/intel/fm10k/ |
D | fm10k_iov.c | 667 ivi->min_tx_rate = 0; in fm10k_ndo_get_vf_config()
|
/kernel/linux/linux-5.10/drivers/net/ethernet/hisilicon/hns3/ |
D | hnae3.h | 629 int min_tx_rate, int max_tx_rate, bool force);
|
/kernel/linux/linux-5.10/drivers/net/ethernet/sfc/ |
D | ef10_sriov.c | 797 ivf->min_tx_rate = 0; in efx_ef10_sriov_get_vf_config()
|
/kernel/linux/linux-5.10/drivers/net/ethernet/mellanox/mlx5/core/ |
D | en.h | 1105 int mlx5e_set_vf_rate(struct net_device *dev, int vf, int min_tx_rate, int max_tx_rate);
|
/kernel/linux/linux-5.10/drivers/net/ethernet/mellanox/mlx4/ |
D | cmd.c | 3081 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()
|
/kernel/linux/linux-5.10/net/core/ |
D | rtnetlink.c | 1285 vf_rate.min_tx_rate = ivi.min_tx_rate; in rtnl_fill_vfinfo() 2397 ivf.min_tx_rate, in do_setvfinfo() 2411 ivt->min_tx_rate, in do_setvfinfo()
|
/kernel/linux/linux-5.10/drivers/net/ethernet/qlogic/qede/ |
D | qede_main.c | 458 int min_tx_rate, int max_tx_rate) in qede_set_vf_rate() argument 462 return edev->ops->iov->set_rate(edev->cdev, vfidx, min_tx_rate, in qede_set_vf_rate()
|
/kernel/linux/linux-5.10/drivers/net/ethernet/chelsio/cxgb4/ |
D | cxgb4_main.c | 3271 ivi->min_tx_rate = 0; in cxgb4_mgmt_get_vf_config() 3291 int min_tx_rate, int max_tx_rate) in cxgb4_mgmt_set_vf_rate() argument 3304 if (min_tx_rate) { in cxgb4_mgmt_set_vf_rate() 3307 min_tx_rate, vf); in cxgb4_mgmt_set_vf_rate()
|