Home
last modified time | relevance | path

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

/linux/drivers/net/ethernet/mellanox/mlx5/core/esw/
H A Dqos.c94 u32 fw_max_bw_share = MLX5_CAP_QOS(esw->dev, max_tsar_bw_share); in esw_qos_calculate_min_rate_divider() local
117 return max_t(u32, max_guarantee / fw_max_bw_share, 1); in esw_qos_calculate_min_rate_divider()
139 u32 fw_max_bw_share = MLX5_CAP_QOS(esw->dev, max_tsar_bw_share); in esw_qos_normalize_vports_min_rate() local
149 bw_share = esw_qos_calc_bw_share(evport->qos.min_rate, divider, fw_max_bw_share); in esw_qos_normalize_vports_min_rate()
167 u32 fw_max_bw_share = MLX5_CAP_QOS(esw->dev, max_tsar_bw_share); in esw_qos_normalize_groups_min_rate() local
173 bw_share = esw_qos_calc_bw_share(group->min_rate, divider, fw_max_bw_share); in esw_qos_normalize_groups_min_rate()
199 u32 fw_max_bw_share, previous_min_rate; in esw_qos_set_vport_min_rate() local
204 fw_max_bw_share = MLX5_CAP_QOS(esw->dev, max_tsar_bw_share); in esw_qos_set_vport_min_rate()
206 fw_max_bw_share >= MLX5_MIN_BW_SHARE; in esw_qos_set_vport_min_rate()
253 u32 fw_max_bw_share = MLX5_CAP_QOS(esw->dev, max_tsar_bw_share); in esw_qos_set_group_min_rate() local
[all …]