net/octeontx2: move security session struct to crypto PMD
[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_ethdev_sec.h"
9
10 union otx2_sec_session_ipsec {
11         struct otx2_sec_session_ipsec_ip ip;
12 };
13
14 struct otx2_sec_session {
15         union otx2_sec_session_ipsec ipsec;
16         void *userdata;
17         /**< Userdata registered by the application */
18 } __rte_cache_aligned;
19
20 #endif /* __OTX2_SECURITY_H__ */