Home
last modified time | relevance | path

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

12

/linux/net/sched/
A Dsch_tbf.c124 u64 len = time_in_ns * r->rate_bytes_ps; in psched_ns_t2l()
265 return q->peak.rate_bytes_ps; in tbf_peak_present()
403 if (peak.rate_bytes_ps <= rate.rate_bytes_ps) { in tbf_change()
405 peak.rate_bytes_ps, rate.rate_bytes_ps); in tbf_change()
527 if (q->rate.rate_bytes_ps >= (1ULL << 32) && in tbf_dump()
528 nla_put_u64_64bit(skb, TCA_TBF_RATE64, q->rate.rate_bytes_ps, in tbf_dump()
532 q->peak.rate_bytes_ps >= (1ULL << 32) && in tbf_dump()
533 nla_put_u64_64bit(skb, TCA_TBF_PRATE64, q->peak.rate_bytes_ps, in tbf_dump()
A Dact_police.c355 if ((police->params->rate.rate_bytes_ps >= (1ULL << 32)) && in tcf_police_dump()
357 police->params->rate.rate_bytes_ps, in tcf_police_dump()
363 if ((police->params->peak.rate_bytes_ps >= (1ULL << 32)) && in tcf_police_dump()
365 police->params->peak.rate_bytes_ps, in tcf_police_dump()
A Dsch_htb.c1296 if ((cl->rate.rate_bytes_ps >= (1ULL << 32)) && in htb_dump_class()
1297 nla_put_u64_64bit(skb, TCA_HTB_RATE64, cl->rate.rate_bytes_ps, in htb_dump_class()
1300 if ((cl->ceil.rate_bytes_ps >= (1ULL << 32)) && in htb_dump_class()
1301 nla_put_u64_64bit(skb, TCA_HTB_CEIL64, cl->ceil.rate_bytes_ps, in htb_dump_class()
2034 u64 quantum = cl->rate.rate_bytes_ps; in htb_change_class()
A Dsch_generic.c1477 r->rate_bytes_ps = max_t(u64, conf->rate, rate64); in psched_ratecfg_precompute()
1479 psched_ratecfg_precompute__(r->rate_bytes_ps, &r->mult, &r->shift); in psched_ratecfg_precompute()
A Dcls_api.c3659 entry->police.rate_bytes_ps = in tc_setup_flow_action()
/linux/include/net/tc_act/
A Dtc_police.h63 return params->rate.rate_bytes_ps; in tcf_police_rate_bytes_ps()
98 burst = div_u64(params->tcfp_burst * params->rate.rate_bytes_ps, in tcf_police_burst()
/linux/drivers/net/ethernet/mellanox/mlxsw/
A Dcore_acl_flex_actions.h29 int (*policer_add)(void *priv, u64 rate_bytes_ps, u32 burst,
98 u32 fa_index, u64 rate_bytes_ps, u32 burst,
A Dspectrum_acl_flex_actions.c172 static int mlxsw_sp_act_policer_add(void *priv, u64 rate_bytes_ps, u32 burst, in mlxsw_sp_act_policer_add() argument
179 params.rate = rate_bytes_ps; in mlxsw_sp_act_policer_add()
A Dcore_acl_flex_actions.c869 u64 rate_bytes_ps, u32 burst, in mlxsw_afa_policer_create() argument
879 err = mlxsw_afa->ops->policer_add(mlxsw_afa->ops_priv, rate_bytes_ps, in mlxsw_afa_policer_create()
918 u64 rate_bytes_ps, u32 burst, in mlxsw_afa_policer_get() argument
930 return mlxsw_afa_policer_create(mlxsw_afa, fa_index, rate_bytes_ps, in mlxsw_afa_policer_get()
969 u64 rate_bytes_ps, u32 burst, in mlxsw_afa_policer_ref_create() argument
980 policer = mlxsw_afa_policer_get(block->afa, fa_index, rate_bytes_ps, in mlxsw_afa_policer_ref_create()
1809 u32 fa_index, u64 rate_bytes_ps, u32 burst, in mlxsw_afa_block_append_police() argument
1818 rate_bytes_ps, in mlxsw_afa_block_append_police()
A Dspectrum_policer.c54 static u64 mlxsw_sp_policer_rate_bytes_ps_kbps(u64 rate_bytes_ps) in mlxsw_sp_policer_rate_bytes_ps_kbps() argument
56 return div_u64(rate_bytes_ps, 1000) * BITS_PER_BYTE; in mlxsw_sp_policer_rate_bytes_ps_kbps()
A Dspectrum_acl.c654 u32 index, u64 rate_bytes_ps, in mlxsw_sp_acl_rulei_act_police() argument
660 rate_bytes_ps, burst, in mlxsw_sp_acl_rulei_act_police()
A Dspectrum_flower.c207 act->police.rate_bytes_ps, in mlxsw_sp_flower_parse_actions()
A Dspectrum.h981 u32 index, u64 rate_bytes_ps,
A Dspectrum_qdisc.c986 return div_u64(p->rate.rate_bytes_ps, 1000) * 8; in mlxsw_sp_qdisc_tbf_rate_kbps()
/linux/drivers/net/ethernet/netronome/nfp/flower/
A Dqos_conf.c135 if (action->police.rate_bytes_ps > 0) { in nfp_flower_install_rate_limiter()
159 if (action->police.rate_bytes_ps > 0) { in nfp_flower_install_rate_limiter()
160 rate = action->police.rate_bytes_ps; in nfp_flower_install_rate_limiter()
/linux/drivers/net/ethernet/marvell/octeontx2/nic/
A Dotx2_tc.c220 rate = entry->police.rate_bytes_ps * 8; in otx2_tc_egress_matchall_install()
358 if (act->police.rate_bytes_ps > 0) { in otx2_tc_parse_actions()
359 rate = act->police.rate_bytes_ps * 8; in otx2_tc_parse_actions()
889 rate = entry->police.rate_bytes_ps * 8; in otx2_tc_ingress_matchall_install()
/linux/drivers/net/ethernet/chelsio/cxgb4/
A Dcxgb4_tc_matchall.c57 if (entry->police.rate_bytes_ps * 8 > max_link_rate) { in cxgb4_matchall_egress_validate()
159 p.u.params.maxrate = div_u64(entry->police.rate_bytes_ps * 8, 1000); in cxgb4_matchall_alloc_tc()
/linux/include/net/
A Dsch_generic.h1244 u64 rate_bytes_ps; /* bytes per second */ member
1275 res->rate = min_t(u64, r->rate_bytes_ps, ~0U); in psched_ratecfg_getrate()
A Dflow_offload.h237 u64 rate_bytes_ps; member
/linux/drivers/net/dsa/sja1105/
A Dsja1105_flower.c333 act->police.rate_bytes_ps, in sja1105_cls_flower_add()
/linux/drivers/net/ethernet/mscc/
A Docelot_flower.c289 rate = a->police.rate_bytes_ps; in ocelot_flower_parse_action()
A Docelot_net.c266 pol.rate = (u32)div_u64(action->police.rate_bytes_ps, 1000) * 8; in ocelot_setup_tc_cls_matchall()
/linux/drivers/net/ethernet/freescale/enetc/
A Denetc_qos.c1245 fmi->cir = entryp->police.rate_bytes_ps; in enetc_psfp_parse_clsflower()
/linux/net/dsa/
A Dslave.c1107 policer->rate_bytes_per_sec = act->police.rate_bytes_ps; in dsa_slave_add_cls_matchall_police()
/linux/drivers/net/ethernet/freescale/dpaa2/
A Ddpaa2-eth.c2572 tx_cr_shaper.rate_limit = bps_to_mbits(cfg->rate.rate_bytes_ps); in dpaa2_eth_setup_tbf()

Completed in 88 milliseconds

12