/* SPDX-License-Identifier: GPL-2.0 */ /* * Copyright (c) 2015 Mellanox Technologies. All rights reserved. */ #ifndef _LINUX_NVME_RDMA_H #define _LINUX_NVME_RDMA_H #define NVME_RDMA_IP_PORT … #define NVME_RDMA_MAX_QUEUE_SIZE … #define NVME_RDMA_MAX_METADATA_QUEUE_SIZE … #define NVME_RDMA_DEFAULT_QUEUE_SIZE … enum nvme_rdma_cm_fmt { … }; enum nvme_rdma_cm_status { … }; static inline const char *nvme_rdma_cm_msg(enum nvme_rdma_cm_status status) { … } /** * struct nvme_rdma_cm_req - rdma connect request * * @recfmt: format of the RDMA Private Data * @qid: queue Identifier for the Admin or I/O Queue * @hrqsize: host receive queue size to be created * @hsqsize: host send queue size to be created */ struct nvme_rdma_cm_req { … }; /** * struct nvme_rdma_cm_rep - rdma connect reply * * @recfmt: format of the RDMA Private Data * @crqsize: controller receive queue size */ struct nvme_rdma_cm_rep { … }; /** * struct nvme_rdma_cm_rej - rdma connect reject * * @recfmt: format of the RDMA Private Data * @sts: error status for the associated connect request */ struct nvme_rdma_cm_rej { … }; #endif /* _LINUX_NVME_RDMA_H */