xref: /dpdk/drivers/crypto/mvsam/rte_mrvl_compat.h (revision e95faac15110125eb5d7d59e5963bc0885a41718)
1*e95faac1STomasz Duszynski /* SPDX-License-Identifier: BSD-3-Clause
2*e95faac1STomasz Duszynski  * Copyright(c) 2017 Marvell International Ltd.
3*e95faac1STomasz Duszynski  * Copyright(c) 2017 Semihalf.
4*e95faac1STomasz Duszynski  * All rights reserved.
5*e95faac1STomasz Duszynski  */
6*e95faac1STomasz Duszynski 
7*e95faac1STomasz Duszynski #ifndef _RTE_MRVL_COMPAT_H_
8*e95faac1STomasz Duszynski #define _RTE_MRVL_COMPAT_H_
9*e95faac1STomasz Duszynski 
10*e95faac1STomasz Duszynski /* Unluckily, container_of is defined by both DPDK and MUSDK,
11*e95faac1STomasz Duszynski  * we'll declare only one version.
12*e95faac1STomasz Duszynski  *
13*e95faac1STomasz Duszynski  * Note that it is not used in this PMD anyway.
14*e95faac1STomasz Duszynski  */
15*e95faac1STomasz Duszynski #ifdef container_of
16*e95faac1STomasz Duszynski #undef container_of
17*e95faac1STomasz Duszynski #endif
18*e95faac1STomasz Duszynski #include "env/mv_autogen_comp_flags.h"
19*e95faac1STomasz Duszynski #include "drivers/mv_sam.h"
20*e95faac1STomasz Duszynski #include "drivers/mv_sam_cio.h"
21*e95faac1STomasz Duszynski #include "drivers/mv_sam_session.h"
22*e95faac1STomasz Duszynski 
23*e95faac1STomasz Duszynski #endif /* _RTE_MRVL_COMPAT_H_ */
24