OSDN Git Service

flow_offload: add skip_hw and skip_sw to control if offload the action
authorBaowen Zheng <baowen.zheng@corigine.com>
Fri, 17 Dec 2021 18:16:23 +0000 (19:16 +0100)
committerDavid S. Miller <davem@davemloft.net>
Sun, 19 Dec 2021 14:08:48 +0000 (14:08 +0000)
commit7adc576512110ef32b0424a727ee1d04359fc205
treeaf4f4f103a2f08475bd509f858bfa83e629146b4
parent8cbfe939abe905280279e84a297b1cb34e0d0ec9
flow_offload: add skip_hw and skip_sw to control if offload the action

We add skip_hw and skip_sw for user to control if offload the action
to hardware.

We also add in_hw_count for user to indicate if the action is offloaded
to any hardware.

Signed-off-by: Baowen Zheng <baowen.zheng@corigine.com>
Signed-off-by: Simon Horman <simon.horman@corigine.com>
Acked-by: Jamal Hadi Salim <jhs@mojatatu.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
include/net/act_api.h
include/uapi/linux/pkt_cls.h
net/sched/act_api.c