Home
last modified time | relevance | path

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

/Linux-v5.4/net/sched/
Dsch_tbf.c123 u64 len = time_in_ns * r->rate_bytes_ps; in psched_ns_t2l()
206 return q->peak.rate_bytes_ps; in tbf_peak_present()
344 if (peak.rate_bytes_ps <= rate.rate_bytes_ps) { in tbf_change()
346 peak.rate_bytes_ps, rate.rate_bytes_ps); in tbf_change()
461 if (q->rate.rate_bytes_ps >= (1ULL << 32) && in tbf_dump()
462 nla_put_u64_64bit(skb, TCA_TBF_RATE64, q->rate.rate_bytes_ps, in tbf_dump()
466 q->peak.rate_bytes_ps >= (1ULL << 32) && in tbf_dump()
467 nla_put_u64_64bit(skb, TCA_TBF_PRATE64, q->peak.rate_bytes_ps, in tbf_dump()
Dact_police.c325 if ((police->params->rate.rate_bytes_ps >= (1ULL << 32)) && in tcf_police_dump()
327 police->params->rate.rate_bytes_ps, in tcf_police_dump()
333 if ((police->params->peak.rate_bytes_ps >= (1ULL << 32)) && in tcf_police_dump()
335 police->params->peak.rate_bytes_ps, in tcf_police_dump()
Dsch_htb.c1104 if ((cl->rate.rate_bytes_ps >= (1ULL << 32)) && in htb_dump_class()
1105 nla_put_u64_64bit(skb, TCA_HTB_RATE64, cl->rate.rate_bytes_ps, in htb_dump_class()
1108 if ((cl->ceil.rate_bytes_ps >= (1ULL << 32)) && in htb_dump_class()
1109 nla_put_u64_64bit(skb, TCA_HTB_CEIL64, cl->ceil.rate_bytes_ps, in htb_dump_class()
1461 u64 quantum = cl->rate.rate_bytes_ps; in htb_change_class()
Dsch_generic.c1323 r->rate_bytes_ps = max_t(u64, conf->rate, rate64); in psched_ratecfg_precompute()
1339 if (r->rate_bytes_ps > 0) { in psched_ratecfg_precompute()
1343 r->mult = div64_u64(factor, r->rate_bytes_ps); in psched_ratecfg_precompute()
Dcls_api.c3537 entry->police.rate_bytes_ps = in tc_setup_flow_action()
/Linux-v5.4/drivers/net/ethernet/mscc/
Docelot_tc.c56 pol.rate = (u32)div_u64(action->police.rate_bytes_ps, 1000) * 8; in ocelot_setup_tc_cls_matchall()
57 pol.burst = (u32)div_u64(action->police.rate_bytes_ps * in ocelot_setup_tc_cls_matchall()
/Linux-v5.4/include/net/tc_act/
Dtc_police.h58 return params->rate.rate_bytes_ps; in tcf_police_rate_bytes_ps()
/Linux-v5.4/include/net/
Dflow_offload.h194 u64 rate_bytes_ps; member
Dsch_generic.h1224 u64 rate_bytes_ps; /* bytes per second */ member
1255 res->rate = min_t(u64, r->rate_bytes_ps, ~0U); in psched_ratecfg_getrate()
/Linux-v5.4/drivers/net/ethernet/netronome/nfp/flower/
Dqos_conf.c106 rate = action->police.rate_bytes_ps; in nfp_flower_install_rate_limiter()
/Linux-v5.4/drivers/net/ethernet/mellanox/mlx5/core/
Den_tc.c3984 err = apply_police_params(priv, act->police.rate_bytes_ps, extack); in scan_tc_matchall_fdb_actions()