ocrdma_cq
struct ocrdma_cq **cq_tbl;
struct ocrdma_cq *gsi_sqcq;
struct ocrdma_cq *gsi_rqcq;
struct ocrdma_cq *sq_cq;
struct ocrdma_cq *rq_cq;
static inline struct ocrdma_cq *get_ocrdma_cq(struct ib_cq *ibcq)
return container_of(ibcq, struct ocrdma_cq, ibcq);
static inline int is_cqe_valid(struct ocrdma_cq *cq, struct ocrdma_cqe *cqe)
int ocrdma_mbx_create_cq(struct ocrdma_dev *dev, struct ocrdma_cq *cq,
void ocrdma_mbx_destroy_cq(struct ocrdma_dev *dev, struct ocrdma_cq *cq)
bool ocrdma_is_qp_in_sq_flushlist(struct ocrdma_cq *cq, struct ocrdma_qp *qp)
bool ocrdma_is_qp_in_rq_flushlist(struct ocrdma_cq *cq, struct ocrdma_qp *qp)
struct ocrdma_cq *cq;
struct ocrdma_cq *cq = NULL;
static struct ocrdma_cq *_ocrdma_qp_buddy_cq_handler(struct ocrdma_dev *dev,
struct ocrdma_cq *cq, bool sq)
struct ocrdma_cq *bcq = NULL;
struct ocrdma_cq *cq)
struct ocrdma_cq *bcq = NULL;
struct ocrdma_cq *cq;
int ocrdma_mbx_create_cq(struct ocrdma_dev *, struct ocrdma_cq *,
void ocrdma_mbx_destroy_cq(struct ocrdma_dev *dev, struct ocrdma_cq *cq);
bool ocrdma_is_qp_in_sq_flushlist(struct ocrdma_cq *, struct ocrdma_qp *);
bool ocrdma_is_qp_in_rq_flushlist(struct ocrdma_cq *, struct ocrdma_qp *);
INIT_RDMA_OBJ_SIZE(ib_cq, ocrdma_cq, ibcq),
dev->cq_tbl = kzalloc_objs(struct ocrdma_cq *, OCRDMA_MAX_CQ);
struct ocrdma_cq *cq = get_ocrdma_cq(ibcq);
static void ocrdma_flush_cq(struct ocrdma_cq *cq)
struct ocrdma_cq *cq = get_ocrdma_cq(ibcq);
static void ocrdma_discard_cqes(struct ocrdma_qp *qp, struct ocrdma_cq *cq)
static void ocrdma_change_cq_phase(struct ocrdma_cq *cq, struct ocrdma_cqe *cqe,
static int ocrdma_poll_hwcq(struct ocrdma_cq *cq, int num_entries,
static int ocrdma_add_err_cqe(struct ocrdma_cq *cq, int num_entries,
struct ocrdma_cq *cq = get_ocrdma_cq(ibcq);
struct ocrdma_cq *cq = get_ocrdma_cq(ibcq);
static int ocrdma_copy_cq_uresp(struct ocrdma_dev *dev, struct ocrdma_cq *cq,
struct ocrdma_cq *cq = get_ocrdma_cq(ibcq);