summaryrefslogtreecommitdiff
path: root/drivers/net/ethernet/marvell/octeontx2/af/mbox.h
diff options
context:
space:
mode:
authorRatheesh Kannoth <rkannoth@marvell.com>2023-08-01 07:11:01 +0530
committerDavid S. Miller <davem@davemloft.net>2023-08-02 10:09:32 +0100
commit73b4c04e2e9af8075b87475cb7486f561dcecebd (patch)
treee62db741f37939adee5b91bc9b6608dd35c9f524 /drivers/net/ethernet/marvell/octeontx2/af/mbox.h
parentc8915d7329d6e9164c5c847dc1c56a2c0437053f (diff)
octeontx2-pf: TC flower offload support for SPI field
Driver support to offload TC flower rules which matches against SPI field of IPSEC packets (AH/ESP). Signed-off-by: Ratheesh Kannoth <rkannoth@marvell.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/ethernet/marvell/octeontx2/af/mbox.h')
-rw-r--r--drivers/net/ethernet/marvell/octeontx2/af/mbox.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/drivers/net/ethernet/marvell/octeontx2/af/mbox.h b/drivers/net/ethernet/marvell/octeontx2/af/mbox.h
index ed66c5989102..a8f3c8faf8af 100644
--- a/drivers/net/ethernet/marvell/octeontx2/af/mbox.h
+++ b/drivers/net/ethernet/marvell/octeontx2/af/mbox.h
@@ -1451,6 +1451,10 @@ struct flow_msg {
__be32 ip4dst;
__be32 ip6dst[4];
};
+ union {
+ __be32 spi;
+ };
+
u8 tos;
u8 ip_ver;
u8 ip_proto;