| /trueos/contrib/ofed/libmthca/src/ |
| HD | mthca.h | 207 struct ibv_qp ibv_qp; member 278 static inline struct mthca_qp *to_mqp(struct ibv_qp *ibqp) in to_mqp() 347 struct ibv_qp *mthca_create_qp(struct ibv_pd *pd, struct ibv_qp_init_attr *attr); 348 int mthca_query_qp(struct ibv_qp *qp, struct ibv_qp_attr *attr, 351 int mthca_modify_qp(struct ibv_qp *qp, struct ibv_qp_attr *attr, 353 int mthca_destroy_qp(struct ibv_qp *qp); 355 int mthca_tavor_post_send(struct ibv_qp *ibqp, struct ibv_send_wr *wr, 357 int mthca_tavor_post_recv(struct ibv_qp *ibqp, struct ibv_recv_wr *wr, 359 int mthca_arbel_post_send(struct ibv_qp *ibqp, struct ibv_send_wr *wr, 361 int mthca_arbel_post_recv(struct ibv_qp *ibqp, struct ibv_recv_wr *wr, [all …]
|
| HD | verbs.c | 507 struct ibv_qp *mthca_create_qp(struct ibv_pd *pd, struct ibv_qp_init_attr *attr) in mthca_create_qp() 570 ret = ibv_cmd_create_qp(pd, &qp->ibv_qp, attr, &cmd.ibv_cmd, sizeof cmd, in mthca_create_qp() 576 mthca_set_db_qn(qp->sq.db, MTHCA_DB_TYPE_SQ, qp->ibv_qp.qp_num); in mthca_create_qp() 577 mthca_set_db_qn(qp->rq.db, MTHCA_DB_TYPE_RQ, qp->ibv_qp.qp_num); in mthca_create_qp() 580 ret = mthca_store_qp(to_mctx(pd->context), qp->ibv_qp.qp_num, qp); in mthca_create_qp() 591 return &qp->ibv_qp; in mthca_create_qp() 594 ibv_cmd_destroy_qp(&qp->ibv_qp); in mthca_create_qp() 620 int mthca_query_qp(struct ibv_qp *qp, struct ibv_qp_attr *attr, in mthca_query_qp() 629 int mthca_modify_qp(struct ibv_qp *qp, struct ibv_qp_attr *attr, in mthca_modify_qp() 656 static void mthca_lock_cqs(struct ibv_qp *qp) in mthca_lock_cqs() [all …]
|
| HD | qp.c | 101 int mthca_tavor_post_send(struct ibv_qp *ibqp, struct ibv_send_wr *wr, in mthca_tavor_post_send() 127 if (wq_overflow(&qp->sq, nreq, to_mcq(qp->ibv_qp.send_cq))) { in mthca_tavor_post_send() 334 int mthca_tavor_post_recv(struct ibv_qp *ibqp, struct ibv_recv_wr *wr, in mthca_tavor_post_recv() 353 if (wq_overflow(&qp->rq, nreq, to_mcq(qp->ibv_qp.recv_cq))) { in mthca_tavor_post_recv() 442 int mthca_arbel_post_send(struct ibv_qp *ibqp, struct ibv_send_wr *wr, in mthca_arbel_post_send() 497 if (wq_overflow(&qp->sq, nreq, to_mcq(qp->ibv_qp.send_cq))) { in mthca_arbel_post_send() 707 int mthca_arbel_post_recv(struct ibv_qp *ibqp, struct ibv_recv_wr *wr, in mthca_arbel_post_recv() 724 if (wq_overflow(&qp->rq, nreq, to_mcq(qp->ibv_qp.recv_cq))) { in mthca_arbel_post_recv() 944 if (qp->ibv_qp.srq && !is_send) { in mthca_free_err_wqe()
|
| HD | cq.c | 324 if (!*cur_qp || ntohl(cqe->my_qpn) != (*cur_qp)->ibv_qp.qp_num) { in mthca_poll_one() 337 wc->qp_num = (*cur_qp)->ibv_qp.qp_num; in mthca_poll_one() 343 } else if ((*cur_qp)->ibv_qp.srq) { in mthca_poll_one() 344 srq = to_msrq((*cur_qp)->ibv_qp.srq); in mthca_poll_one()
|
| /trueos/contrib/ofed/libibverbs/include/infiniband/ |
| HD | driver.h | 117 struct ibv_qp *qp, struct ibv_qp_init_attr *attr, 120 int ibv_cmd_query_qp(struct ibv_qp *qp, struct ibv_qp_attr *qp_attr, 124 int ibv_cmd_modify_qp(struct ibv_qp *qp, struct ibv_qp_attr *attr, 127 int ibv_cmd_destroy_qp(struct ibv_qp *qp); 128 int ibv_cmd_post_send(struct ibv_qp *ibqp, struct ibv_send_wr *wr, 130 int ibv_cmd_post_recv(struct ibv_qp *ibqp, struct ibv_recv_wr *wr, 137 int ibv_cmd_attach_mcast(struct ibv_qp *qp, const union ibv_gid *gid, uint16_t lid); 138 int ibv_cmd_detach_mcast(struct ibv_qp *qp, const union ibv_gid *gid, uint16_t lid);
|
| HD | verbs.h | 224 struct ibv_qp *qp; 588 struct ibv_qp { struct 703 int (*bind_mw)(struct ibv_qp *qp, struct ibv_mw *mw, 725 struct ibv_qp * (*create_qp)(struct ibv_pd *pd, struct ibv_qp_init_attr *attr); 726 int (*query_qp)(struct ibv_qp *qp, struct ibv_qp_attr *attr, 729 int (*modify_qp)(struct ibv_qp *qp, struct ibv_qp_attr *attr, 731 int (*destroy_qp)(struct ibv_qp *qp); 732 int (*post_send)(struct ibv_qp *qp, struct ibv_send_wr *wr, 734 int (*post_recv)(struct ibv_qp *qp, struct ibv_recv_wr *wr, 738 int (*attach_mcast)(struct ibv_qp *qp, const union ibv_gid *gid, [all …]
|
| /trueos/contrib/ofed/libmlx4/src/ |
| HD | mlx4.h | 258 struct ibv_qp ibv_qp; member 333 static inline struct mlx4_qp *to_mqp(struct ibv_qp *ibqp) in to_mqp() 402 struct ibv_qp *mlx4_create_qp(struct ibv_pd *pd, struct ibv_qp_init_attr *attr); 403 int mlx4_query_qp(struct ibv_qp *qp, struct ibv_qp_attr *attr, 406 int mlx4_modify_qp(struct ibv_qp *qp, struct ibv_qp_attr *attr, 408 int mlx4_destroy_qp(struct ibv_qp *qp); 411 int mlx4_post_send(struct ibv_qp *ibqp, struct ibv_send_wr *wr, 413 int mlx4_post_recv(struct ibv_qp *ibqp, struct ibv_recv_wr *wr,
|
| HD | verbs.c | 447 struct ibv_qp *mlx4_create_qp(struct ibv_pd *pd, struct ibv_qp_init_attr *attr) in mlx4_create_qp() 515 ret = ibv_cmd_create_qp(pd, &qp->ibv_qp, attr, &cmd.ibv_cmd, sizeof cmd, in mlx4_create_qp() 520 ret = mlx4_store_qp(to_mctx(pd->context), qp->ibv_qp.qp_num, qp); in mlx4_create_qp() 535 qp->doorbell_qpn = htonl(qp->ibv_qp.qp_num << 8); in mlx4_create_qp() 541 return &qp->ibv_qp; in mlx4_create_qp() 544 ibv_cmd_destroy_qp(&qp->ibv_qp); in mlx4_create_qp() 563 int mlx4_query_qp(struct ibv_qp *ibqp, struct ibv_qp_attr *attr, in mlx4_query_qp() 584 int mlx4_modify_qp(struct ibv_qp *qp, struct ibv_qp_attr *attr, in mlx4_modify_qp() 614 static void mlx4_lock_cqs(struct ibv_qp *qp) in mlx4_lock_cqs() 630 static void mlx4_unlock_cqs(struct ibv_qp *qp) in mlx4_unlock_cqs() [all …]
|
| HD | qp.c | 189 int mlx4_post_send(struct ibv_qp *ibqp, struct ibv_send_wr *wr, in mlx4_post_send() 210 if (wq_overflow(&qp->sq, nreq, to_mcq(qp->ibv_qp.send_cq))) { in mlx4_post_send() 445 int mlx4_post_recv(struct ibv_qp *ibqp, struct ibv_recv_wr *wr, in mlx4_post_recv() 462 if (wq_overflow(&qp->rq, nreq, to_mcq(qp->ibv_qp.recv_cq))) { in mlx4_post_recv() 635 struct mlx4_context *ctx = to_mctx(qp->ibv_qp.context); in mlx4_set_sq_sizes()
|
| HD | cq.c | 236 } else if (!*cur_qp || (qpn & 0xffffff) != (*cur_qp)->ibv_qp.qp_num) { in mlx4_poll_one() 260 } else if ((*cur_qp)->ibv_qp.srq) { in mlx4_poll_one() 261 srq = to_msrq((*cur_qp)->ibv_qp.srq); in mlx4_poll_one()
|
| /trueos/contrib/ofed/libibverbs/fixes/ |
| HD | pthread_cond_t_fields.patch | 6 The structs modified are: ibv_cq, ibv_srq, and ibv_qp. 33 struct ibv_qp { 34 @@ -586,11 +587,12 @@ struct ibv_qp {
|
| HD | verbs_man_page.patch | 163 +struct ibv_qp *ibv_create_qp(struct ibv_pd *pd, 165 +int ibv_destroy_qp(struct ibv_qp *qp); 166 +int ibv_modify_qp(struct ibv_qp *qp, struct ibv_qp_attr *attr, 168 +int ibv_query_qp(struct ibv_qp *qp, struct ibv_qp_attr *attr, 173 +int ibv_post_send(struct ibv_qp *qp, struct ibv_send_wr *wr, 175 +int ibv_post_recv(struct ibv_qp *qp, struct ibv_recv_wr *wr, 183 +int ibv_attach_mcast(struct ibv_qp *qp, union ibv_gid *gid, uint16_t lid); 184 +int ibv_detach_mcast(struct ibv_qp *qp, union ibv_gid *gid, uint16_t lid);
|
| HD | XRC_base_implementation.patch | 38 @@ -134,6 +139,12 @@ int ibv_cmd_detach_mcast(struct ibv_qp * 192 struct ibv_qp { 193 @@ -571,6 +584,8 @@ struct ibv_qp { 353 @@ -722,6 +752,8 @@ int ibv_cmd_query_qp(struct ibv_qp *qp, 362 @@ -1122,3 +1154,41 @@ int ibv_cmd_detach_mcast(struct ibv_qp * 468 @@ -410,6 +439,8 @@ struct ibv_qp *__ibv_create_qp(struct ib 477 @@ -543,3 +574,26 @@ int __ibv_detach_mcast(struct ibv_qp *qp
|
| HD | rocee_get_mac.patch | 20 int ibv_cmd_attach_mcast(struct ibv_qp *qp, const union ibv_gid *gid, uint16_t lid); 21 int ibv_cmd_detach_mcast(struct ibv_qp *qp, const union ibv_gid *gid, uint16_t lid);
|
| HD | XRC_RCV_QP.patch | 183 struct ibv_qp *qp; 326 @@ -828,6 +828,188 @@ int ibv_cmd_modify_qp(struct ibv_qp *qp, 512 static int ibv_cmd_destroy_qp_v1(struct ibv_qp *qp)
|
| /trueos/contrib/ofed/libmlx4/fixes/ |
| HD | lim_qp_resources.patch | 18 + struct mlx4_context *ctx = to_mctx(qp->ibv_qp.context); 38 @@ -390,12 +390,14 @@ struct ibv_qp *mlx4_create_qp(struct ibv 57 @@ -461,8 +463,14 @@ struct ibv_qp *mlx4_create_qp(struct ibv 72 qp->doorbell_qpn = htonl(qp->ibv_qp.qp_num << 8);
|
| HD | xrc_consolidated_v2.patch | 58 - (ntohl(cqe->my_qpn) & 0xffffff) != (*cur_qp)->ibv_qp.qp_num) { 69 + } else if (!*cur_qp || (qpn & 0xffffff) != (*cur_qp)->ibv_qp.qp_num) { 82 - wc->qp_num = (*cur_qp)->ibv_qp.qp_num; 95 } else if ((*cur_qp)->ibv_qp.srq) { 96 srq = to_msrq((*cur_qp)->ibv_qp.srq); 286 struct ibv_qp *mlx4_create_qp(struct ibv_pd *pd, struct ibv_qp_init_attr *attr); 287 int mlx4_query_qp(struct ibv_qp *qp, struct ibv_qp_attr *attr, 309 @@ -226,7 +226,7 @@ int mlx4_post_send(struct ibv_qp *ibqp, struct ibv_send_wr *wr, 318 @@ -243,6 +243,9 @@ int mlx4_post_send(struct ibv_qp *ibqp, struct ibv_send_wr *wr, 450 @@ -415,7 +433,7 @@ struct ibv_qp *mlx4_create_qp(struct ibv_pd *pd, struct ibv_qp_init_attr *attr) [all …]
|
| HD | fix_inline_size.patch | 65 struct ibv_qp *mlx4_create_qp(struct ibv_pd *pd, struct ibv_qp_init_attr *attr) 68 @@ -412,11 +450,7 @@ struct ibv_qp *mlx4_create_qp(struct ibv 96 @@ -410,6 +414,7 @@ int mlx4_post_recv(struct ibv_qp *ibqp, 119 struct mlx4_context *ctx = to_mctx(qp->ibv_qp.context);
|
| HD | rocee_add_support.patch | 48 @@ -284,6 +286,11 @@ int mlx4_post_send(struct ibv_qp *ibqp, 73 @@ -643,12 +643,14 @@ int mlx4_destroy_qp(struct ibv_qp *ibqp)
|
| /trueos/contrib/ofed/libibverbs/src/ |
| HD | verbs.c | 427 struct ibv_qp *__ibv_create_qp(struct ibv_pd *pd, in __ibv_create_qp() 430 struct ibv_qp *qp = pd->context->ops.create_qp(pd, qp_init_attr); in __ibv_create_qp() 452 int __ibv_query_qp(struct ibv_qp *qp, struct ibv_qp_attr *attr, in __ibv_query_qp() 469 int __ibv_modify_qp(struct ibv_qp *qp, struct ibv_qp_attr *attr, in __ibv_modify_qp() 485 int __ibv_destroy_qp(struct ibv_qp *qp) in __ibv_destroy_qp() 566 int __ibv_attach_mcast(struct ibv_qp *qp, const union ibv_gid *gid, uint16_t lid) in __ibv_attach_mcast() 572 int __ibv_detach_mcast(struct ibv_qp *qp, const union ibv_gid *gid, uint16_t lid) in __ibv_detach_mcast()
|
| HD | compat-1_0.c | 135 struct ibv_qp *real_qp; 198 struct ibv_qp * (*create_qp)(struct ibv_pd *pd, struct ibv_qp_init_attr *attr); 199 int (*query_qp)(struct ibv_qp *qp, struct ibv_qp_attr *attr, 202 int (*modify_qp)(struct ibv_qp *qp, struct ibv_qp_attr *attr, 204 int (*destroy_qp)(struct ibv_qp *qp); 213 int (*attach_mcast)(struct ibv_qp *qp, union ibv_gid *gid, 215 int (*detach_mcast)(struct ibv_qp *qp, union ibv_gid *gid, 767 struct ibv_qp *real_qp; in __ibv_create_qp_1_0()
|
| HD | cmd.c | 625 struct ibv_qp *qp, struct ibv_qp_init_attr *attr, in ibv_cmd_create_qp() 684 int ibv_cmd_query_qp(struct ibv_qp *qp, struct ibv_qp_attr *attr, in ibv_cmd_query_qp() 768 int ibv_cmd_modify_qp(struct ibv_qp *qp, struct ibv_qp_attr *attr, in ibv_cmd_modify_qp() 1014 static int ibv_cmd_destroy_qp_v1(struct ibv_qp *qp) in ibv_cmd_destroy_qp_v1() 1027 int ibv_cmd_post_send(struct ibv_qp *ibqp, struct ibv_send_wr *wr, in ibv_cmd_post_send() 1117 int ibv_cmd_post_recv(struct ibv_qp *ibqp, struct ibv_recv_wr *wr, in ibv_cmd_post_recv() 1284 int ibv_cmd_destroy_qp(struct ibv_qp *qp) in ibv_cmd_destroy_qp() 1309 int ibv_cmd_attach_mcast(struct ibv_qp *qp, const union ibv_gid *gid, uint16_t lid) in ibv_cmd_attach_mcast() 1325 int ibv_cmd_detach_mcast(struct ibv_qp *qp, const union ibv_gid *gid, uint16_t lid) in ibv_cmd_detach_mcast()
|
| HD | device.c | 253 struct ibv_qp *qp = event->element.qp; in __ibv_ack_async_event()
|
| /trueos/contrib/ofed/librdmacm/include/rdma/ |
| HD | rdma_cma.h | 113 struct ibv_qp *qp;
|
| /trueos/contrib/ofed/librdmacm/src/ |
| HD | cma.c | 706 static int ucma_init_conn_qp3(struct cma_id_private *id_priv, struct ibv_qp *qp) in ucma_init_conn_qp3() 725 static int ucma_init_conn_qp(struct cma_id_private *id_priv, struct ibv_qp *qp) in ucma_init_conn_qp() 741 static int ucma_init_ud_qp3(struct cma_id_private *id_priv, struct ibv_qp *qp) in ucma_init_ud_qp3() 771 static int ucma_init_ud_qp(struct cma_id_private *id_priv, struct ibv_qp *qp) in ucma_init_ud_qp() 802 struct ibv_qp *qp; in rdma_create_qp()
|