1 /* SPDX-License-Identifier: BSD-3-Clause
2 * Copyright(C) 2019 Marvell International Ltd.
5 #ifndef _OTX2_COMMON_H_
6 #define _OTX2_COMMON_H_
8 #include <rte_common.h>
10 #include "hw/otx2_rvu.h"
11 #include "hw/otx2_nix.h"
12 #include "hw/otx2_npc.h"
13 #include "hw/otx2_npa.h"
14 #include "hw/otx2_sso.h"
15 #include "hw/otx2_ssow.h"
16 #include "hw/otx2_tim.h"
19 #define OTX2_ALIGN 128
21 /* Bits manipulation */
23 #define BIT_ULL(nr) (1ULL << (nr))
26 #define BIT(nr) (1UL << (nr))
29 /* Compiler attributes */
31 #define __hot __attribute__((hot))
34 #endif /* _OTX2_COMMON_H_ */