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

12

/freebsd-11-stable/sys/ofed/include/rdma/
H A Drdmavt_cq.h74 /* these are actually size ibcq.cqe + 1 */
84 struct ib_cq ibcq; member in struct:rvt_cq
94 static inline struct rvt_cq *ibcq_to_rvtcq(struct ib_cq *ibcq) argument
96 return container_of(ibcq, struct rvt_cq, ibcq);
/freebsd-11-stable/contrib/ofed/libmlx5/
H A Dcq.c729 static inline int poll_cq(struct ibv_cq *ibcq, int ne,
732 static inline int poll_cq(struct ibv_cq *ibcq, int ne, argument
735 struct mlx5_cq *cq = to_mcq(ibcq);
792 static inline void _mlx5_end_poll(struct ibv_cq_ex *ibcq,
795 static inline void _mlx5_end_poll(struct ibv_cq_ex *ibcq, argument
798 struct mlx5_cq *cq = to_mcq(ibv_cq_ex_to_cq(ibcq));
828 static inline int mlx5_start_poll(struct ibv_cq_ex *ibcq, struct ibv_poll_cq_attr *attr,
831 static inline int mlx5_start_poll(struct ibv_cq_ex *ibcq, struct ibv_poll_cq_attr *attr, argument
834 struct mlx5_cq *cq = to_mcq(ibv_cq_ex_to_cq(ibcq));
896 static inline int mlx5_next_poll(struct ibv_cq_ex *ibcq,
899 mlx5_next_poll(struct ibv_cq_ex *ibcq, enum polling_mode stall, int cqe_version) argument
919 mlx5_next_poll_adaptive_v0(struct ibv_cq_ex *ibcq) argument
924 mlx5_next_poll_adaptive_v1(struct ibv_cq_ex *ibcq) argument
929 mlx5_next_poll_v0(struct ibv_cq_ex *ibcq) argument
934 mlx5_next_poll_v1(struct ibv_cq_ex *ibcq) argument
939 mlx5_start_poll_v0(struct ibv_cq_ex *ibcq, struct ibv_poll_cq_attr *attr) argument
945 mlx5_start_poll_v1(struct ibv_cq_ex *ibcq, struct ibv_poll_cq_attr *attr) argument
951 mlx5_start_poll_v0_lock(struct ibv_cq_ex *ibcq, struct ibv_poll_cq_attr *attr) argument
957 mlx5_start_poll_v1_lock(struct ibv_cq_ex *ibcq, struct ibv_poll_cq_attr *attr) argument
963 mlx5_start_poll_adaptive_stall_v0_lock(struct ibv_cq_ex *ibcq, struct ibv_poll_cq_attr *attr) argument
969 mlx5_start_poll_stall_v0_lock(struct ibv_cq_ex *ibcq, struct ibv_poll_cq_attr *attr) argument
975 mlx5_start_poll_adaptive_stall_v1_lock(struct ibv_cq_ex *ibcq, struct ibv_poll_cq_attr *attr) argument
981 mlx5_start_poll_stall_v1_lock(struct ibv_cq_ex *ibcq, struct ibv_poll_cq_attr *attr) argument
987 mlx5_start_poll_stall_v0(struct ibv_cq_ex *ibcq, struct ibv_poll_cq_attr *attr) argument
993 mlx5_start_poll_adaptive_stall_v0(struct ibv_cq_ex *ibcq, struct ibv_poll_cq_attr *attr) argument
999 mlx5_start_poll_adaptive_stall_v1(struct ibv_cq_ex *ibcq, struct ibv_poll_cq_attr *attr) argument
1005 mlx5_start_poll_stall_v1(struct ibv_cq_ex *ibcq, struct ibv_poll_cq_attr *attr) argument
1011 mlx5_end_poll_adaptive_stall_lock(struct ibv_cq_ex *ibcq) argument
1016 mlx5_end_poll_stall_lock(struct ibv_cq_ex *ibcq) argument
1021 mlx5_end_poll_adaptive_stall(struct ibv_cq_ex *ibcq) argument
1026 mlx5_end_poll_stall(struct ibv_cq_ex *ibcq) argument
1031 mlx5_end_poll(struct ibv_cq_ex *ibcq) argument
1036 mlx5_end_poll_lock(struct ibv_cq_ex *ibcq) argument
1041 mlx5_poll_cq(struct ibv_cq *ibcq, int ne, struct ibv_wc *wc) argument
1046 mlx5_poll_cq_v1(struct ibv_cq *ibcq, int ne, struct ibv_wc *wc) argument
1051 mlx5_cq_read_wc_opcode(struct ibv_cq_ex *ibcq) argument
1094 mlx5_cq_read_wc_qp_num(struct ibv_cq_ex *ibcq) argument
1101 mlx5_cq_read_wc_flags(struct ibv_cq_ex *ibcq) argument
1127 mlx5_cq_read_wc_byte_len(struct ibv_cq_ex *ibcq) argument
1134 mlx5_cq_read_wc_vendor_err(struct ibv_cq_ex *ibcq) argument
1142 mlx5_cq_read_wc_imm_data(struct ibv_cq_ex *ibcq) argument
1154 mlx5_cq_read_wc_slid(struct ibv_cq_ex *ibcq) argument
1161 mlx5_cq_read_wc_sl(struct ibv_cq_ex *ibcq) argument
1168 mlx5_cq_read_wc_src_qp(struct ibv_cq_ex *ibcq) argument
1175 mlx5_cq_read_wc_dlid_path_bits(struct ibv_cq_ex *ibcq) argument
1182 mlx5_cq_read_wc_completion_ts(struct ibv_cq_ex *ibcq) argument
1189 mlx5_cq_read_wc_cvlan(struct ibv_cq_ex *ibcq) argument
1196 mlx5_cq_read_flow_tag(struct ibv_cq_ex *ibcq) argument
[all...]
/freebsd-11-stable/sys/dev/mlx4/mlx4_ib/
H A Dmlx4_ib_cq.c45 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
373 mlx4_ib_resize_cq(struct ib_cq *ibcq, int entries, struct ib_udata *udata) argument
872 mlx4_ib_poll_cq(struct ib_cq *ibcq, int num_entries, struct ib_wc *wc) argument
900 mlx4_ib_arm_cq(struct ib_cq *ibcq, enum ib_cq_notify_flags flags) argument
[all...]
H A Dmlx4_ib.h122 struct ib_cq ibcq; member in struct:mlx4_ib_cq
654 static inline struct mlx4_ib_cq *to_mcq(struct ib_cq *ibcq) argument
656 return container_of(ibcq, struct mlx4_ib_cq, ibcq);
744 int mlx4_ib_resize_cq(struct ib_cq *ibcq, int entries, struct ib_udata *udata);
750 int mlx4_ib_poll_cq(struct ib_cq *ibcq, int num_entries, struct ib_wc *wc);
/freebsd-11-stable/contrib/ofed/libmlx4/
H A Dcq.c397 int mlx4_poll_cq(struct ibv_cq *ibcq, int ne, struct ibv_wc *wc) argument
399 struct mlx4_cq *cq = to_mcq(ibcq);
420 static inline void _mlx4_end_poll(struct ibv_cq_ex *ibcq, int lock)
422 static inline void _mlx4_end_poll(struct ibv_cq_ex *ibcq, int lock) argument
424 struct mlx4_cq *cq = to_mcq(ibv_cq_ex_to_cq(ibcq));
432 static inline int _mlx4_start_poll(struct ibv_cq_ex *ibcq,
436 static inline int _mlx4_start_poll(struct ibv_cq_ex *ibcq, argument
440 struct mlx4_cq *cq = to_mcq(ibv_cq_ex_to_cq(ibcq));
466 static int mlx4_next_poll(struct ibv_cq_ex *ibcq) argument
468 struct mlx4_cq *cq = to_mcq(ibv_cq_ex_to_cq(ibcq));
479 mlx4_end_poll(struct ibv_cq_ex *ibcq) argument
484 mlx4_end_poll_lock(struct ibv_cq_ex *ibcq) argument
489 mlx4_start_poll(struct ibv_cq_ex *ibcq, struct ibv_poll_cq_attr *attr) argument
495 mlx4_start_poll_lock(struct ibv_cq_ex *ibcq, struct ibv_poll_cq_attr *attr) argument
501 mlx4_cq_read_wc_opcode(struct ibv_cq_ex *ibcq) argument
539 mlx4_cq_read_wc_qp_num(struct ibv_cq_ex *ibcq) argument
546 mlx4_cq_read_wc_flags(struct ibv_cq_ex *ibcq) argument
581 mlx4_cq_read_wc_byte_len(struct ibv_cq_ex *ibcq) argument
588 mlx4_cq_read_wc_vendor_err(struct ibv_cq_ex *ibcq) argument
596 mlx4_cq_read_wc_imm_data(struct ibv_cq_ex *ibcq) argument
608 mlx4_cq_read_wc_slid(struct ibv_cq_ex *ibcq) argument
615 mlx4_cq_read_wc_sl(struct ibv_cq_ex *ibcq) argument
625 mlx4_cq_read_wc_src_qp(struct ibv_cq_ex *ibcq) argument
632 mlx4_cq_read_wc_dlid_path_bits(struct ibv_cq_ex *ibcq) argument
639 mlx4_cq_read_wc_completion_ts(struct ibv_cq_ex *ibcq) argument
[all...]
H A Dverbs.c574 int mlx4_resize_cq(struct ibv_cq *ibcq, int cqe) argument
576 struct mlx4_cq *cq = to_mcq(ibcq);
589 if (cqe == ibcq->cqe + 1) {
601 ret = mlx4_alloc_cq_buf(to_mdev(ibcq->context->device), &buf, cqe, cq->cqe_size);
605 old_cqe = ibcq->cqe;
608 ret = ibv_cmd_resize_cq(ibcq, cqe - 1, &cmd.ibv_cmd, sizeof cmd,
H A Dmlx4.h324 static inline struct mlx4_cq *to_mcq(struct ibv_cq *ibcq) argument
/freebsd-11-stable/sys/dev/mthca/
H A Dmthca_cq.c181 return cqe_sw(get_cqe(cq, cq->cons_index & cq->ibcq.cqe));
235 cq->ibcq.comp_handler(&cq->ibcq, cq->ibcq.cq_context);
259 event.element.cq = &cq->ibcq;
260 if (cq->ibcq.event_handler)
261 cq->ibcq.event_handler(&event, cq->ibcq.cq_context);
295 cqe_sw(get_cqe(cq, prod_index & cq->ibcq.cqe));
297 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.h204 struct ib_cq ibcq; member in struct:mthca_cq
326 static inline struct mthca_cq *to_mcq(struct ib_cq *ibcq) argument
328 return container_of(ibcq, struct mthca_cq, ibcq);
H A Dmthca_provider.c713 return &cq->ibcq;
776 static int mthca_resize_cq(struct ib_cq *ibcq, int entries, struct ib_udata *udata) argument
778 struct mthca_dev *dev = to_mdev(ibcq->device);
779 struct mthca_cq *cq = to_mcq(ibcq);
790 if (entries == ibcq->cqe + 1) {
830 tcqe = cq->ibcq.cqe;
832 cq->ibcq.cqe = cq->resize_buf->cqe;
844 ibcq->cqe = entries - 1;
/freebsd-11-stable/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.c230 chp->ibcq.cqe = 1 << chp->cq.size_log2;
244 iwch_destroy_cq(&chp->ibcq);
271 iwch_destroy_cq(&chp->ibcq);
279 return &chp->ibcq;
291 iwch_arm_cq(struct ib_cq *ibcq, enum ib_cq_notify_flags flags) argument
299 chp = to_iwch_cq(ibcq);
/freebsd-11-stable/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);
204 (*chp->ibcq.comp_handler)(&chp->ibcq, chp->ibcq.cq_context);
H A Dqp.c635 (*schp->ibcq.comp_handler)(&schp->ibcq,
636 schp->ibcq.cq_context);
665 (*rchp->ibcq.comp_handler)(&rchp->ibcq,
666 rchp->ibcq.cq_context);
1191 (*rchp->ibcq.comp_handler)(&rchp->ibcq,
1192 rchp->ibcq.cq_context);
1198 (*rchp->ibcq
[all...]
H A Dcq.c863 int c4iw_poll_cq(struct ib_cq *ibcq, int num_entries, struct ib_wc *wc) argument
870 chp = to_c4iw_cq(ibcq);
973 chp->ibcq.cqe = entries - 2;
1021 return &chp->ibcq;
1041 int c4iw_arm_cq(struct ib_cq *ibcq, enum ib_cq_notify_flags flags) argument
1047 chp = to_c4iw_cq(ibcq);
H A Diw_cxgbe.h415 struct ib_cq ibcq; member in struct:c4iw_cq
424 static inline struct c4iw_cq *to_c4iw_cq(struct ib_cq *ibcq) argument
426 return container_of(ibcq, struct c4iw_cq, ibcq);
919 int c4iw_poll_cq(struct ib_cq *ibcq, int num_entries, struct ib_wc *wc);
949 int c4iw_arm_cq(struct ib_cq *ibcq, enum ib_cq_notify_flags flags);
/freebsd-11-stable/sys/dev/mlx5/mlx5_ib/
H A Dmlx5_ib_cq.c36 struct ib_cq *ibcq = &to_mibcq(cq)->ibcq; local
38 ibcq->comp_handler(ibcq, ibcq->cq_context);
44 struct mlx5_ib_dev *dev = to_mdev(cq->ibcq.device);
45 struct ib_cq *ibcq = &cq->ibcq; local
54 if (ibcq->event_handler) {
57 event.element.cq = ibcq;
665 mlx5_ib_poll_cq(struct ib_cq *ibcq, int num_entries, struct ib_wc *wc) argument
697 mlx5_ib_arm_cq(struct ib_cq *ibcq, enum ib_cq_notify_flags flags) argument
1241 mlx5_ib_resize_cq(struct ib_cq *ibcq, int entries, struct ib_udata *udata) argument
1370 mlx5_ib_get_cqe_size(struct mlx5_ib_dev *dev, struct ib_cq *ibcq) argument
1382 mlx5_ib_generate_wc(struct ib_cq *ibcq, struct ib_wc *wc) argument
[all...]
H A Dmlx5_ib.h432 struct ib_cq ibcq; member in struct:mlx5_ib_cq
716 static inline struct mlx5_ib_cq *to_mcq(struct ib_cq *ibcq) argument
718 return container_of(ibcq, struct mlx5_ib_cq, ibcq);
829 int mlx5_ib_poll_cq(struct ib_cq *ibcq, int num_entries, struct ib_wc *wc);
830 int mlx5_ib_arm_cq(struct ib_cq *ibcq, enum ib_cq_notify_flags flags);
832 int mlx5_ib_resize_cq(struct ib_cq *ibcq, int entries, struct ib_udata *udata);
895 int mlx5_ib_get_cqe_size(struct mlx5_ib_dev *dev, struct ib_cq *ibcq);
972 int mlx5_ib_generate_wc(struct ib_cq *ibcq, struct ib_wc *wc);
/freebsd-11-stable/contrib/ofed/libcxgb4/
H A Dcq.c711 int c4iw_poll_cq(struct ibv_cq *ibcq, int num_entries, struct ibv_wc *wc) argument
717 chp = to_c4iw_cq(ibcq);
739 int c4iw_arm_cq(struct ibv_cq *ibcq, int solicited) argument
745 chp = to_c4iw_cq(ibcq);
H A Dverbs.c242 int c4iw_resize_cq(struct ibv_cq *ibcq, int cqe) argument
249 ret = ibv_cmd_resize_cq(ibcq, cqe, &cmd, sizeof cmd, &resp, sizeof resp);
257 int c4iw_destroy_cq(struct ibv_cq *ibcq) argument
260 struct c4iw_cq *chp = to_c4iw_cq(ibcq);
261 struct c4iw_dev *dev = to_c4iw_dev(ibcq->context->device);
264 ret = ibv_cmd_destroy_cq(ibcq);
H A Dlibcxgb4.h141 static inline struct c4iw_cq *to_c4iw_cq(struct ibv_cq *ibcq) argument
/freebsd-11-stable/contrib/ofed/libibverbs/
H A Dcmd.c538 int ibv_cmd_poll_cq(struct ibv_cq *ibcq, int ne, struct ibv_wc *wc) argument
552 cmd.cq_handle = ibcq->handle;
555 if (write(ibcq->context->cmd_fd, &cmd, sizeof cmd) != sizeof cmd) {
585 int ibv_cmd_req_notify_cq(struct ibv_cq *ibcq, int solicited_only) argument
590 cmd.cq_handle = ibcq->handle;
593 if (write(ibcq->context->cmd_fd, &cmd, sizeof cmd) != sizeof cmd)

Completed in 592 milliseconds

12