/kernel/linux/linux-5.10/drivers/net/ethernet/intel/i40e/ |
D | i40e_virtchnl_pf.h | 62 u64 max_tx_rate; /* bandwidth rate allocation for VSIs */ member 129 int max_tx_rate);
|
D | i40e_virtchnl_pf.c | 723 u64 max_tx_rate = 0; in i40e_alloc_vsi_res() local 783 max_tx_rate = vf->tx_rate; in i40e_alloc_vsi_res() 784 } else if (vf->ch[idx].max_tx_rate) { in i40e_alloc_vsi_res() 785 max_tx_rate = vf->ch[idx].max_tx_rate; in i40e_alloc_vsi_res() 788 if (max_tx_rate) { in i40e_alloc_vsi_res() 789 max_tx_rate = div_u64(max_tx_rate, I40E_BW_CREDIT_DIVISOR); in i40e_alloc_vsi_res() 791 max_tx_rate, 0, NULL); in i40e_alloc_vsi_res() 3895 if (tci->list[i].max_tx_rate) { in i40e_vc_add_qch_msg() 3896 if (tci->list[i].max_tx_rate > speed) { in i40e_vc_add_qch_msg() 3899 tci->list[i].max_tx_rate, in i40e_vc_add_qch_msg() [all …]
|
D | i40e_main.c | 5736 static u64 i40e_bw_bytes_to_mbits(struct i40e_vsi *vsi, u64 max_tx_rate) in i40e_bw_bytes_to_mbits() argument 5738 if (max_tx_rate < I40E_BW_MBPS_DIVISOR) { in i40e_bw_bytes_to_mbits() 5741 max_tx_rate = I40E_BW_CREDIT_DIVISOR; in i40e_bw_bytes_to_mbits() 5743 do_div(max_tx_rate, I40E_BW_MBPS_DIVISOR); in i40e_bw_bytes_to_mbits() 5746 return max_tx_rate; in i40e_bw_bytes_to_mbits() 5757 int i40e_set_bw_limit(struct i40e_vsi *vsi, u16 seid, u64 max_tx_rate) in i40e_set_bw_limit() argument 5765 if (max_tx_rate > speed) { in i40e_set_bw_limit() 5768 max_tx_rate, seid); in i40e_set_bw_limit() 5771 if (max_tx_rate && max_tx_rate < I40E_BW_CREDIT_DIVISOR) { in i40e_set_bw_limit() 5774 max_tx_rate = I40E_BW_CREDIT_DIVISOR; in i40e_set_bw_limit() [all …]
|
D | i40e.h | 416 u64 max_tx_rate; member 1178 int i40e_set_bw_limit(struct i40e_vsi *vsi, u16 seid, u64 max_tx_rate);
|
/kernel/linux/linux-5.10/drivers/net/ethernet/broadcom/bnxt/ |
D | bnxt_sriov.c | 188 ivi->max_tx_rate = vf->max_tx_rate; in bnxt_get_vf_config() 275 int max_tx_rate) in bnxt_set_vf_bw() argument 289 if (max_tx_rate > pf_link_speed) { in bnxt_set_vf_bw() 291 max_tx_rate, vf_id); in bnxt_set_vf_bw() 295 if (min_tx_rate > pf_link_speed || min_tx_rate > max_tx_rate) { 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() 305 req.max_bw = cpu_to_le32(max_tx_rate); in bnxt_set_vf_bw() 311 vf->max_tx_rate = max_tx_rate; in bnxt_set_vf_bw() 485 if (vf->max_tx_rate) { in __bnxt_set_vf_params() 487 req.max_bw = cpu_to_le32(vf->max_tx_rate); in __bnxt_set_vf_params()
|
/kernel/linux/linux-5.10/include/linux/ |
D | if_link.h | 28 __u32 max_tx_rate; member
|
/kernel/linux/linux-5.10/net/can/ |
D | af_can.h | 82 unsigned long max_tx_rate; member
|
D | proc.c | 165 if (pkg_stats->max_tx_rate < pkg_stats->current_tx_rate) in can_stat_update() 166 pkg_stats->max_tx_rate = pkg_stats->current_tx_rate; in can_stat_update() 250 pkg_stats->max_tx_rate); in can_stats_proc_show()
|
/kernel/linux/linux-5.10/drivers/net/netdevsim/ |
D | netdev.c | 120 nsim_bus_dev->vfconfigs[vf].max_tx_rate = max; in nsim_set_vf_rate() 173 ivi->max_tx_rate = nsim_bus_dev->vfconfigs[vf].max_tx_rate; in nsim_get_vf_config()
|
D | netdevsim.h | 268 u16 max_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 1872 if (max_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() 1880 if (!max_tx_rate) in qlcnic_sriov_set_vf_tx_rate() 1881 max_tx_rate = 10000; 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() 1887 QLC_VF_MIN_TX_RATE, max_tx_rate); in qlcnic_sriov_set_vf_tx_rate() 1895 nic_info.max_tx_bw = max_tx_rate / 100; in qlcnic_sriov_set_vf_tx_rate() 1903 vp->max_tx_bw = max_tx_rate / 100; in qlcnic_sriov_set_vf_tx_rate() 1906 max_tx_rate, vp->max_tx_bw, vf); in qlcnic_sriov_set_vf_tx_rate() [all …]
|
/kernel/linux/linux-5.10/drivers/net/ethernet/huawei/hinic/ |
D | hinic_sriov.c | 566 ivi->max_tx_rate = vfinfo->max_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() 876 if (max_tx_rate < 0 || max_tx_rate > speeds[port_cap.speed]) { 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()
|
D | hinic_sriov.h | 90 int vf, int min_tx_rate, int max_tx_rate);
|
/kernel/linux/linux-5.10/drivers/net/wireless/st/cw1200/ |
D | scan.c | 210 scan.max_tx_rate = WSM_TRANSMIT_RATE_6; in cw1200_scan_work() 212 scan.max_tx_rate = WSM_TRANSMIT_RATE_1; in cw1200_scan_work() 403 scan.max_tx_rate = wsm->max_tx_rate; in cw1200_probe_work()
|
D | wsm.h | 703 u8 max_tx_rate; member 809 u8 max_tx_rate; member
|
/kernel/linux/linux-5.10/drivers/net/ethernet/intel/ixgbe/ |
D | ixgbe_sriov.h | 27 int max_tx_rate);
|
D | ixgbe_sriov.c | 1647 int max_tx_rate) in ixgbe_ndo_set_vf_bw() argument 1669 if (max_tx_rate && ((max_tx_rate <= 10) || (max_tx_rate > link_speed))) in ixgbe_ndo_set_vf_bw() 1674 adapter->vfinfo[vf].tx_rate = max_tx_rate; in ixgbe_ndo_set_vf_bw() 1846 ivi->max_tx_rate = adapter->vfinfo[vf].tx_rate; in ixgbe_ndo_get_vf_config()
|
/kernel/linux/linux-5.10/drivers/net/ethernet/hisilicon/hns3/hns3pf/ |
D | hclge_tm.h | 171 int hclge_tm_qs_shaper_cfg(struct hclge_vport *vport, int max_tx_rate);
|
D | hclge_tm.c | 514 int hclge_tm_qs_shaper_cfg(struct hclge_vport *vport, int max_tx_rate) in hclge_tm_qs_shaper_cfg() argument 524 if (!max_tx_rate) in hclge_tm_qs_shaper_cfg() 525 max_tx_rate = hdev->ae_dev->dev_specs.max_tm_rate; in hclge_tm_qs_shaper_cfg() 527 ret = hclge_shaper_para_calc(max_tx_rate, HCLGE_SHAPER_LVL_QSET, in hclge_tm_qs_shaper_cfg() 551 max_tx_rate, ret); in hclge_tm_qs_shaper_cfg()
|
/kernel/linux/linux-5.10/include/linux/mlx4/ |
D | cmd.h | 315 int max_tx_rate);
|
/kernel/linux/linux-5.10/drivers/net/ethernet/mellanox/mlx4/ |
D | cmd.c | 2881 int max_tx_rate) in mlx4_set_vport_qos() argument 2905 if (test_bit(i, port_qos->priority_bm) && max_tx_rate) { in mlx4_set_vport_qos() 2906 vpp_qos[i].max_avg_bw = max_tx_rate; in mlx4_set_vport_qos() 3082 int max_tx_rate) in mlx4_set_vf_rate() argument 3105 err = mlx4_set_vport_qos(priv, slave, port, max_tx_rate); in mlx4_set_vf_rate() 3108 max_tx_rate); in mlx4_set_vf_rate() 3112 vf_admin->tx_rate = max_tx_rate; in mlx4_set_vf_rate() 3129 max_tx_rate); in mlx4_set_vf_rate() 3134 vf_admin->qos_vport = max_tx_rate ? slave : MLX4_VPP_DEFAULT_VPORT; in mlx4_set_vf_rate() 3228 ivf->max_tx_rate = s_info->tx_rate; in mlx4_get_vf_config() [all …]
|
/kernel/linux/linux-5.10/drivers/video/fbdev/omap/ |
D | hwa742.c | 807 unsigned long max_tx_rate = hwa742.extif->get_max_tx_rate(); in setup_tearsync() local 810 max_tx_rate); in setup_tearsync() 811 min_tx_time = 1000000000 / (max_tx_rate / 1000); /* ps */ in setup_tearsync()
|
/kernel/linux/linux-5.10/drivers/net/ethernet/intel/iavf/ |
D | iavf_main.c | 2513 u64 max_tx_rate) in iavf_validate_tx_bandwidth() argument 2557 if (max_tx_rate > speed) { in iavf_validate_tx_bandwidth() 2669 u64 max_tx_rate; in __iavf_setup_tc() local 2718 max_tx_rate = mqprio_qopt->max_rate[i]; in __iavf_setup_tc() 2720 max_tx_rate = div_u64(max_tx_rate, in __iavf_setup_tc() 2722 adapter->ch_config.ch_info[i].max_tx_rate = in __iavf_setup_tc() 2723 max_tx_rate; in __iavf_setup_tc()
|
/kernel/linux/linux-5.10/include/linux/avf/ |
D | virtchnl.h | 515 u64 max_tx_rate; member
|
/kernel/linux/linux-5.10/drivers/staging/wfx/ |
D | hif_api_cmd.h | 180 u8 max_tx_rate; member
|