/freebsd/contrib/ofed/libmlx4/ |
H A D | cq.c | 104 struct mlx4_cqe *cqe = get_cqe(cq, n & cq->ibv_cq.cqe); in get_sw_cqe() 108 !!(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() 305 pstatus = lazy ? &cq->ibv_cq.status : &wc->status; in mlx4_parse_cqe() 397 int mlx4_poll_cq(struct ibv_cq *ibcq, int ne, struct ibv_wc *wc) in mlx4_poll_cq() 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() [all …]
|
H A D | mlx4.h | 178 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 D | verbs.c | 417 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 D | libcxgb4.h | 104 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 D | verbs.c | 168 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 D | cq.c | 711 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 D | cq.c | 83 void *cqe = get_cqe(cq, n & cq->ibv_cq.cqe); in get_sw_cqe() 89 !((cqe64->op_own & MLX5_CQE_OWNER_MASK) ^ !!(n & (cq->ibv_cq.cqe + 1)))) { 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() 492 struct mlx5_context *mctx = to_mctx(cq->ibv_cq.context); in mlx5_get_next_cqe() 536 mctx = to_mctx(ibv_cq_ex_to_cq(&cq->ibv_cq)->context); in mlx5_parse_cqe() 583 cq->ibv_cq.wr_id = wq->wrid[idx]; in mlx5_parse_cqe() 584 cq->ibv_cq.status = err; in mlx5_parse_cqe() 613 cq->ibv_cq.status = handle_responder_lazy(cq, cqe64, in mlx5_parse_cqe() 627 enum ibv_wc_status *pstatus = lazy ? &cq->ibv_cq.status : &wc->status; in mlx5_parse_cqe() [all …]
|
H A D | mlx5.h | 318 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 D | verbs.c | 457 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 D | mlx5dv.h | 161 struct ibv_cq *in;
|
/freebsd/contrib/ofed/libirdma/ |
H A D | irdma_umain.h | 105 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 D | irdma_uverbs.c | 549 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 D | verbs.h | 374 struct ibv_cq *cq; 676 struct ibv_cq *cq; 700 struct ibv_cq *cq; 777 struct ibv_cq *send_cq; 778 struct ibv_cq *recv_cq; 812 struct ibv_cq *send_cq; 813 struct ibv_cq *recv_cq; 1026 struct ibv_cq *cq; 1044 struct ibv_cq *send_cq; 1045 struct ibv_cq *recv_cq; [all …]
|
H A D | driver.h | 82 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 D | verbs.c | 74 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); 462 struct ibv_cq *__ibv_create_cq(struct ibv_context *context, int cqe, void *cq_context, in __ibv_create_cq() 465 struct ibv_cq *cq; in __ibv_create_cq() 486 int __ibv_resize_cq(struct ibv_cq *cq, int cqe) in __ibv_resize_cq() 495 int __ibv_destroy_cq(struct ibv_cq *cq) in __ibv_destroy_cq() 515 struct ibv_cq **cq, void **cq_context) in __ibv_get_cq_event() [all …]
|
H A D | compat-1_0.c | 147 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 D | device.c | 135 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 D | rdma_cma.h | 132 struct ibv_cq *send_cq; 134 struct ibv_cq *recv_cq;
|
H A D | rdma_verbs.h | 254 struct ibv_cq *cq; in rdma_get_send_comp() 285 struct ibv_cq *cq; in rdma_get_recv_comp()
|
/freebsd/contrib/libpcap/ |
H A D | pcap-rdmasniff.c | 54 struct ibv_cq * cq; 116 struct ibv_cq *ev_cq; in rdmasniff_read()
|
/freebsd/contrib/ofed/libibverbs/examples/ |
H A D | rc_pingpong.c | 68 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 D | xsrq_pingpong.c | 80 struct ibv_cq *send_cq; 81 struct ibv_cq *recv_cq; 803 struct ibv_cq *ev_cq; in get_cq_event()
|
H A D | uc_pingpong.c | 62 struct ibv_cq *cq; 753 struct ibv_cq *ev_cq; in main()
|
H A D | ud_pingpong.c | 62 struct ibv_cq *cq; 760 struct ibv_cq *ev_cq; in main()
|
H A D | srq_pingpong.c | 64 struct ibv_cq *cq; 878 struct ibv_cq *ev_cq; in main()
|