File Index
Files and directories
Sign in
FILE

ena_common_defs.h

File preview with syntax highlighting.

linux-6.19.14/drivers/net/ethernet/amazon/ena/ena_common_defs.h C
 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 */
12struct 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_ */
~/ Read-only file preview.