crypto/octeontx2: add lookaside SA context definitions
[dpdk.git] / drivers / crypto / octeontx2 / otx2_security.h
1 /* SPDX-License-Identifier: BSD-3-Clause
2  * Copyright (C) 2020 Marvell International Ltd.
3  */
4
5 #ifndef __OTX2_SECURITY_H__
6 #define __OTX2_SECURITY_H__
7
8 #include "otx2_cryptodev_sec.h"
9 #include "otx2_ethdev_sec.h"
10
11 union otx2_sec_session_ipsec {
12         struct otx2_sec_session_ipsec_ip ip;
13         struct otx2_sec_session_ipsec_lp lp;
14 };
15
16 struct otx2_sec_session {
17         union otx2_sec_session_ipsec ipsec;
18         void *userdata;
19         /**< Userdata registered by the application */
20 } __rte_cache_aligned;
21
22 #endif /* __OTX2_SECURITY_H__ */