diff options
author | Baowen Zheng <baowen.zheng@corigine.com> | 2021-12-17 19:16:22 +0100 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2021-12-19 15:08:48 +0100 |
commit | 8cbfe939abe905280279e84a297b1cb34e0d0ec9 (patch) | |
tree | 9c9e2dad06886bd0834d16071aa2faccdc20d99d /include/net/act_api.h | |
parent | flow_offload: add ops to tc_action_ops for flow action setup (diff) | |
download | linux-8cbfe939abe905280279e84a297b1cb34e0d0ec9.tar.xz linux-8cbfe939abe905280279e84a297b1cb34e0d0ec9.zip |
flow_offload: allow user to offload tc action to net device
Use flow_indr_dev_register/flow_indr_dev_setup_offload to
offload tc action.
We need to call tc_cleanup_flow_action to clean up tc action entry since
in tc_setup_action, some actions may hold dev refcnt, especially the mirror
action.
Signed-off-by: Baowen Zheng <baowen.zheng@corigine.com>
Signed-off-by: Louis Peens <louis.peens@corigine.com>
Signed-off-by: Simon Horman <simon.horman@corigine.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/net/act_api.h')
0 files changed, 0 insertions, 0 deletions