Searched refs:ibcq (Results 1 - 22 of 22) sorted by relevance

/freebsd-10.0-release/sys/dev/cxgbe/iw_cxgbe/
H A Dev.c72 event.device = chp->ibcq.device;
74 event.element.cq = &chp->ibcq;
81 (*chp->ibcq.comp_handler)(&chp->ibcq, chp->ibcq.cq_context);
200 (*chp->ibcq.comp_handler)(&chp->ibcq, chp->ibcq.cq_context);
H A Dcq.c736 int c4iw_poll_cq(struct ib_cq *ibcq, int num_entries, struct ib_wc *wc) argument
743 chp = to_c4iw_cq(ibcq);
846 chp->ibcq.cqe = entries - 2;
891 return &chp->ibcq;
911 int c4iw_arm_cq(struct ib_cq *ibcq, enum ib_cq_notify_flags flags) argument
917 chp = to_c4iw_cq(ibcq);
H A Diw_cxgbe.h376 struct ib_cq ibcq; member in struct:c4iw_cq
385 static inline struct c4iw_cq *to_c4iw_cq(struct ib_cq *ibcq) argument
387 return container_of(ibcq, struct c4iw_cq, ibcq);
848 int c4iw_poll_cq(struct ib_cq *ibcq, int num_entries, struct ib_wc *wc);
890 int c4iw_arm_cq(struct ib_cq *ibcq, enum ib_cq_notify_flags flags);
H A Dqp.c956 (*rchp->ibcq.comp_handler)(&rchp->ibcq, rchp->ibcq.cq_context);
970 (*schp->ibcq.comp_handler)(&schp->ibcq, schp->ibcq.cq_context);
987 (*rchp->ibcq.comp_handler)(&rchp->ibcq, rchp->ibcq.cq_context);
992 (*schp->ibcq
[all...]
/freebsd-10.0-release/sys/ofed/drivers/infiniband/hw/mlx4/
H A Dcq.c47 struct ib_cq *ibcq = &to_mibcq(cq)->ibcq; local
48 ibcq->comp_handler(ibcq, ibcq->cq_context);
54 struct ib_cq *ibcq; local
62 ibcq = &to_mibcq(cq)->ibcq;
63 if (ibcq->event_handler) {
64 event.device = ibcq
365 mlx4_ib_resize_cq(struct ib_cq *ibcq, int entries, struct ib_udata *udata) argument
465 mlx4_ib_ignore_overrun_cq(struct ib_cq *ibcq) argument
802 mlx4_ib_poll_cq(struct ib_cq *ibcq, int num_entries, struct ib_wc *wc) argument
828 mlx4_ib_arm_cq(struct ib_cq *ibcq, enum ib_cq_notify_flags flags) argument
[all...]
H A Dmlx4_ib.h121 struct ib_cq ibcq; member in struct:mlx4_ib_cq
582 static inline struct mlx4_ib_cq *to_mcq(struct ib_cq *ibcq) argument
584 return container_of(ibcq, struct mlx4_ib_cq, ibcq);
655 int mlx4_ib_resize_cq(struct ib_cq *ibcq, int entries, struct ib_udata *udata);
656 int mlx4_ib_ignore_overrun_cq(struct ib_cq *ibcq);
661 int mlx4_ib_poll_cq(struct ib_cq *ibcq, int num_entries, struct ib_wc *wc);
/freebsd-10.0-release/sys/ofed/drivers/infiniband/hw/mthca/
H A Dmthca_cq.c180 return cqe_sw(get_cqe(cq, cq->cons_index & cq->ibcq.cqe));
234 cq->ibcq.comp_handler(&cq->ibcq, cq->ibcq.cq_context);
258 event.element.cq = &cq->ibcq;
259 if (cq->ibcq.event_handler)
260 cq->ibcq.event_handler(&event, cq->ibcq.cq_context);
294 cqe_sw(get_cqe(cq, prod_index & cq->ibcq.cqe));
296 if (prod_index == cq->cons_index + cq->ibcq
659 mthca_poll_cq(struct ib_cq *ibcq, int num_entries, struct ib_wc *entry) argument
741 mthca_arbel_arm_cq(struct ib_cq *ibcq, enum ib_cq_notify_flags flags) argument
[all...]
H A Dmthca_provider.h201 struct ib_cq ibcq; member in struct:mthca_cq
323 static inline struct mthca_cq *to_mcq(struct ib_cq *ibcq) argument
325 return container_of(ibcq, struct mthca_cq, ibcq);
H A Dmthca_provider.c733 return &cq->ibcq;
796 static int mthca_resize_cq(struct ib_cq *ibcq, int entries, struct ib_udata *udata) argument
798 struct mthca_dev *dev = to_mdev(ibcq->device);
799 struct mthca_cq *cq = to_mcq(ibcq);
811 if (entries == ibcq->cqe + 1) {
853 tcqe = cq->ibcq.cqe;
855 cq->ibcq.cqe = cq->resize_buf->cqe;
867 ibcq->cqe = entries - 1;
H A Dmthca_dev.h494 int mthca_poll_cq(struct ib_cq *ibcq, int num_entries,
/freebsd-10.0-release/sys/dev/cxgb/ulp/iw_cxgb/
H A Diw_cxgb_ev.c124 event.device = chp->ibcq.device;
126 event.element.cq = &chp->ibcq;
133 (*chp->ibcq.comp_handler)(&chp->ibcq, chp->ibcq.cq_context);
208 (*chp->ibcq.comp_handler)(&chp->ibcq, chp->ibcq.cq_context);
H A Diw_cxgb_provider.h100 struct ib_cq ibcq; member in struct:iwch_cq
109 to_iwch_cq(struct ib_cq *ibcq) argument
111 return container_of(ibcq, struct iwch_cq, ibcq);
336 int iwch_poll_cq(struct ib_cq *ibcq, int num_entries, struct ib_wc *wc);
H A Diw_cxgb_qp.c784 (*rchp->ibcq.comp_handler)(&rchp->ibcq, rchp->ibcq.cq_context);
795 (*schp->ibcq.comp_handler)(&schp->ibcq, schp->ibcq.cq_context);
813 (*rchp->ibcq.comp_handler)(&rchp->ibcq, rchp->ibcq.cq_context);
816 (*schp->ibcq
[all...]
H A Diw_cxgb_cq.c230 int iwch_poll_cq(struct ib_cq *ibcq, int num_entries, struct ib_wc *wc) argument
237 chp = to_iwch_cq(ibcq);
H A Diw_cxgb_provider.c229 chp->ibcq.cqe = 1 << chp->cq.size_log2;
243 iwch_destroy_cq(&chp->ibcq);
270 iwch_destroy_cq(&chp->ibcq);
278 return &chp->ibcq;
290 iwch_arm_cq(struct ib_cq *ibcq, enum ib_cq_notify_flags flags) argument
298 chp = to_iwch_cq(ibcq);
/freebsd-10.0-release/contrib/ofed/libmthca/src/
H A Dverbs.c283 int mthca_resize_cq(struct ibv_cq *ibcq, int cqe) argument
285 struct mthca_cq *cq = to_mcq(ibcq);
299 if (cqe == ibcq->cqe + 1) {
304 ret = mthca_alloc_cq_buf(to_mdev(ibcq->context->device), &buf, cqe);
308 mr = __mthca_reg_mr(to_mctx(ibcq->context)->pd, buf.buf,
317 mr->context = ibcq->context;
319 old_cqe = ibcq->cqe;
325 ret = ibv_cmd_resize_cq(ibcq, cqe - 1, &cmd.ibv_cmd, sizeof cmd,
329 ret = ibv_cmd_resize_cq(ibcq, cqe - 1, &cmd.ibv_cmd, sizeof cmd);
H A Dcq.c460 int mthca_poll_cq(struct ibv_cq *ibcq, int ne, struct ibv_wc *wc) argument
462 struct mthca_cq *cq = to_mcq(ibcq);
H A Dmthca.h268 static inline struct mthca_cq *to_mcq(struct ibv_cq *ibcq) argument
/freebsd-10.0-release/contrib/ofed/libmlx4/src/
H A Dverbs.c224 int mlx4_resize_cq(struct ibv_cq *ibcq, int cqe) argument
226 struct mlx4_cq *cq = to_mcq(ibcq);
238 if (cqe == ibcq->cqe + 1) {
250 ret = mlx4_alloc_cq_buf(to_mdev(ibcq->context->device), &buf, cqe);
254 old_cqe = ibcq->cqe;
260 ret = ibv_cmd_resize_cq(ibcq, cqe - 1, &cmd.ibv_cmd, sizeof cmd,
264 ret = ibv_cmd_resize_cq(ibcq, cqe - 1, &cmd.ibv_cmd, sizeof cmd);
H A Dcq.c342 int mlx4_poll_cq(struct ibv_cq *ibcq, int ne, struct ibv_wc *wc) argument
344 struct mlx4_cq *cq = to_mcq(ibcq);
H A Dmlx4.h324 static inline struct mlx4_cq *to_mcq(struct ibv_cq *ibcq) argument
/freebsd-10.0-release/contrib/ofed/libibverbs/src/
H A Dcmd.c333 int ibv_cmd_poll_cq(struct ibv_cq *ibcq, int ne, struct ibv_wc *wc) argument
347 cmd.cq_handle = ibcq->handle;
350 if (write(ibcq->context->cmd_fd, &cmd, sizeof cmd) != sizeof cmd) {
380 int ibv_cmd_req_notify_cq(struct ibv_cq *ibcq, int solicited_only) argument
385 cmd.cq_handle = ibcq->handle;
388 if (write(ibcq->context->cmd_fd, &cmd, sizeof cmd) != sizeof cmd)

Completed in 137 milliseconds