OSDN Git Service

net/sched: act_api: Add extack to offload_act_setup() callback
authorIdo Schimmel <idosch@nvidia.com>
Thu, 7 Apr 2022 07:35:22 +0000 (10:35 +0300)
committerDavid S. Miller <davem@davemloft.net>
Fri, 8 Apr 2022 12:45:43 +0000 (13:45 +0100)
commitc2ccf84ecb715bb81dc7f51e69d680a95bf055ae
tree0d70d2fb932ae7ee9f514884a650acc16f41ba28
parent11c95317bc1a70b305b978ac4bec39e224142094
net/sched: act_api: Add extack to offload_act_setup() callback

The callback is used by various actions to populate the flow action
structure prior to offload. Pass extack to this callback so that the
various actions will be able to report accurate error messages to user
space.

Signed-off-by: Ido Schimmel <idosch@nvidia.com>
Reviewed-by: Petr Machata <petrm@nvidia.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
18 files changed:
include/net/act_api.h
include/net/pkt_cls.h
net/sched/act_api.c
net/sched/act_csum.c
net/sched/act_ct.c
net/sched/act_gact.c
net/sched/act_gate.c
net/sched/act_mirred.c
net/sched/act_mpls.c
net/sched/act_pedit.c
net/sched/act_police.c
net/sched/act_sample.c
net/sched/act_skbedit.c
net/sched/act_tunnel_key.c
net/sched/act_vlan.c
net/sched/cls_api.c
net/sched/cls_flower.c
net/sched/cls_matchall.c