Home
last modified time | relevance | path

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

/linux/drivers/net/ethernet/mellanox/mlx5/core/esw/
H A Dqos.c96 u32 max_guarantee = 0; in esw_qos_calculate_min_rate_divider() local
103 if (group->min_rate < max_guarantee) in esw_qos_calculate_min_rate_divider()
105 max_guarantee = group->min_rate; in esw_qos_calculate_min_rate_divider()
110 evport->qos.group != group || evport->qos.min_rate < max_guarantee) in esw_qos_calculate_min_rate_divider()
112 max_guarantee = evport->qos.min_rate; in esw_qos_calculate_min_rate_divider()
116 if (max_guarantee) in esw_qos_calculate_min_rate_divider()
117 return max_t(u32, max_guarantee / fw_max_bw_share, 1); in esw_qos_calculate_min_rate_divider()
122 if (!group_level && !max_guarantee && group && group->bw_share) in esw_qos_calculate_min_rate_divider()