Searched refs:rate_bytes_ps (Results 1 – 11 of 11) sorted by relevance
| /Linux-v5.4/net/sched/ |
| D | sch_tbf.c | 123 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()
|
| D | act_police.c | 325 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()
|
| D | sch_htb.c | 1104 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()
|
| D | sch_generic.c | 1323 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()
|
| D | cls_api.c | 3537 entry->police.rate_bytes_ps = in tc_setup_flow_action()
|
| /Linux-v5.4/drivers/net/ethernet/mscc/ |
| D | ocelot_tc.c | 56 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/ |
| D | tc_police.h | 58 return params->rate.rate_bytes_ps; in tcf_police_rate_bytes_ps()
|
| /Linux-v5.4/include/net/ |
| D | flow_offload.h | 194 u64 rate_bytes_ps; member
|
| D | sch_generic.h | 1224 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/ |
| D | qos_conf.c | 106 rate = action->police.rate_bytes_ps; in nfp_flower_install_rate_limiter()
|
| /Linux-v5.4/drivers/net/ethernet/mellanox/mlx5/core/ |
| D | en_tc.c | 3984 err = apply_police_params(priv, act->police.rate_bytes_ps, extack); in scan_tc_matchall_fdb_actions()
|