Home
last modified time | relevance | path

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

/linux/drivers/net/ethernet/mellanox/mlxsw/
H A Dspectrum_policer.c174 u64 rate_bps = params->rate * BITS_PER_BYTE; in mlxsw_sp_policer_single_rate_params_check() local
199 if (rate_bps < MLXSW_REG_QPCR_LOWEST_CIR_BITS) { in mlxsw_sp_policer_single_rate_params_check()
204 if (rate_bps > MLXSW_REG_QPCR_HIGHEST_CIR_BITS) { in mlxsw_sp_policer_single_rate_params_check()
/linux/net/sched/
H A Dsch_cake.c202 u64 rate_bps; member
1906 q->config->rate_bps = (q->avg_peak_bandwidth * 15) >> 4; in cake_enqueue()
2019 u64 new_rate = q->config->rate_bps; in cake_dequeue()
2040 new_rate = div64_u64(q->config->rate_bps, num_active_qs); in cake_dequeue()
2369 u64 rate = q->config->rate_bps; in cake_config_besteffort()
2388 u64 rate = q->config->rate_bps; in cake_config_precedence()
2477 u64 rate = q->config->rate_bps; in cake_config_diffserv8()
2521 u64 rate = q->config->rate_bps; in cake_config_diffserv4()
2558 u64 rate = q->config->rate_bps; in cake_config_diffserv3()
2622 } else if (q->rate_bps) { in cake_reconfigure()
[all …]