diff options
author | Paul Blakey <paulb@nvidia.com> | 2021-01-27 16:32:46 +0200 |
---|---|---|
committer | Jakub Kicinski <kuba@kernel.org> | 2021-01-29 18:05:30 -0800 |
commit | 941eff5aea5d4371fb8a496a66e29aa8fc7a0c23 (patch) | |
tree | a5d34726e8117f259e8f976dcab15c738841bfd5 /include/net/flow_offload.h | |
parent | 8c85d18ce647ac2517a1a1bb01b02648e23700e6 (diff) | |
download | lwn-941eff5aea5d4371fb8a496a66e29aa8fc7a0c23.tar.gz lwn-941eff5aea5d4371fb8a496a66e29aa8fc7a0c23.zip |
net: flow_offload: Add original direction flag to ct_metadata
Give offloading drivers the direction of the offloaded ct flow,
this will be used for matches on direction (ct_state +/-rpl).
Signed-off-by: Paul Blakey <paulb@nvidia.com>
Reviewed-by: Jiri Pirko <jiri@nvidia.com>
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'include/net/flow_offload.h')
-rw-r--r-- | include/net/flow_offload.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/net/flow_offload.h b/include/net/flow_offload.h index 123b1e9ea304..e6bd8ebf9ac3 100644 --- a/include/net/flow_offload.h +++ b/include/net/flow_offload.h @@ -245,6 +245,7 @@ struct flow_action_entry { unsigned long cookie; u32 mark; u32 labels[4]; + bool orig_dir; } ct_metadata; struct { /* FLOW_ACTION_MPLS_PUSH */ u32 label; |