Home
last modified time | relevance | path

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

/openbmc/linux/drivers/net/ethernet/mellanox/mlx5/core/esw/
H A Dqos.c93 u32 fw_max_bw_share = MLX5_CAP_QOS(esw->dev, max_tsar_bw_share); in esw_qos_calculate_min_rate_divider() local
116 return max_t(u32, max_guarantee / fw_max_bw_share, 1); in esw_qos_calculate_min_rate_divider()
138 u32 fw_max_bw_share = MLX5_CAP_QOS(esw->dev, max_tsar_bw_share); in esw_qos_normalize_vports_min_rate() local
148 bw_share = esw_qos_calc_bw_share(evport->qos.min_rate, divider, fw_max_bw_share); in esw_qos_normalize_vports_min_rate()
166 u32 fw_max_bw_share = MLX5_CAP_QOS(esw->dev, max_tsar_bw_share); in esw_qos_normalize_groups_min_rate() local
172 bw_share = esw_qos_calc_bw_share(group->min_rate, divider, fw_max_bw_share); in esw_qos_normalize_groups_min_rate()
198 u32 fw_max_bw_share, previous_min_rate; in esw_qos_set_vport_min_rate() local
203 fw_max_bw_share = MLX5_CAP_QOS(esw->dev, max_tsar_bw_share); in esw_qos_set_vport_min_rate()
205 fw_max_bw_share >= MLX5_MIN_BW_SHARE; in esw_qos_set_vport_min_rate()
252 u32 fw_max_bw_share = MLX5_CAP_QOS(esw->dev, max_tsar_bw_share); in esw_qos_set_group_min_rate() local
[all …]