]> git.baikalelectronics.ru Git - kernel.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)
commitcbfe2dc8a74ddeb794e33c235de1b2e923d55947
treebc354779540277459ebc327117016add13f24078
parent518c4e55fd86c70ad42761e3b9046e54c9254bc6
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