linux/include/linux/qed/rdma_common.h

/* SPDX-License-Identifier: (GPL-2.0-only OR BSD-3-Clause) */
/* QLogic qed NIC Driver
 * Copyright (c) 2015-2017  QLogic Corporation
 * Copyright (c) 2019-2020 Marvell International Ltd.
 */

#ifndef __RDMA_COMMON__
#define __RDMA_COMMON__

/************************/
/* RDMA FW CONSTANTS */
/************************/

#define RDMA_RESERVED_LKEY
#define RDMA_RING_PAGE_SIZE

#define RDMA_MAX_SGE_PER_SQ_WQE
#define RDMA_MAX_SGE_PER_RQ_WQE

#define RDMA_MAX_DATA_SIZE_IN_WQE

#define RDMA_REQ_RD_ATOMIC_ELM_SIZE
#define RDMA_RESP_RD_ATOMIC_ELM_SIZE

#define RDMA_MAX_CQS
#define RDMA_MAX_TIDS
#define RDMA_MAX_PDS
#define RDMA_MAX_XRC_SRQS
#define RDMA_MAX_SRQS
#define RDMA_MAX_IRQ_ELEMS_IN_PAGE

#define RDMA_NUM_STATISTIC_COUNTERS
#define RDMA_NUM_STATISTIC_COUNTERS_K2
#define RDMA_NUM_STATISTIC_COUNTERS_BB

#define RDMA_TASK_TYPE

struct rdma_srq_id {};

struct rdma_srq_producers {};

#endif /* __RDMA_COMMON__ */