git: 3673801f5306 - main - Define mbuf tags for IPSEC_ACCEL in/out with ABI_COMPAT

From: Konstantin Belousov <kib_at_FreeBSD.org>
Date: Fri, 12 Jul 2024 11:24:57 UTC
The branch main has been updated by kib:

URL: https://cgit.FreeBSD.org/src/commit/?id=3673801f53065529092ea22ecc2a07f306b984f2

commit 3673801f53065529092ea22ecc2a07f306b984f2
Author:     Konstantin Belousov <kib@FreeBSD.org>
AuthorDate: 2024-02-07 01:48:00 +0000
Commit:     Konstantin Belousov <kib@FreeBSD.org>
CommitDate: 2024-07-12 03:29:31 +0000

    Define mbuf tags for IPSEC_ACCEL in/out with ABI_COMPAT
    
    The tags are used to pass the information about SA to/from the driver
    doing inline IPSEC offload.
    
    Sponsored by:   NVIDIA networking
---
 sys/sys/mbuf.h | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/sys/sys/mbuf.h b/sys/sys/mbuf.h
index 6e8454ea62d6..ab494a76833e 100644
--- a/sys/sys/mbuf.h
+++ b/sys/sys/mbuf.h
@@ -1386,6 +1386,8 @@ extern bool		mb_use_ext_pgs;	/* Use ext_pgs for sendfile */
 #define	PACKET_TAG_IPSEC_NAT_T_PORTS		29 /* two uint16_t */
 #define	PACKET_TAG_ND_OUTGOING			30 /* ND outgoing */
 #define	PACKET_TAG_PF_REASSEMBLED		31
+#define	PACKET_TAG_IPSEC_ACCEL_OUT		32  /* IPSEC accel out */
+#define	PACKET_TAG_IPSEC_ACCEL_IN		33  /* IPSEC accel in */
 
 /* Specific cookies and tags. */