git.droids-corp.org
/
dpdk.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
common/mlx5: move some getter functions from net driver
[dpdk.git]
/
drivers
/
net
/
ena
/
base
/
ena_defs
/
ena_common_defs.h
diff --git
a/drivers/net/ena/base/ena_defs/ena_common_defs.h
b/drivers/net/ena/base/ena_defs/ena_common_defs.h
index
1818c29
..
d1ee40d
100644
(file)
--- a/
drivers/net/ena/base/ena_defs/ena_common_defs.h
+++ b/
drivers/net/ena/base/ena_defs/ena_common_defs.h
@@
-1,5
+1,5
@@
/* SPDX-License-Identifier: BSD-3-Clause
/* SPDX-License-Identifier: BSD-3-Clause
- * Copyright (c) 2015-20
19
Amazon.com, Inc. or its affiliates.
+ * Copyright (c) 2015-20
20
Amazon.com, Inc. or its affiliates.
* All rights reserved.
*/
* All rights reserved.
*/
@@
-9,10
+9,14
@@
#define ENA_COMMON_SPEC_VERSION_MAJOR 2
#define ENA_COMMON_SPEC_VERSION_MINOR 0
#define ENA_COMMON_SPEC_VERSION_MAJOR 2
#define ENA_COMMON_SPEC_VERSION_MINOR 0
+/* ENA operates with 48-bit memory addresses. ena_mem_addr_t */
struct ena_common_mem_addr {
uint32_t mem_addr_low;
struct ena_common_mem_addr {
uint32_t mem_addr_low;
- uint32_t mem_addr_high;
+ uint16_t mem_addr_high;
+
+ /* MBZ */
+ uint16_t reserved16;
};
#endif /* _ENA_COMMON_H_ */
};
#endif /* _ENA_COMMON_H_ */