Home
last modified time | relevance | path

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

/Linux-v5.10/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-v5.10/net/sched/
Dsch_cake.c221 u64 rate_bps; member
1840 q->rate_bps = (q->avg_peak_bandwidth * 15) >> 4; in cake_enqueue()
2293 u64 rate = q->rate_bps; in cake_config_besteffort()
2312 u64 rate = q->rate_bps; in cake_config_precedence()
2401 u64 rate = q->rate_bps; in cake_config_diffserv8()
2445 u64 rate = q->rate_bps; in cake_config_diffserv4()
2482 u64 rate = q->rate_bps; in cake_config_diffserv3()
2545 } else if (q->rate_bps) { in cake_reconfigure()
2546 u64 t = q->rate_bps * q->interval; in cake_reconfigure()
2589 q->rate_bps = nla_get_u64(tb[TCA_CAKE_BASE_RATE64]); in cake_change()
[all …]