1 /* SPDX-License-Identifier: BSD-3-Clause
2 * Copyright(C) 2019 Marvell International Ltd.
9 #define PTYPE_NON_TUNNEL_ARRAY_SZ BIT(PTYPE_WIDTH)
10 #define PTYPE_TUNNEL_ARRAY_SZ BIT(PTYPE_WIDTH)
11 #define PTYPE_ARRAY_SZ ((PTYPE_NON_TUNNEL_ARRAY_SZ +\
12 PTYPE_TUNNEL_ARRAY_SZ) *\
15 #define NIX_RX_OFFLOAD_PTYPE_F BIT(1)
16 #define NIX_RX_OFFLOAD_MARK_UPDATE_F BIT(4)
17 #define NIX_RX_OFFLOAD_TSTAMP_F BIT(5)
19 #define NIX_TIMESYNC_RX_OFFSET 8
21 struct otx2_timesync_info {
23 rte_iova_t tx_tstamp_iova;
27 } __rte_cache_aligned;
29 #endif /* __OTX2_RX_H__ */