diff options
author | Baowen Zheng <baowen.zheng@corigine.com> | 2021-12-17 19:16:17 +0100 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2021-12-19 15:08:47 +0100 |
commit | 40bd094d65fc9f83941b024cde7c24516f036879 (patch) | |
tree | 39faa16da7f25c708d32a4b6b5ecab06b5acd48a /net/sched/act_simple.c | |
parent | xdp: move the if dev statements to the first (diff) | |
download | linux-40bd094d65fc9f83941b024cde7c24516f036879.tar.xz linux-40bd094d65fc9f83941b024cde7c24516f036879.zip |
flow_offload: fill flags to action structure
Fill flags to action structure to allow user control if
the action should be offloaded to hardware or not.
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>
Acked-by: Jamal Hadi Salim <jhs@mojatatu.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/sched/act_simple.c')
-rw-r--r-- | net/sched/act_simple.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/net/sched/act_simple.c b/net/sched/act_simple.c index e617ab4505ca..8c1d60bde93e 100644 --- a/net/sched/act_simple.c +++ b/net/sched/act_simple.c @@ -129,7 +129,7 @@ static int tcf_simp_init(struct net *net, struct nlattr *nla, if (!exists) { ret = tcf_idr_create(tn, index, est, a, - &act_simp_ops, bind, false, 0); + &act_simp_ops, bind, false, flags); if (ret) { tcf_idr_cleanup(tn, index); return ret; |