| /Linux-v5.10/net/sched/ |
| D | act_police.c | 57 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 …]
|
| D | cls_api.c | 3057 if (exts->police && tb[exts->police]) { in tcf_exts_validate() 3058 act = tcf_action_init_1(net, tp, tb[exts->police], in tcf_exts_validate() 3082 (exts->police && tb[exts->police])) { in tcf_exts_validate() 3133 } else if (exts->police) { in tcf_exts_dump() 3135 nest = nla_nest_start_noflag(skb, exts->police); in tcf_exts_dump() 3665 entry->police.burst = tcf_police_burst(act); in tc_setup_flow_action() 3666 entry->police.rate_bytes_ps = in tc_setup_flow_action() 3668 entry->police.mtu = tcf_police_tcfp_mtu(act); in tc_setup_flow_action() 3669 entry->police.index = act->tcfa_index; in tc_setup_flow_action()
|
| /Linux-v5.10/include/net/tc_act/ |
| D | tc_police.h | 54 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()
|
| /Linux-v5.10/tools/testing/selftests/drivers/net/mlxsw/ |
| D | tc_police_occ.sh | 72 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
|
| D | tc_restrictions.sh | 300 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
|
| D | tc_police_scale.sh | 47 action police rate 10mbit burst 100k \
|
| /Linux-v5.10/tools/testing/selftests/net/forwarding/ |
| D | tc_police.sh | 156 action police rate 80mbit burst 16k conform-exceed drop/ok 168 action police rate 80mbit burst 16k conform-exceed drop/ok 210 action police rate 80mbit burst 16k conform-exceed drop/ok \ 217 action police index 10 249 action police rate 80mbit burst 16k conform-exceed drop/pipe \
|
| /Linux-v5.10/include/net/ |
| D | pkt_cls.h | 219 int police; member 223 int action, int police) in tcf_exts_init() argument 235 exts->police = police; in tcf_exts_init()
|
| D | flow_offload.h | 238 } police; member
|
| /Linux-v5.10/drivers/net/ethernet/netronome/nfp/flower/ |
| D | qos_conf.c | 107 rate = action->police.rate_bytes_ps; in nfp_flower_install_rate_limiter() 108 burst = action->police.burst; in nfp_flower_install_rate_limiter()
|
| /Linux-v5.10/drivers/net/ethernet/mellanox/mlxsw/ |
| D | spectrum_flower.c | 198 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()
|
| /Linux-v5.10/drivers/net/ethernet/freescale/enetc/ |
| D | enetc_qos.c | 1230 if (entryp->police.burst) { in enetc_psfp_parse_clsflower() 1237 fmi->cir = entryp->police.rate_bytes_ps; in enetc_psfp_parse_clsflower() 1238 fmi->cbs = entryp->police.burst; in enetc_psfp_parse_clsflower() 1239 fmi->index = entryp->police.index; in enetc_psfp_parse_clsflower() 1245 if (entryp->police.mtu) in enetc_psfp_parse_clsflower() 1246 sfi->maxsdu = entryp->police.mtu; in enetc_psfp_parse_clsflower()
|
| /Linux-v5.10/drivers/net/dsa/sja1105/ |
| D | sja1105_flower.c | 327 act->police.rate_bytes_ps, in sja1105_cls_flower_add() 328 act->police.burst); in sja1105_cls_flower_add()
|
| /Linux-v5.10/drivers/net/ethernet/chelsio/cxgb4/ |
| D | cxgb4_tc_matchall.c | 52 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()
|
| /Linux-v5.10/tools/testing/selftests/drivers/net/ocelot/ |
| D | tc_flower_chains.sh | 188 action police rate 50mbit burst 64k \
|
| /Linux-v5.10/drivers/net/ethernet/mscc/ |
| D | ocelot_flower.c | 224 rate = a->police.rate_bytes_ps; in ocelot_flower_parse_action() 226 filter->action.pol.burst = a->police.burst; in ocelot_flower_parse_action()
|
| D | ocelot_net.c | 76 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()
|
| /Linux-v5.10/tools/include/uapi/linux/ |
| D | pkt_sched.h | 507 unsigned char police; member
|
| /Linux-v5.10/include/uapi/linux/ |
| D | pkt_sched.h | 527 unsigned char police; member
|
| /Linux-v5.10/Documentation/networking/ |
| D | cdc_mbim.rst | 77 The cdc_mbim driver does not process or police messages on the control
|
| D | l2tp.rst | 569 scoped by the tunnel, the kernel does not police this for L2TPv3 UDP
|
| /Linux-v5.10/Documentation/admin-guide/ |
| D | devices.rst | 50 Finally, sometimes we have to play "namespace police." Please don't be
|
| /Linux-v5.10/net/dsa/ |
| D | slave.c | 996 policer->rate_bytes_per_sec = act->police.rate_bytes_ps; in dsa_slave_add_cls_matchall_police() 997 policer->burst = act->police.burst; in dsa_slave_add_cls_matchall_police()
|
| /Linux-v5.10/Documentation/networking/devlink/ |
| D | devlink-trap.rst | 592 devices usually include packet trap policers that are able to police the
|
| /Linux-v5.10/drivers/net/ethernet/mellanox/mlx5/core/ |
| D | en_tc.c | 5068 err = apply_police_params(priv, act->police.rate_bytes_ps, extack); in scan_tc_matchall_fdb_actions()
|