]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
net: flow_offload: add tc police action parameters
authorJianbo Liu <jianbol@nvidia.com>
Thu, 24 Feb 2022 10:29:07 +0000 (10:29 +0000)
committerDavid S. Miller <davem@davemloft.net>
Mon, 28 Feb 2022 11:11:35 +0000 (11:11 +0000)
commitb8cd5831c61cadee4493248babef8386f836f31c
treebc354779540277459ebc327117016add13f24078
parentb42a738e409b62f38a15ce7530e8290b00f823a4
net: flow_offload: add tc police action parameters

The current police offload action entry is missing exceed/notexceed
actions and parameters that can be configured by tc police action.
Add the missing parameters as a pre-step for offloading police actions
to hardware.

Signed-off-by: Jianbo Liu <jianbol@nvidia.com>
Signed-off-by: Roi Dayan <roid@nvidia.com>
Reviewed-by: Ido Schimmel <idosch@nvidia.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
include/net/flow_offload.h
include/net/tc_act/tc_police.h
net/sched/act_police.c