Back to home page

OSCL-LXR

 
 

    


0001 /* SPDX-License-Identifier: GPL-2.0 OR Linux-OpenIB */
0002 /*
0003  * Copyright 2015-2020 Amazon.com, Inc. or its affiliates. All rights reserved.
0004  */
0005 #ifndef _ENA_COMMON_H_
0006 #define _ENA_COMMON_H_
0007 
0008 #define ENA_COMMON_SPEC_VERSION_MAJOR        2
0009 #define ENA_COMMON_SPEC_VERSION_MINOR        0
0010 
0011 /* ENA operates with 48-bit memory addresses. ena_mem_addr_t */
0012 struct ena_common_mem_addr {
0013     u32 mem_addr_low;
0014 
0015     u16 mem_addr_high;
0016 
0017     /* MBZ */
0018     u16 reserved16;
0019 };
0020 
0021 #endif /* _ENA_COMMON_H_ */