Home
last modified time | relevance | path

Searched refs:police (Results 1 – 25 of 29) sorted by relevance

12

/OK3568_Linux_fs/kernel/net/sched/
H A Dact_police.c57 struct tcf_police *police; in tcf_police_init() local
105 police = to_police(*a); in tcf_police_init()
121 err = gen_replace_estimator(&police->tcf_bstats, in tcf_police_init()
122 police->common.cpu_bstats, in tcf_police_init()
123 &police->tcf_rate_est, in tcf_police_init()
124 &police->tcf_lock, in tcf_police_init()
130 !gen_estimator_active(&police->tcf_rate_est))) { in tcf_police_init()
186 spin_lock_bh(&police->tcf_lock); in tcf_police_init()
187 spin_lock_bh(&police->tcfp_lock); in tcf_police_init()
188 police->tcfp_t_c = ktime_get_ns(); in tcf_police_init()
[all …]
H A Dcls_api.c3063 if (exts->police && tb[exts->police]) { in tcf_exts_validate()
3066 a_o = tc_action_load_ops("police", tb[exts->police], rtnl_held, extack); in tcf_exts_validate()
3069 act = tcf_action_init_1(net, tp, tb[exts->police], in tcf_exts_validate()
3095 (exts->police && tb[exts->police])) { in tcf_exts_validate()
3146 } else if (exts->police) { in tcf_exts_dump()
3148 nest = nla_nest_start_noflag(skb, exts->police); in tcf_exts_dump()
3678 entry->police.burst = tcf_police_burst(act); in tc_setup_flow_action()
3679 entry->police.rate_bytes_ps = in tc_setup_flow_action()
3681 entry->police.mtu = tcf_police_tcfp_mtu(act); in tc_setup_flow_action()
3682 entry->police.index = act->tcfa_index; in tc_setup_flow_action()
/OK3568_Linux_fs/kernel/include/net/tc_act/
H A Dtc_police.h54 struct tcf_police *police = to_police(act); in tcf_police_rate_bytes_ps() local
57 params = rcu_dereference_protected(police->params, in tcf_police_rate_bytes_ps()
58 lockdep_is_held(&police->tcf_lock)); in tcf_police_rate_bytes_ps()
64 struct tcf_police *police = to_police(act); in tcf_police_burst() local
68 params = rcu_dereference_protected(police->params, in tcf_police_burst()
69 lockdep_is_held(&police->tcf_lock)); in tcf_police_burst()
102 struct tcf_police *police = to_police(act); in tcf_police_tcfp_mtu() local
105 params = rcu_dereference_protected(police->params, in tcf_police_tcfp_mtu()
106 lockdep_is_held(&police->tcf_lock)); in tcf_police_tcfp_mtu()
/OK3568_Linux_fs/kernel/tools/testing/selftests/drivers/net/mlxsw/
H A Dtc_restrictions.sh300 action police rate 0.5kbit burst 1m conform-exceed drop/ok
305 action police rate 2.5tbit burst 1g conform-exceed drop/ok
310 action police rate 1.5kbit burst 1m conform-exceed drop/ok
317 action police rate 1.9tbit burst 1g conform-exceed drop/ok
324 action police rate 1.5kbit burst 512b conform-exceed drop/ok
329 action police rate 1.5kbit burst 2k conform-exceed drop/ok
350 action police rate 100mbit burst 100k conform-exceed drop/ok
357 action police rate 100mbit burst 100k conform-exceed drop/pipe \
358 action police rate 200mbit burst 200k conform-exceed drop/ok
H A Dtc_police_occ.sh72 action police rate 100mbit burst 100k conform-exceed drop/ok
82 action police rate 100mbit burst 100k conform-exceed drop/ok \
85 flower skip_sw action police index 10
H A Dtc_police_scale.sh47 action police rate 10mbit burst 100k \
/OK3568_Linux_fs/kernel/tools/testing/selftests/net/forwarding/
H A Dtc_police.sh158 action police rate 80mbit burst 16k conform-exceed drop/ok
170 action police rate 80mbit burst 16k conform-exceed drop/ok
212 action police rate 80mbit burst 16k conform-exceed drop/ok \
219 action police index 10
251 action police rate 80mbit burst 16k conform-exceed drop/pipe \
304 action police mtu 1042 conform-exceed drop/ok
/OK3568_Linux_fs/kernel/include/net/
H A Dpkt_cls.h219 int police; member
223 int action, int police) in tcf_exts_init() argument
235 exts->police = police; in tcf_exts_init()
H A Dflow_offload.h238 } police; member
/OK3568_Linux_fs/kernel/drivers/net/ethernet/netronome/nfp/flower/
H A Dqos_conf.c107 rate = action->police.rate_bytes_ps; in nfp_flower_install_rate_limiter()
108 burst = action->police.burst; in nfp_flower_install_rate_limiter()
/OK3568_Linux_fs/kernel/drivers/net/ethernet/freescale/enetc/
H A Denetc_qos.c1239 if (entryp->police.burst) { in enetc_psfp_parse_clsflower()
1246 fmi->cir = entryp->police.rate_bytes_ps; in enetc_psfp_parse_clsflower()
1247 fmi->cbs = entryp->police.burst; in enetc_psfp_parse_clsflower()
1248 fmi->index = entryp->police.index; in enetc_psfp_parse_clsflower()
1254 if (entryp->police.mtu) in enetc_psfp_parse_clsflower()
1255 sfi->maxsdu = entryp->police.mtu; in enetc_psfp_parse_clsflower()
/OK3568_Linux_fs/kernel/drivers/net/ethernet/mellanox/mlxsw/
H A Dspectrum_flower.c198 burst = roundup_pow_of_two(act->police.burst); in mlxsw_sp_flower_parse_actions()
200 act->police.index, in mlxsw_sp_flower_parse_actions()
201 act->police.rate_bytes_ps, in mlxsw_sp_flower_parse_actions()
/OK3568_Linux_fs/kernel/drivers/net/dsa/sja1105/
H A Dsja1105_flower.c327 act->police.rate_bytes_ps, in sja1105_cls_flower_add()
328 act->police.burst); in sja1105_cls_flower_add()
/OK3568_Linux_fs/kernel/drivers/net/ethernet/chelsio/cxgb4/
H A Dcxgb4_tc_matchall.c52 if (entry->police.rate_bytes_ps * 8 > max_link_rate) { in cxgb4_matchall_egress_validate()
150 p.u.params.maxrate = div_u64(entry->police.rate_bytes_ps * 8, 1000); in cxgb4_matchall_alloc_tc()
/OK3568_Linux_fs/kernel/tools/testing/selftests/drivers/net/ocelot/
H A Dtc_flower_chains.sh188 action police rate 50mbit burst 64k conform-exceed drop/pipe \
/OK3568_Linux_fs/buildroot/dl/qt5location/git/src/plugins/geoservices/mapbox/
H A Dmapbox.qrc100 <file alias="police.svg">maki-4.0.0/police.svg</file>
/OK3568_Linux_fs/kernel/drivers/net/ethernet/mscc/
H A Docelot_flower.c239 rate = a->police.rate_bytes_ps; in ocelot_flower_parse_action()
241 filter->action.pol.burst = a->police.burst; in ocelot_flower_parse_action()
H A Docelot_net.c76 pol.rate = (u32)div_u64(action->police.rate_bytes_ps, 1000) * 8; in ocelot_setup_tc_cls_matchall()
77 pol.burst = action->police.burst; in ocelot_setup_tc_cls_matchall()
/OK3568_Linux_fs/prebuilts/gcc/linux-x86/aarch64/gcc-arm-10.3-2021.07-x86_64-aarch64-none-linux-gnu/aarch64-none-linux-gnu/libc/usr/include/linux/
H A Dpkt_sched.h480 unsigned char police; member
/OK3568_Linux_fs/kernel/tools/include/uapi/linux/
H A Dpkt_sched.h507 unsigned char police; member
/OK3568_Linux_fs/prebuilts/gcc/linux-x86/arm/gcc-arm-10.3-2021.07-x86_64-arm-none-linux-gnueabihf/arm-none-linux-gnueabihf/libc/usr/include/linux/
H A Dpkt_sched.h480 unsigned char police; member
/OK3568_Linux_fs/kernel/include/uapi/linux/
H A Dpkt_sched.h527 unsigned char police; member
/OK3568_Linux_fs/kernel/net/dsa/
H A Dslave.c1033 policer->rate_bytes_per_sec = act->police.rate_bytes_ps; in dsa_slave_add_cls_matchall_police()
1034 policer->burst = act->police.burst; in dsa_slave_add_cls_matchall_police()
/OK3568_Linux_fs/kernel/Documentation/admin-guide/
H A Ddevices.rst50 Finally, sometimes we have to play "namespace police." Please don't be
/OK3568_Linux_fs/kernel/Documentation/networking/
H A Dcdc_mbim.rst77 The cdc_mbim driver does not process or police messages on the control

12