Home
last modified time | relevance | path

Searched refs:ibv_cq (Results 1 – 25 of 32) sorted by relevance

12

/freebsd/contrib/ofed/libmlx4/
H A Dcq.c108 !!(n & (cq->ibv_cq.cqe + 1))) ? NULL : cqe; in get_sw_cqe()
252 mctx = to_mctx(cq->ibv_cq.context); in mlx4_parse_cqe()
288 pwr_id = lazy ? &cq->ibv_cq.wr_id : &wc->wr_id; in mlx4_parse_cqe()
652 cq->ibv_cq.start_poll = mlx4_start_poll; in mlx4_cq_fill_pfns()
653 cq->ibv_cq.end_poll = mlx4_end_poll; in mlx4_cq_fill_pfns()
655 cq->ibv_cq.start_poll = mlx4_start_poll_lock; in mlx4_cq_fill_pfns()
656 cq->ibv_cq.end_poll = mlx4_end_poll_lock; in mlx4_cq_fill_pfns()
658 cq->ibv_cq.next_poll = mlx4_next_poll; in mlx4_cq_fill_pfns()
672 cq->ibv_cq.read_slid = mlx4_cq_read_wc_slid; in mlx4_cq_fill_pfns()
674 cq->ibv_cq.read_sl = mlx4_cq_read_wc_sl; in mlx4_cq_fill_pfns()
[all …]
H A Dmlx4.h178 struct ibv_cq_ex ibv_cq; member
324 static inline struct mlx4_cq *to_mcq(struct ibv_cq *ibcq) in to_mcq()
384 struct ibv_cq *mlx4_create_cq(struct ibv_context *context, int cqe,
392 int mlx4_resize_cq(struct ibv_cq *cq, int cqe);
393 int mlx4_destroy_cq(struct ibv_cq *cq);
394 int mlx4_poll_cq(struct ibv_cq *cq, int ne, struct ibv_wc *wc);
395 int mlx4_arm_cq(struct ibv_cq *cq, int solicited);
396 void mlx4_cq_event(struct ibv_cq *cq);
H A Dverbs.c417 ibv_cq_ex_to_cq(&cq->ibv_cq), in mlx4_cmd_create_cq()
439 &cq->ibv_cq, &cmd.ibv_cmd, in mlx4_cmd_create_cq_ex()
530 return &cq->ibv_cq; in create_cq()
547 struct ibv_cq *mlx4_create_cq(struct ibv_context *context, int cqe, in mlx4_create_cq()
577 int mlx4_resize_cq(struct ibv_cq *ibcq, int cqe) in mlx4_resize_cq()
629 int mlx4_destroy_cq(struct ibv_cq *cq) in mlx4_destroy_cq()
/freebsd/contrib/ofed/libcxgb4/
H A Dlibcxgb4.h104 struct ibv_cq ibv_cq; member
141 static inline struct c4iw_cq *to_c4iw_cq(struct ibv_cq *ibcq) in to_c4iw_cq()
186 struct ibv_cq *c4iw_create_cq(struct ibv_context *context, int cqe,
189 int c4iw_resize_cq(struct ibv_cq *cq, int cqe);
190 int c4iw_destroy_cq(struct ibv_cq *cq);
191 int c4iw_poll_cq(struct ibv_cq *cq, int ne, struct ibv_wc *wc);
192 int c4iw_arm_cq(struct ibv_cq *cq, int solicited);
193 void c4iw_cq_event(struct ibv_cq *cq);
H A Dverbs.c168 struct ibv_cq *c4iw_create_cq(struct ibv_context *context, int cqe, in c4iw_create_cq()
184 &chp->ibv_cq, &cmd, sizeof cmd, in c4iw_create_cq()
232 return &chp->ibv_cq; in c4iw_create_cq()
240 (void)ibv_cmd_destroy_cq(&chp->ibv_cq); in c4iw_create_cq()
246 int c4iw_resize_cq(struct ibv_cq *ibcq, int cqe) in c4iw_resize_cq()
261 int c4iw_destroy_cq(struct ibv_cq *ibcq) in c4iw_destroy_cq()
H A Dcq.c711 int c4iw_poll_cq(struct ibv_cq *ibcq, int num_entries, struct ibv_wc *wc) in c4iw_poll_cq()
739 int c4iw_arm_cq(struct ibv_cq *ibcq, int solicited) in c4iw_arm_cq()
/freebsd/contrib/ofed/libmlx5/
H A Dcq.c83 void *cqe = get_cqe(cq, n & cq->ibv_cq.cqe); in get_sw_cqe()
153 cq->ibv_cq.wr_id = srq->wrid[wqe_ctr]; in handle_responder_lazy()
171 cq->ibv_cq.wr_id = wq->wrid[wqe_ctr]; in handle_responder_lazy()
583 cq->ibv_cq.wr_id = wq->wrid[idx]; in mlx5_parse_cqe()
584 cq->ibv_cq.status = err; in mlx5_parse_cqe()
657 cq->ibv_cq.wr_id = wq->wrid[idx]; in mlx5_parse_cqe()
1252 cq->ibv_cq.start_poll = poll_ops->start_poll; in mlx5_cq_fill_pfns()
1253 cq->ibv_cq.next_poll = poll_ops->next_poll; in mlx5_cq_fill_pfns()
1254 cq->ibv_cq.end_poll = poll_ops->end_poll; in mlx5_cq_fill_pfns()
1270 cq->ibv_cq.read_sl = mlx5_cq_read_wc_sl; in mlx5_cq_fill_pfns()
[all …]
H A Dmlx5.h318 struct ibv_cq_ex ibv_cq; member
495 static inline struct mlx5_cq *to_mcq(struct ibv_cq *ibcq) in to_mcq()
594 struct ibv_cq *mlx5_create_cq(struct ibv_context *context, int cqe,
603 int mlx5_resize_cq(struct ibv_cq *cq, int cqe);
604 int mlx5_destroy_cq(struct ibv_cq *cq);
605 int mlx5_poll_cq(struct ibv_cq *cq, int ne, struct ibv_wc *wc);
606 int mlx5_poll_cq_v1(struct ibv_cq *cq, int ne, struct ibv_wc *wc);
607 int mlx5_arm_cq(struct ibv_cq *cq, int solicited);
608 void mlx5_cq_event(struct ibv_cq *cq);
H A Dverbs.c457 ibv_cq_ex_to_cq(&cq->ibv_cq), &cmd.ibv_cmd, in create_cq()
474 return &cq->ibv_cq; in create_cq()
491 struct ibv_cq *mlx5_create_cq(struct ibv_context *context, int cqe, in mlx5_create_cq()
539 int mlx5_resize_cq(struct ibv_cq *ibcq, int cqe) in mlx5_resize_cq()
559 cq->active_cqes = cq->ibv_cq.cqe; in mlx5_resize_cq()
593 cq->ibv_cq.cqe = cqe - 1; in mlx5_resize_cq()
607 int mlx5_destroy_cq(struct ibv_cq *cq) in mlx5_destroy_cq()
H A Dmlx5dv.h161 struct ibv_cq *in;
/freebsd/contrib/ofed/libirdma/
H A Dirdma_umain.h105 struct ibv_cq cq;
166 struct ibv_cq *irdma_ucreate_cq(struct ibv_context *context, int cqe,
173 int irdma_uresize_cq(struct ibv_cq *cq, int cqe);
174 int irdma_udestroy_cq(struct ibv_cq *cq);
175 int irdma_upoll_cq(struct ibv_cq *cq, int entries, struct ibv_wc *entry);
176 int irdma_uarm_cq(struct ibv_cq *cq, int solicited);
177 void irdma_cq_event(struct ibv_cq *cq);
H A Dirdma_uverbs.c549 struct ibv_cq *
614 irdma_udestroy_cq(struct ibv_cq *cq) in irdma_udestroy_cq()
915 irdma_upoll_cq(struct ibv_cq *cq, int num_entries, struct ibv_wc *entry) in irdma_upoll_cq()
1170 irdma_uarm_cq(struct ibv_cq *cq, int solicited) in irdma_uarm_cq()
1205 irdma_cq_event(struct ibv_cq *cq) in irdma_cq_event()
1975 irdma_uresize_cq(struct ibv_cq *cq, int cqe) in irdma_uresize_cq()
/freebsd/contrib/ofed/libibverbs/
H A Dverbs.h374 struct ibv_cq *cq;
674 struct ibv_cq *cq;
698 struct ibv_cq *cq;
775 struct ibv_cq *send_cq;
776 struct ibv_cq *recv_cq;
810 struct ibv_cq *send_cq;
811 struct ibv_cq *recv_cq;
1024 struct ibv_cq *cq;
1042 struct ibv_cq *send_cq;
1061 struct ibv_cq { struct
[all …]
H A Ddriver.h82 struct ibv_cq *cq;
133 int verbs_init_cq(struct ibv_cq *cq, struct ibv_context *context,
136 void verbs_cleanup_cq(struct ibv_cq *cq);
190 int comp_vector, struct ibv_cq *cq,
202 int ibv_cmd_poll_cq(struct ibv_cq *cq, int ne, struct ibv_wc *wc);
203 int ibv_cmd_req_notify_cq(struct ibv_cq *cq, int solicited_only);
205 int ibv_cmd_resize_cq(struct ibv_cq *cq, int cqe,
208 int ibv_cmd_destroy_cq(struct ibv_cq *cq);
H A Dverbs.c74 struct ibv_cq *__ibv_create_cq(struct ibv_context *context, int cqe,
78 int __ibv_resize_cq(struct ibv_cq *cq, int cqe);
79 int __ibv_destroy_cq(struct ibv_cq *cq);
80 int __ibv_get_cq_event(struct ibv_comp_channel *channel, struct ibv_cq **cq,
82 void __ibv_ack_cq_events(struct ibv_cq *cq, unsigned int nevents);
457 struct ibv_cq *cq; in __ibv_create_cq()
478 int __ibv_resize_cq(struct ibv_cq *cq, int cqe) in __ibv_resize_cq()
487 int __ibv_destroy_cq(struct ibv_cq *cq) in __ibv_destroy_cq()
507 struct ibv_cq **cq, void **cq_context) in __ibv_get_cq_event()
514 *cq = (struct ibv_cq *) (uintptr_t) ev.cq_handle; in __ibv_get_cq_event()
[all …]
H A Dcompat-1_0.c147 struct ibv_cq *real_cq;
175 struct ibv_cq * (*create_cq)(struct ibv_context *context, int cqe,
182 void (*cq_event)(struct ibv_cq *cq);
183 int (*resize_cq)(struct ibv_cq *cq, int cqe);
184 int (*destroy_cq)(struct ibv_cq *cq);
744 struct ibv_cq *real_cq; in __ibv_create_cq_1_0()
791 struct ibv_cq *real_cq; in __ibv_get_cq_event_1_0()
H A Ddevice.c135 int verbs_init_cq(struct ibv_cq *cq, struct ibv_context *context, in verbs_init_cq()
169 void verbs_cleanup_cq(struct ibv_cq *cq) in verbs_cleanup_cq()
376 struct ibv_cq *cq = event->element.cq; in __ibv_ack_async_event()
/freebsd/contrib/ofed/librdmacm/
H A Drdma_cma.h132 struct ibv_cq *send_cq;
134 struct ibv_cq *recv_cq;
H A Drdma_verbs.h254 struct ibv_cq *cq; in rdma_get_send_comp()
285 struct ibv_cq *cq; in rdma_get_recv_comp()
/freebsd/contrib/libpcap/
H A Dpcap-rdmasniff.c56 struct ibv_cq * cq;
118 struct ibv_cq *ev_cq; in rdmasniff_read()
/freebsd/contrib/ofed/libibverbs/examples/
H A Drc_pingpong.c68 struct ibv_cq *cq;
81 static struct ibv_cq *pp_cq(struct pingpong_context *ctx) in pp_cq()
930 struct ibv_cq *ev_cq; in main()
H A Dxsrq_pingpong.c80 struct ibv_cq *send_cq;
81 struct ibv_cq *recv_cq;
803 struct ibv_cq *ev_cq; in get_cq_event()
H A Duc_pingpong.c62 struct ibv_cq *cq;
753 struct ibv_cq *ev_cq; in main()
H A Dud_pingpong.c62 struct ibv_cq *cq;
760 struct ibv_cq *ev_cq; in main()
H A Dsrq_pingpong.c64 struct ibv_cq *cq;
878 struct ibv_cq *ev_cq; in main()

12