Home
last modified time | relevance | path

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

/linux-6.1.9/drivers/net/ethernet/mellanox/mlx5/core/esw/
Dqos.c95 u32 max_guarantee = 0; in esw_qos_calculate_min_rate_divider() local
102 if (group->min_rate < max_guarantee) in esw_qos_calculate_min_rate_divider()
104 max_guarantee = group->min_rate; in esw_qos_calculate_min_rate_divider()
109 evport->qos.group != group || evport->qos.min_rate < max_guarantee) in esw_qos_calculate_min_rate_divider()
111 max_guarantee = evport->qos.min_rate; in esw_qos_calculate_min_rate_divider()
115 if (max_guarantee) in esw_qos_calculate_min_rate_divider()
116 return max_t(u32, max_guarantee / fw_max_bw_share, 1); in esw_qos_calculate_min_rate_divider()
121 if (!group_level && !max_guarantee && group && group->bw_share) in esw_qos_calculate_min_rate_divider()