]> 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)
commite261130e90751ccde5d3b5c3c5ff38ac44929e37
treebc354779540277459ebc327117016add13f24078
parentc15120af70ff44ac5ac68f87f510a5463968d31b
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