diff options
author | Edward Cree <ecree.xilinx@gmail.com> | 2023-03-27 11:36:06 +0100 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2023-03-29 09:06:08 +0100 |
commit | 2245eb0086d81e54dfc6492f649059465ebbed79 (patch) | |
tree | 021404958dbeaea4b6737810735cadc217a65018 /drivers/net/ethernet/sfc/tc.h | |
parent | b7f5e17b3bb96165979f55f2821190a77f984d0e (diff) |
sfc: add functions to insert encap matches into the MAE
An encap match corresponds to an entry in the exact-match Outer Rule
table; the lookup response includes the encap type (protocol) allowing
the hardware to continue parsing into the inner headers.
Signed-off-by: Edward Cree <ecree.xilinx@gmail.com>
Reviewed-by: Simon Horman <simon.horman@corigine.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/ethernet/sfc/tc.h')
-rw-r--r-- | drivers/net/ethernet/sfc/tc.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/net/ethernet/sfc/tc.h b/drivers/net/ethernet/sfc/tc.h index c1485679507c..fff73960698a 100644 --- a/drivers/net/ethernet/sfc/tc.h +++ b/drivers/net/ethernet/sfc/tc.h @@ -70,6 +70,7 @@ struct efx_tc_encap_match { __be32 src_ip, dst_ip; struct in6_addr src_ip6, dst_ip6; __be16 udp_dport; + enum efx_encap_type tun_type; u32 fw_id; /* index of this entry in firmware encap match table */ }; |