/linux-master/drivers/infiniband/sw/rdmavt/ |
H A D | cq.h | 12 int rvt_create_cq(struct ib_cq *ibcq, const struct ib_cq_init_attr *attr, 14 int rvt_destroy_cq(struct ib_cq *ibcq, struct ib_udata *udata); 15 int rvt_req_notify_cq(struct ib_cq *ibcq, enum ib_cq_notify_flags notify_flags); 16 int rvt_resize_cq(struct ib_cq *ibcq, int cqe, struct ib_udata *udata); 17 int rvt_poll_cq(struct ib_cq *ibcq, int num_entries, struct ib_wc *entry);
|
H A D | cq.c | 54 if (head >= (unsigned)cq->ibcq.cqe) { 55 head = cq->ibcq.cqe; 68 if (cq->ibcq.event_handler) { 71 ev.device = cq->ibcq.device; 72 ev.element.cq = &cq->ibcq; 74 cq->ibcq.event_handler(&ev, cq->ibcq.cq_context); 140 cq->ibcq.comp_handler(&cq->ibcq, cq->ibcq 158 rvt_create_cq(struct ib_cq *ibcq, const struct ib_cq_init_attr *attr, struct ib_udata *udata) argument 276 rvt_destroy_cq(struct ib_cq *ibcq, struct ib_udata *udata) argument 302 rvt_req_notify_cq(struct ib_cq *ibcq, enum ib_cq_notify_flags notify_flags) argument 338 rvt_resize_cq(struct ib_cq *ibcq, int cqe, struct ib_udata *udata) argument 476 rvt_poll_cq(struct ib_cq *ibcq, int num_entries, struct ib_wc *entry) argument [all...] |
/linux-master/include/rdma/ |
H A D | rdmavt_cq.h | 47 struct ib_cq ibcq; member in struct:rvt_cq 60 static inline struct rvt_cq *ibcq_to_rvtcq(struct ib_cq *ibcq) argument 62 return container_of(ibcq, struct rvt_cq, ibcq);
|
/linux-master/drivers/infiniband/hw/mana/ |
H A D | cq.c | 8 int mana_ib_create_cq(struct ib_cq *ibcq, const struct ib_cq_init_attr *attr, argument 11 struct mana_ib_cq *cq = container_of(ibcq, struct mana_ib_cq, ibcq); 12 struct ib_device *ibdev = ibcq->device; 75 int mana_ib_destroy_cq(struct ib_cq *ibcq, struct ib_udata *udata) argument 77 struct mana_ib_cq *cq = container_of(ibcq, struct mana_ib_cq, ibcq); 78 struct ib_device *ibdev = ibcq->device; 107 if (cq->ibcq.comp_handler) 108 cq->ibcq [all...] |
H A D | qp.c | 112 struct ib_cq *ibcq; local 194 ibcq = ibwq->cq; 195 cq = container_of(ibcq, struct mana_ib_cq, ibcq); 263 ibcq = ibwq->cq; 265 cq = container_of(ibcq, struct mana_ib_cq, ibcq); 288 container_of(attr->send_cq, struct mana_ib_cq, ibcq);
|
/linux-master/drivers/infiniband/sw/rxe/ |
H A D | rxe_cq.c | 68 cq->ibcq.cqe = cqe; 82 cq->ibcq.cqe = cqe; 101 if (cq->ibcq.event_handler) { 102 ev.device = cq->ibcq.device; 103 ev.element.cq = &cq->ibcq; 105 cq->ibcq.event_handler(&ev, cq->ibcq.cq_context); 119 cq->ibcq.comp_handler(&cq->ibcq, cq->ibcq [all...] |
/linux-master/drivers/infiniband/hw/mlx4/ |
H A D | cq.c | 45 struct ib_cq *ibcq = &to_mibcq(cq)->ibcq; local 46 ibcq->comp_handler(ibcq, ibcq->cq_context); 52 struct ib_cq *ibcq; local 60 ibcq = &to_mibcq(cq)->ibcq; 61 if (ibcq->event_handler) { 62 event.device = ibcq 174 mlx4_ib_create_cq(struct ib_cq *ibcq, const struct ib_cq_init_attr *attr, struct ib_udata *udata) argument 379 mlx4_ib_resize_cq(struct ib_cq *ibcq, int entries, struct ib_udata *udata) argument 877 mlx4_ib_poll_cq(struct ib_cq *ibcq, int num_entries, struct ib_wc *wc) argument 904 mlx4_ib_arm_cq(struct ib_cq *ibcq, enum ib_cq_notify_flags flags) argument [all...] |
/linux-master/drivers/infiniband/hw/vmw_pvrdma/ |
H A D | pvrdma_cq.c | 58 * @ibcq: the completion queue 63 int pvrdma_req_notify_cq(struct ib_cq *ibcq, argument 66 struct pvrdma_dev *dev = to_vdev(ibcq->device); 67 struct pvrdma_cq *cq = to_vcq(ibcq); 83 cq->ibcq.cqe, &head); 95 * @ibcq: Allocated CQ 101 int pvrdma_create_cq(struct ib_cq *ibcq, const struct ib_cq_init_attr *attr, argument 104 struct ib_device *ibdev = ibcq->device; 107 struct pvrdma_cq *cq = to_vcq(ibcq); 132 cq->ibcq 386 pvrdma_poll_cq(struct ib_cq *ibcq, int num_entries, struct ib_wc *wc) argument [all...] |
H A D | pvrdma_main.c | 186 INIT_RDMA_OBJ_SIZE(ib_cq, pvrdma_cq, ibcq), 321 if (cq && cq->ibcq.event_handler) { 322 struct ib_cq *ibcq = &cq->ibcq; local 325 e.device = ibcq->device; 326 e.element.cq = ibcq; 328 ibcq->event_handler(&e, ibcq->cq_context); 492 if (cq && cq->ibcq.comp_handler) 493 cq->ibcq [all...] |
/linux-master/drivers/infiniband/hw/qedr/ |
H A D | qedr_roce_cm.h | 48 int qedr_gsi_poll_cq(struct ib_cq *ibcq, int num_entries, struct ib_wc *wc);
|
H A D | verbs.h | 54 int qedr_create_cq(struct ib_cq *ibcq, const struct ib_cq_init_attr *attr, 56 int qedr_destroy_cq(struct ib_cq *ibcq, struct ib_udata *udata); 57 int qedr_arm_cq(struct ib_cq *ibcq, enum ib_cq_notify_flags flags);
|
H A D | main.c | 233 INIT_RDMA_OBJ_SIZE(ib_cq, qedr_cq, ibcq), 475 if (!cq->destroyed && cq->ibcq.comp_handler) 476 (*cq->ibcq.comp_handler) 477 (&cq->ibcq, cq->ibcq.cq_context); 656 struct ib_cq *ibcq; local 727 ibcq = &cq->ibcq; 728 if (ibcq->event_handler) { 729 event.device = ibcq [all...] |
H A D | qedr_roce_cm.c | 82 cq->ibcq.comp_handler ? "Yes" : "No"); 92 if (cq->ibcq.comp_handler) 93 (*cq->ibcq.comp_handler) (&cq->ibcq, cq->ibcq.cq_context); 121 if (cq->ibcq.comp_handler) 122 (*cq->ibcq.comp_handler) (&cq->ibcq, cq->ibcq.cq_context); 670 int qedr_gsi_poll_cq(struct ib_cq *ibcq, in argument [all...] |
/linux-master/drivers/infiniband/hw/mthca/ |
H A D | mthca_cq.c | 181 return cqe_sw(get_cqe(cq, cq->cons_index & cq->ibcq.cqe)); 230 cq->ibcq.comp_handler(&cq->ibcq, cq->ibcq.cq_context); 254 event.element.cq = &cq->ibcq; 255 if (cq->ibcq.event_handler) 256 cq->ibcq.event_handler(&event, cq->ibcq.cq_context); 290 cqe_sw(get_cqe(cq, prod_index & cq->ibcq.cqe)); 292 if (prod_index == cq->cons_index + cq->ibcq 654 mthca_poll_cq(struct ib_cq *ibcq, int num_entries, struct ib_wc *entry) argument 736 mthca_arbel_arm_cq(struct ib_cq *ibcq, enum ib_cq_notify_flags flags) argument [all...] |
H A D | mthca_provider.h | 184 struct ib_cq ibcq; member in struct:mthca_cq 301 static inline struct mthca_cq *to_mcq(struct ib_cq *ibcq) argument 303 return container_of(ibcq, struct mthca_cq, ibcq);
|
/linux-master/drivers/infiniband/hw/cxgb4/ |
H A D | ev.c | 105 event.device = chp->ibcq.device; 107 event.element.cq = &chp->ibcq; 115 (*chp->ibcq.comp_handler)(&chp->ibcq, chp->ibcq.cq_context); 234 (*chp->ibcq.comp_handler)(&chp->ibcq, chp->ibcq.cq_context);
|
/linux-master/drivers/infiniband/hw/erdma/ |
H A D | erdma_eq.c | 59 event.device = cq->ibcq.device; 60 event.element.cq = &cq->ibcq; 62 if (cq->ibcq.event_handler) 63 cq->ibcq.event_handler(&event, 64 cq->ibcq.cq_context); 149 if (rdma_is_kernel_res(&cq->ibcq.res)) 152 if (cq->ibcq.comp_handler) 153 cq->ibcq.comp_handler(&cq->ibcq, cq->ibcq [all...] |
H A D | erdma_verbs.h | 259 struct ib_cq ibcq; member in struct:erdma_cq 310 static inline struct erdma_cq *to_ecq(struct ib_cq *ibcq) argument 312 return container_of(ibcq, struct erdma_cq, ibcq); 327 int erdma_create_cq(struct ib_cq *ibcq, const struct ib_cq_init_attr *attr, 342 int erdma_destroy_cq(struct ib_cq *ibcq, struct ib_udata *udata); 343 int erdma_req_notify_cq(struct ib_cq *ibcq, enum ib_cq_notify_flags flags); 357 int erdma_poll_cq(struct ib_cq *ibcq, int num_entries, struct ib_wc *wc);
|
H A D | erdma_cq.c | 33 int erdma_req_notify_cq(struct ib_cq *ibcq, enum ib_cq_notify_flags flags) argument 35 struct erdma_cq *cq = to_ecq(ibcq); 112 struct erdma_dev *dev = to_edev(cq->ibcq.device); 181 int erdma_poll_cq(struct ib_cq *ibcq, int num_entries, struct ib_wc *wc) argument 183 struct erdma_cq *cq = to_ecq(ibcq);
|
/linux-master/drivers/infiniband/hw/mlx5/ |
H A D | cq.c | 43 struct ib_cq *ibcq = &to_mibcq(cq)->ibcq; local 45 ibcq->comp_handler(ibcq, ibcq->cq_context); 51 struct mlx5_ib_dev *dev = to_mdev(cq->ibcq.device); 52 struct ib_cq *ibcq = &cq->ibcq; local 61 if (ibcq->event_handler) { 64 event.element.cq = ibcq; 607 mlx5_ib_poll_cq(struct ib_cq *ibcq, int num_entries, struct ib_wc *wc) argument 644 mlx5_ib_arm_cq(struct ib_cq *ibcq, enum ib_cq_notify_flags flags) argument 944 mlx5_ib_create_cq(struct ib_cq *ibcq, const struct ib_cq_init_attr *attr, struct ib_udata *udata) argument 1262 mlx5_ib_resize_cq(struct ib_cq *ibcq, int entries, struct ib_udata *udata) argument 1411 mlx5_ib_get_cqe_size(struct ib_cq *ibcq) argument 1423 mlx5_ib_generate_wc(struct ib_cq *ibcq, struct ib_wc *wc) argument [all...] |
H A D | restrack.c | 151 static int fill_res_cq_entry_raw(struct sk_buff *msg, struct ib_cq *ibcq) argument 153 struct mlx5_ib_dev *dev = to_mdev(ibcq->device); 154 struct mlx5_ib_cq *cq = to_mcq(ibcq);
|
/linux-master/drivers/infiniband/hw/hns/ |
H A D | hns_roce_cq.c | 456 struct ib_cq *ibcq; local 467 ibcq = &hr_cq->ib_cq; 468 if (ibcq->comp_handler) 469 ibcq->comp_handler(ibcq, ibcq->cq_context); 477 struct ib_cq *ibcq; local 496 ibcq = &hr_cq->ib_cq; 497 if (ibcq->event_handler) { 498 event.device = ibcq [all...] |
/linux-master/drivers/infiniband/hw/ocrdma/ |
H A D | ocrdma_verbs.h | 72 int ocrdma_create_cq(struct ib_cq *ibcq, const struct ib_cq_init_attr *attr, 75 int ocrdma_destroy_cq(struct ib_cq *ibcq, struct ib_udata *udata);
|
/linux-master/drivers/infiniband/hw/usnic/ |
H A D | usnic_ib_verbs.h | 58 int usnic_ib_create_cq(struct ib_cq *ibcq, const struct ib_cq_init_attr *attr,
|
H A D | usnic_ib.h | 65 struct ib_cq ibcq; member in struct:usnic_ib_cq
|