aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/include/linux/netdevice.h
diff options
context:
space:
mode:
authorPeng Zhang <peng.zhang@corigine.com>2021-04-06 17:54:52 +0200
committerDavid S. Miller <davem@davemloft.net>2021-04-06 16:47:46 -0700
commit631a44ed2560672c27a149134a4d8cb963c07779 (patch)
tree57568763d7216fdd0123067e83305dcfe705401d /include/linux/netdevice.h
parentMerge git://git.kernel.org/pub/scm/linux/kernel/git/pablo/nf-next (diff)
downloadwireguard-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