forked from Minki/linux
01edac3aa2
EFA PCIe device implements a single Admin Queue (AQ) and Admin Completion Queue (ACQ) pair to initialize and communicate configuration with the device. Through this pair, we run set/get commands for querying and configuring the device, create/modify/destroy queues, and IB specific commands like Address Handler (AH), Memory Registration (MR) and Protection Domains (PD). In addition to admin (AQ/ACQ), we have data path queues that get classified as Queue Pairs (QP) and Completion Queues (CQ). Signed-off-by: Gal Pressman <galpress@amazon.com> Reviewed-by: Shiraz Saleem <shiraz.saleem@intel.com> Reviewed-by: Steve Wise <swise@opengridcomputing.com> Signed-off-by: Jason Gunthorpe <jgg@mellanox.com>
19 lines
386 B
C
19 lines
386 B
C
/* SPDX-License-Identifier: GPL-2.0 OR BSD-2-Clause */
|
|
/*
|
|
* Copyright 2018-2019 Amazon.com, Inc. or its affiliates. All rights reserved.
|
|
*/
|
|
|
|
#ifndef _EFA_COMMON_H_
|
|
#define _EFA_COMMON_H_
|
|
|
|
#define EFA_COMMON_SPEC_VERSION_MAJOR 2
|
|
#define EFA_COMMON_SPEC_VERSION_MINOR 0
|
|
|
|
struct efa_common_mem_addr {
|
|
u32 mem_addr_low;
|
|
|
|
u32 mem_addr_high;
|
|
};
|
|
|
|
#endif /* _EFA_COMMON_H_ */
|