Home
last modified time | relevance | path

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

/linux-6.1.9/drivers/net/ethernet/mellanox/mlxsw/
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-6.1.9/net/sched/
Dsch_cake.c221 u64 rate_bps; member
1844 q->rate_bps = (q->avg_peak_bandwidth * 15) >> 4; in cake_enqueue()
2301 u64 rate = q->rate_bps; in cake_config_besteffort()
2320 u64 rate = q->rate_bps; in cake_config_precedence()
2409 u64 rate = q->rate_bps; in cake_config_diffserv8()
2453 u64 rate = q->rate_bps; in cake_config_diffserv4()
2490 u64 rate = q->rate_bps; in cake_config_diffserv3()
2553 } else if (q->rate_bps) { in cake_reconfigure()
2554 u64 t = q->rate_bps * q->interval; in cake_reconfigure()
2594 q->rate_bps = nla_get_u64(tb[TCA_CAKE_BASE_RATE64]); in cake_change()
[all …]