xref: /linux/drivers/net/ethernet/amazon/ena/ena_common_defs.h (revision 24bce201d79807b668bf9d9e0aca801c5c0d5f78)
1 /* SPDX-License-Identifier: GPL-2.0 OR Linux-OpenIB */
2 /*
3  * Copyright 2015-2020 Amazon.com, Inc. or its affiliates. All rights reserved.
4  */
5 #ifndef _ENA_COMMON_H_
6 #define _ENA_COMMON_H_
7 
8 #define ENA_COMMON_SPEC_VERSION_MAJOR        2
9 #define ENA_COMMON_SPEC_VERSION_MINOR        0
10 
11 /* ENA operates with 48-bit memory addresses. ena_mem_addr_t */
12 struct ena_common_mem_addr {
13 	u32 mem_addr_low;
14 
15 	u16 mem_addr_high;
16 
17 	/* MBZ */
18 	u16 reserved16;
19 };
20 
21 #endif /* _ENA_COMMON_H_ */
22