2020-09-21 08:37:36 +00:00
|
|
|
/* SPDX-License-Identifier: GPL-2.0 OR Linux-OpenIB */
|
2016-08-10 11:03:22 +00:00
|
|
|
/*
|
2020-09-21 08:37:36 +00:00
|
|
|
* Copyright 2015-2020 Amazon.com, Inc. or its affiliates. All rights reserved.
|
2016-08-10 11:03:22 +00:00
|
|
|
*/
|
|
|
|
#ifndef _ENA_COMMON_H_
|
|
|
|
#define _ENA_COMMON_H_
|
|
|
|
|
2018-10-11 08:26:17 +00:00
|
|
|
#define ENA_COMMON_SPEC_VERSION_MAJOR 2
|
|
|
|
#define ENA_COMMON_SPEC_VERSION_MINOR 0
|
2016-08-10 11:03:22 +00:00
|
|
|
|
|
|
|
/* ENA operates with 48-bit memory addresses. ena_mem_addr_t */
|
|
|
|
struct ena_common_mem_addr {
|
|
|
|
u32 mem_addr_low;
|
|
|
|
|
|
|
|
u16 mem_addr_high;
|
|
|
|
|
|
|
|
/* MBZ */
|
|
|
|
u16 reserved16;
|
|
|
|
};
|
|
|
|
|
2020-05-22 09:09:03 +00:00
|
|
|
#endif /* _ENA_COMMON_H_ */
|