diff options
author | 2021-04-06 17:54:52 +0200 | |
---|---|---|
committer | 2021-04-06 16:47:46 -0700 | |
commit | 631a44ed2560672c27a149134a4d8cb963c07779 (patch) | |
tree | 57568763d7216fdd0123067e83305dcfe705401d /include/linux/netdevice.h | |
parent | Merge git://git.kernel.org/pub/scm/linux/kernel/git/pablo/nf-next (diff) | |
download | wireguard-linux-631a44ed2560672c27a149134a4d8cb963c07779.tar.xz wireguard-linux-631a44ed2560672c27a149134a4d8cb963c07779.zip |
nfp: flower: add support for packet-per-second policing
Allow hardware offload of a policer action attached to a matchall filter
which enforces a packets-per-second rate-limit.
e.g.
tc filter add dev tap1 parent ffff: u32 match \
u32 0 0 police pkts_rate 3000 pkts_burst 1000
Signed-off-by: Peng Zhang <peng.zhang@corigine.com>
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>
Diffstat (limited to 'include/linux/netdevice.h')
0 files changed, 0 insertions, 0 deletions