WSL2-Linux-Kernel/include/net/tc_act
Baowen Zheng 2ffe039528 net/sched: act_police: add support for packet-per-second policing
Allow a policer action to enforce a rate-limit based on packets-per-second,
configurable using a packet-per-second rate and burst parameters.

e.g.
tc filter add dev tap1 parent ffff: u32 match \
        u32 0 0 police pkts_rate 3000 pkts_burst 1000

Testing was unable to uncover a performance impact of this change on
existing features.

Signed-off-by: Baowen Zheng <baowen.zheng@corigine.com>
Signed-off-by: Simon Horman <simon.horman@netronome.com>
Signed-off-by: Louis Peens <louis.peens@netronome.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2021-03-13 14:18:09 -08:00
..
tc_bpf.h
tc_connmark.h
tc_csum.h
tc_ct.h
tc_ctinfo.h
tc_defact.h
tc_gact.h
tc_gate.h
tc_ife.h
tc_ipt.h
tc_mirred.h
tc_mpls.h
tc_nat.h
tc_pedit.h
tc_police.h net/sched: act_police: add support for packet-per-second policing 2021-03-13 14:18:09 -08:00
tc_sample.h
tc_skbedit.h
tc_skbmod.h
tc_tunnel_key.h
tc_vlan.h