diff options
author | Louis Peens <louis.peens@corigine.com> | 2021-07-22 10:58:02 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2021-07-22 12:22:22 +0300 |
commit | e75dc2650770575299d98d28e25ae98c20dc8bf9 (patch) | |
tree | e226bed762b02c06ae2d33bd334983d49c8ef844 /drivers/net/ethernet/netronome/nfp/flower/offload.c | |
parent | 4b15fb187688b74a946e44367d2f1a9a528fa320 (diff) | |
download | linux-e75dc2650770575299d98d28e25ae98c20dc8bf9.tar.xz |
nfp: flower: refactor action offload code slightly
Change the action related offload functions to take in flow_rule *
as input instead of flow_cls_offload * as input. The flow_rule
parts of flow_cls_offload is the only part that is used in any
case, and this is required for more conntrack offload patches
which will follow later.
Signed-off-by: Louis Peens <louis.peens@corigine.com>
Signed-off-by: Yinjun Zhang <yinjun.zhang@corigine.com>
Signed-off-by: Simon Horman <simon.horman@corigine.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/ethernet/netronome/nfp/flower/offload.c')
-rw-r--r-- | drivers/net/ethernet/netronome/nfp/flower/offload.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/ethernet/netronome/nfp/flower/offload.c b/drivers/net/ethernet/netronome/nfp/flower/offload.c index 46bd5da89bfd..ad97770fa39c 100644 --- a/drivers/net/ethernet/netronome/nfp/flower/offload.c +++ b/drivers/net/ethernet/netronome/nfp/flower/offload.c @@ -1338,7 +1338,7 @@ nfp_flower_add_offload(struct nfp_app *app, struct net_device *netdev, if (err) goto err_destroy_flow; - err = nfp_flower_compile_action(app, flow, netdev, flow_pay, extack); + err = nfp_flower_compile_action(app, rule, netdev, flow_pay, extack); if (err) goto err_destroy_flow; |