hns_roce_cq
static int alloc_cqn(struct hns_roce_dev *hr_dev, struct hns_roce_cq *hr_cq,
struct hns_roce_cq *hr_cq,
static int alloc_cqc(struct hns_roce_dev *hr_dev, struct hns_roce_cq *hr_cq)
static void free_cqc(struct hns_roce_dev *hr_dev, struct hns_roce_cq *hr_cq)
static int alloc_cq_buf(struct hns_roce_dev *hr_dev, struct hns_roce_cq *hr_cq,
static void free_cq_buf(struct hns_roce_dev *hr_dev, struct hns_roce_cq *hr_cq)
static int alloc_cq_db(struct hns_roce_dev *hr_dev, struct hns_roce_cq *hr_cq,
static void free_cq_db(struct hns_roce_dev *hr_dev, struct hns_roce_cq *hr_cq,
static void set_cq_param(struct hns_roce_cq *hr_cq, u32 cq_entries, int vector,
static int set_cqe_size(struct hns_roce_cq *hr_cq, struct ib_udata *udata,
struct hns_roce_cq *hr_cq = to_hr_cq(ib_cq);
struct hns_roce_cq *hr_cq = to_hr_cq(ib_cq);
struct hns_roce_cq *hr_cq;
struct hns_roce_cq *hr_cq;
static inline struct hns_roce_cq *to_hr_cq(struct ib_cq *ib_cq)
return container_of(ib_cq, struct hns_roce_cq, ib_cq);
void hns_roce_lock_cqs(struct hns_roce_cq *send_cq,
struct hns_roce_cq *recv_cq);
void hns_roce_unlock_cqs(struct hns_roce_cq *send_cq,
struct hns_roce_cq *recv_cq);
struct hns_roce_cq *hr_cq, void *mb_buf, u64 *mtts,
struct hns_roce_cq *hr_cq;
static void *get_cqe_v2(struct hns_roce_cq *hr_cq, int n)
static void *get_sw_cqe_v2(struct hns_roce_cq *hr_cq, unsigned int n)
struct hns_roce_cq *hr_cq)
static void __hns_roce_v2_cq_clean(struct hns_roce_cq *hr_cq, u32 qpn,
static void hns_roce_v2_cq_clean(struct hns_roce_cq *hr_cq, u32 qpn,
struct hns_roce_cq *hr_cq, void *mb_buf,
static bool left_sw_wc(struct hns_roce_dev *hr_dev, struct hns_roce_cq *hr_cq)
struct hns_roce_cq *hr_cq = to_hr_cq(ibcq);
static int hns_roce_v2_sw_poll_cq(struct hns_roce_cq *hr_cq, int num_entries,
struct hns_roce_cq *cq, struct hns_roce_v2_cqe *cqe,
static int get_cur_qp(struct hns_roce_cq *hr_cq, struct hns_roce_v2_cqe *cqe,
static int hns_roce_v2_poll_one(struct hns_roce_cq *hr_cq,
struct hns_roce_cq *hr_cq = to_hr_cq(ibcq);
struct hns_roce_cq *send_cq, *recv_cq;
struct hns_roce_cq *hr_cq = to_hr_cq(cq);
struct hns_roce_cq *hr_cq = to_hr_cq(ibcq);
struct hns_roce_cq *rsv_cq;
struct hns_roce_cq *hr_cq = to_hr_cq(cq);
struct hns_roce_cq *hr_cq;
INIT_RDMA_OBJ_SIZE(ib_cq, hns_roce_cq, ib_cq),
void hns_roce_lock_cqs(struct hns_roce_cq *send_cq, struct hns_roce_cq *recv_cq)
void hns_roce_unlock_cqs(struct hns_roce_cq *send_cq,
struct hns_roce_cq *recv_cq) __releases(&send_cq->lock)
struct hns_roce_cq *hr_cq;
struct hns_roce_cq *hr_send_cq, *hr_recv_cq;
struct hns_roce_cq *hr_cq = to_hr_cq(ib_cq);
struct hns_roce_cq *hr_cq = to_hr_cq(ib_cq);