Searched refs:ibqp (Results 1 - 25 of 39) sorted by relevance

12

/freebsd-11-stable/sys/dev/mthca/
H A Dmthca_mcg.c120 int mthca_multicast_attach(struct ib_qp *ibqp, union ib_gid *gid, u16 lid) argument
122 struct mthca_dev *dev = to_mdev(ibqp->device);
165 if (mgm->qp[i] == cpu_to_be32(ibqp->qp_num | (1 << 31))) {
167 ibqp->qp_num);
171 mgm->qp[i] = cpu_to_be32(ibqp->qp_num | (1 << 31));
214 int mthca_multicast_detach(struct ib_qp *ibqp, union ib_gid *gid, u16 lid) argument
216 struct mthca_dev *dev = to_mdev(ibqp->device);
242 if (mgm->qp[i] == cpu_to_be32(ibqp->qp_num | (1 << 31)))
249 mthca_err(dev, "QP %06x not found in MGM\n", ibqp->qp_num);
H A Dmthca_provider.h264 struct ib_qp ibqp; member in struct:mthca_qp
336 static inline struct mthca_qp *to_mqp(struct ib_qp *ibqp) argument
338 return container_of(ibqp, struct mthca_qp, ibqp);
H A Dmthca_qp.c260 event.element.qp = &qp->ibqp;
261 if (qp->ibqp.event_handler)
262 qp->ibqp.event_handler(&event, qp->ibqp.qp_context);
424 int mthca_query_qp(struct ib_qp *ibqp, struct ib_qp_attr *qp_attr, int qp_attr_mask, argument
427 struct mthca_dev *dev = to_mdev(ibqp->device);
428 struct mthca_qp *qp = to_mqp(ibqp);
543 static int __mthca_modify_qp(struct ib_qp *ibqp, argument
547 struct mthca_dev *dev = to_mdev(ibqp->device);
548 struct mthca_qp *qp = to_mqp(ibqp);
842 mthca_modify_qp(struct ib_qp *ibqp, struct ib_qp_attr *attr, int attr_mask, struct ib_udata *udata) argument
1602 mthca_tavor_post_send(struct ib_qp *ibqp, struct ib_send_wr *wr, struct ib_send_wr **bad_wr) argument
1805 mthca_tavor_post_receive(struct ib_qp *ibqp, struct ib_recv_wr *wr, struct ib_recv_wr **bad_wr) argument
1916 mthca_arbel_post_send(struct ib_qp *ibqp, struct ib_send_wr *wr, struct ib_send_wr **bad_wr) argument
2156 mthca_arbel_post_receive(struct ib_qp *ibqp, struct ib_recv_wr *wr, struct ib_recv_wr **bad_wr) argument
[all...]
H A Dmthca_dev.h531 int mthca_query_qp(struct ib_qp *ibqp, struct ib_qp_attr *qp_attr, int qp_attr_mask,
533 int mthca_modify_qp(struct ib_qp *ibqp, struct ib_qp_attr *attr, int attr_mask,
535 int mthca_tavor_post_send(struct ib_qp *ibqp, struct ib_send_wr *wr,
537 int mthca_tavor_post_receive(struct ib_qp *ibqp, struct ib_recv_wr *wr,
539 int mthca_arbel_post_send(struct ib_qp *ibqp, struct ib_send_wr *wr,
541 int mthca_arbel_post_receive(struct ib_qp *ibqp, struct ib_recv_wr *wr,
575 int mthca_multicast_attach(struct ib_qp *ibqp, union ib_gid *gid, u16 lid);
576 int mthca_multicast_detach(struct ib_qp *ibqp, union ib_gid *gid, u16 lid);
/freebsd-11-stable/sys/dev/mlx4/mlx4_ib/
H A Dmlx4_ib_qp.c255 if (qp->ibqp.qp_type == IB_QPT_UD) {
259 av->port_pd = cpu_to_be32((qp->port << 24) | to_mpd(qp->ibqp.pd)->pdn);
296 struct ib_qp *ibqp = &to_mibqp(qp)->ibqp; local
301 if (ibqp->event_handler) {
302 event.device = ibqp->device;
303 event.element.qp = ibqp;
335 ibqp->event_handler(&event, ibqp->qp_context);
999 if (qp->ibqp
1246 struct ib_qp *ibqp; local
1619 __mlx4_ib_modify_qp(struct ib_qp *ibqp, const struct ib_qp_attr *attr, int attr_mask, enum ib_qp_state cur_state, enum ib_qp_state new_state) argument
2159 _mlx4_ib_modify_qp(struct ib_qp *ibqp, struct ib_qp_attr *attr, int attr_mask, struct ib_udata *udata) argument
2263 mlx4_ib_modify_qp(struct ib_qp *ibqp, struct ib_qp_attr *attr, int attr_mask, struct ib_udata *udata) argument
2931 mlx4_ib_post_send(struct ib_qp *ibqp, struct ib_send_wr *wr, struct ib_send_wr **bad_wr) argument
3266 mlx4_ib_post_recv(struct ib_qp *ibqp, struct ib_recv_wr *wr, struct ib_recv_wr **bad_wr) argument
3428 mlx4_ib_query_qp(struct ib_qp *ibqp, struct ib_qp_attr *qp_attr, int qp_attr_mask, struct ib_qp_init_attr *qp_init_attr) argument
[all...]
H A Dmlx4_ib.h299 struct ib_qp ibqp; member in struct:mlx4_ib_qp
684 static inline struct mlx4_ib_qp *to_mqp(struct ib_qp *ibqp) argument
686 return container_of(ibqp, struct mlx4_ib_qp, ibqp);
775 int mlx4_ib_modify_qp(struct ib_qp *ibqp, struct ib_qp_attr *attr,
777 int mlx4_ib_query_qp(struct ib_qp *ibqp, struct ib_qp_attr *qp_attr, int qp_attr_mask,
779 int mlx4_ib_post_send(struct ib_qp *ibqp, struct ib_send_wr *wr,
781 int mlx4_ib_post_recv(struct ib_qp *ibqp, struct ib_recv_wr *wr,
/freebsd-11-stable/sys/dev/cxgb/ulp/iw_cxgb/
H A Diw_cxgb_ev.c128 event.element.qp = &qhp->ibqp;
130 if (qhp->ibqp.event_handler)
131 (*qhp->ibqp.event_handler)(&event, qhp->ibqp.qp_context);
157 iwch_qp_add_ref(&qhp->ibqp);
260 iwch_qp_rem_ref(&qhp->ibqp);
H A Diw_cxgb_provider.h157 struct ib_qp ibqp; member in struct:iwch_qp
175 to_iwch_qp(struct ib_qp *ibqp) argument
177 return container_of(ibqp, struct iwch_qp, ibqp);
329 int iwch_post_send(struct ib_qp *ibqp, struct ib_send_wr *wr,
331 int iwch_post_receive(struct ib_qp *ibqp, struct ib_recv_wr *wr,
H A Diw_cxgb_provider.c104 static int iwch_multicast_attach(struct ib_qp *ibqp, union ib_gid *gid, u16 lid) argument
110 iwch_multicast_detach(struct ib_qp *ibqp, union ib_gid *gid, u16 lid) argument
872 iwch_destroy_qp(&qhp->ibqp);
879 iwch_destroy_qp(&qhp->ibqp);
896 iwch_destroy_qp(&qhp->ibqp);
908 qhp->ibqp.qp_num = qhp->wq.qpid;
915 return &qhp->ibqp;
918 static int iwch_ib_modify_qp(struct ib_qp *ibqp, struct ib_qp_attr *attr, argument
926 CTR2(KTR_IW_CXGB, "%s ib_qp %p", __FUNCTION__, ibqp);
937 qhp = to_iwch_qp(ibqp);
[all...]
/freebsd-11-stable/sys/dev/cxgbe/iw_cxgbe/
H A Dev.c76 event.element.qp = &qhp->ibqp;
77 if (qhp->ibqp.event_handler)
78 (*qhp->ibqp.event_handler)(&event, qhp->ibqp.qp_context);
120 c4iw_qp_add_ref(&qhp->ibqp);
185 c4iw_qp_rem_ref(&qhp->ibqp);
H A Diw_cxgbe.h469 struct ib_qp ibqp; member in struct:c4iw_qp
484 static inline struct c4iw_qp *to_c4iw_qp(struct ib_qp *ibqp) argument
486 return container_of(ibqp, struct c4iw_qp, ibqp);
920 int c4iw_post_send(struct ib_qp *ibqp, struct ib_send_wr *wr,
922 int c4iw_post_receive(struct ib_qp *ibqp, struct ib_recv_wr *wr,
954 int c4iw_ib_modify_qp(struct ib_qp *ibqp, struct ib_qp_attr *attr,
956 int c4iw_ib_query_qp(struct ib_qp *ibqp, struct ib_qp_attr *attr,
H A Dqp.c617 schp = to_c4iw_cq(qhp->ibqp.send_cq);
647 rchp = to_c4iw_cq(qhp->ibqp.recv_cq);
768 int c4iw_post_send(struct ib_qp *ibqp, struct ib_send_wr *wr, argument
783 qhp = to_c4iw_qp(ibqp);
908 int c4iw_post_receive(struct ib_qp *ibqp, struct ib_recv_wr *wr, argument
919 qhp = to_c4iw_qp(ibqp);
1216 rchp = to_c4iw_cq(qhp->ibqp.recv_cq);
1217 schp = to_c4iw_cq(qhp->ibqp.send_cq);
1220 if (qhp->ibqp.uobject) {
1385 if (!qhp->ibqp
1906 c4iw_ib_modify_qp(struct ib_qp *ibqp, struct ib_qp_attr *attr, int attr_mask, struct ib_udata *udata) argument
1951 c4iw_ib_query_qp(struct ib_qp *ibqp, struct ib_qp_attr *attr, int attr_mask, struct ib_qp_init_attr *init_attr) argument
[all...]
/freebsd-11-stable/contrib/ofed/libmlx4/
H A Dverbs.c956 int mlx4_query_qp(struct ibv_qp *ibqp, struct ibv_qp_attr *attr, argument
961 struct mlx4_qp *qp = to_mqp(ibqp);
964 ret = ibv_cmd_query_qp(ibqp, attr, attr_mask, init_attr, &cmd, sizeof cmd);
1085 int mlx4_destroy_qp(struct ibv_qp *ibqp) argument
1087 struct mlx4_qp *qp = to_mqp(ibqp);
1090 pthread_mutex_lock(&to_mctx(ibqp->context)->qp_table_mutex);
1091 ret = ibv_cmd_destroy_qp(ibqp);
1093 pthread_mutex_unlock(&to_mctx(ibqp->context)->qp_table_mutex);
1097 mlx4_lock_cqs(ibqp);
1099 if (ibqp
[all...]
H A Dmlx4.h335 static inline struct mlx4_qp *to_mqp(struct ibv_qp *ibqp) argument
337 return container_of(container_of(ibqp, struct verbs_qp, qp),
439 int mlx4_post_send(struct ibv_qp *ibqp, struct ibv_send_wr *wr,
441 int mlx4_post_recv(struct ibv_qp *ibqp, struct ibv_recv_wr *wr,
H A Dqp.c213 int mlx4_post_send(struct ibv_qp *ibqp, struct ibv_send_wr *wr, argument
217 struct mlx4_qp *qp = to_mqp(ibqp);
234 if (wq_overflow(&qp->sq, nreq, to_mcq(ibqp->send_cq))) {
271 switch (ibqp->qp_type) {
469 ctx = to_mctx(ibqp->context);
512 int mlx4_post_recv(struct ibv_qp *ibqp, struct ibv_recv_wr *wr, argument
515 struct mlx4_qp *qp = to_mqp(ibqp);
529 if (wq_overflow(&qp->rq, nreq, to_mcq(ibqp->recv_cq))) {
/freebsd-11-stable/contrib/ofed/libcxgb4/
H A Dverbs.c580 int c4iw_modify_qp(struct ibv_qp *ibqp, struct ibv_qp_attr *attr, argument
584 struct c4iw_qp *qhp = to_c4iw_qp(ibqp);
587 PDBG("%s enter qp %p new state %d\n", __func__, ibqp, attr_mask & IBV_QP_STATE ? attr->qp_state : -1);
591 ret = ibv_cmd_modify_qp(ibqp, attr, attr_mask, &cmd, sizeof cmd);
598 int c4iw_destroy_qp(struct ibv_qp *ibqp) argument
601 struct c4iw_qp *qhp = to_c4iw_qp(ibqp);
602 struct c4iw_dev *dev = to_c4iw_dev(ibqp->context->device);
604 PDBG("%s enter qp %p\n", __func__, ibqp);
609 ret = ibv_cmd_destroy_qp(ibqp);
632 int c4iw_query_qp(struct ibv_qp *ibqp, struc argument
657 c4iw_attach_mcast(struct ibv_qp *ibqp, const union ibv_gid *gid, uint16_t lid) argument
671 c4iw_detach_mcast(struct ibv_qp *ibqp, const union ibv_gid *gid, uint16_t lid) argument
[all...]
H A Dlibcxgb4.h146 static inline struct c4iw_qp *to_c4iw_qp(struct ibv_qp *ibqp) argument
217 int c4iw_post_send(struct ibv_qp *ibqp, struct ibv_send_wr *wr,
219 int c4iw_post_receive(struct ibv_qp *ibqp, struct ibv_recv_wr *wr,
H A Dqp.c309 int c4iw_post_send(struct ibv_qp *ibqp, struct ibv_send_wr *wr, argument
322 qhp = to_c4iw_qp(ibqp);
417 int c4iw_post_receive(struct ibv_qp *ibqp, struct ibv_recv_wr *wr, argument
427 qhp = to_c4iw_qp(ibqp);
/freebsd-11-stable/sys/dev/mlx5/mlx5_ib/
H A Dmlx5_ib_qp.c134 struct ib_device *ibdev = qp->ibqp.device;
146 qp->ibqp.qp_type);
187 struct ib_qp *ibqp = &to_mibqp(qp)->ibqp; local
195 if (ibqp->event_handler) {
196 event.device = ibqp->device;
197 event.element.qp = ibqp;
228 ibqp->event_handler(&event, ibqp->qp_context);
1859 return to_mpd(qp->ibqp
2562 __mlx5_ib_modify_qp(struct ib_qp *ibqp, const struct ib_qp_attr *attr, int attr_mask, enum ib_qp_state cur_state, enum ib_qp_state new_state) argument
2842 mlx5_ib_modify_qp(struct ib_qp *ibqp, struct ib_qp_attr *attr, int attr_mask, struct ib_udata *udata) argument
3805 mlx5_ib_post_send(struct ib_qp *ibqp, struct ib_send_wr *wr, struct ib_send_wr **bad_wr) argument
4140 mlx5_ib_post_recv(struct ib_qp *ibqp, struct ib_recv_wr *wr, struct ib_recv_wr **bad_wr) argument
4480 mlx5_ib_query_qp(struct ib_qp *ibqp, struct ib_qp_attr *qp_attr, int qp_attr_mask, struct ib_qp_init_attr *qp_init_attr) argument
[all...]
H A Dmlx5_ib_gsi.c38 struct ib_qp ibqp; member in struct:mlx5_ib_gsi_qp
59 return container_of(qp, struct mlx5_ib_gsi_qp, ibqp);
70 struct ib_cq *gsi_cq = gsi->ibqp.send_cq;
104 wr->wc.qp = &gsi->ibqp;
163 gsi->ibqp.qp_num = 1;
194 return &gsi->ibqp;
447 .qp = &gsi->ibqp,
H A Dmlx5_ib.h331 struct ib_qp ibqp; member in struct:mlx5_ib_qp
746 static inline struct mlx5_ib_qp *to_mqp(struct ib_qp *ibqp) argument
748 return container_of(ibqp, struct mlx5_ib_qp, ibqp);
811 int mlx5_ib_modify_qp(struct ib_qp *ibqp, struct ib_qp_attr *attr,
813 int mlx5_ib_query_qp(struct ib_qp *ibqp, struct ib_qp_attr *qp_attr, int qp_attr_mask,
816 int mlx5_ib_post_send(struct ib_qp *ibqp, struct ib_send_wr *wr,
818 int mlx5_ib_post_recv(struct ib_qp *ibqp, struct ib_recv_wr *wr,
H A Dmlx5_ib_cq.c165 enum rdma_link_layer ll = rdma_port_get_link_layer(qp->ibqp.device, 1);
166 struct mlx5_ib_dev *dev = to_mdev(qp->ibqp.device);
174 if (qp->ibqp.srq || qp->ibqp.xrcd) {
177 if (qp->ibqp.xrcd) {
182 srq = to_msrq(qp->ibqp.srq);
227 if (unlikely(is_qp1(qp->ibqp.qp_type))) {
457 wc->qp = &qp->ibqp;
485 wc->qp = &qp->ibqp;
558 if (!*cur_qp || (qpn != (*cur_qp)->ibqp
[all...]
/freebsd-11-stable/contrib/ofed/libmlx5/
H A Dqp.c358 static inline int copy_eth_inline_headers(struct ibv_qp *ibqp, argument
366 FILE *fp = to_mctx(ibqp->context)->dbg_fp;
612 static inline int _mlx5_post_send(struct ibv_qp *ibqp, struct ibv_send_wr *wr, argument
616 struct mlx5_qp *qp = to_mqp(ibqp);
636 FILE *fp = to_mctx(ibqp->context)->dbg_fp; /* The compiler ignores in non-debug mode */
685 switch (ibqp->qp_type) {
733 ibqp->qp_num, &seg, &size);
747 &bind_info, ibqp->qp_num,
778 ibqp->qp_num, &seg, &size);
792 &bind_info, ibqp
969 mlx5_post_send(struct ibv_qp *ibqp, struct ibv_send_wr *wr, struct ibv_send_wr **bad_wr) argument
1134 mlx5_post_recv(struct ibv_qp *ibqp, struct ibv_recv_wr *wr, struct ibv_recv_wr **bad_wr) argument
[all...]
H A Dverbs.c1238 struct ibv_qp *ibqp; local
1255 ibqp = (struct ibv_qp *)&qp->verbs_qp;
1256 qp->ibv_qp = ibqp;
1267 return ibqp;
1361 ret = mlx5_store_qp(ctx, ibqp->qp_num, qp);
1385 usr_idx : ibqp->qp_num;
1387 return ibqp;
1390 ibv_cmd_destroy_qp(ibqp);
1471 int mlx5_destroy_qp(struct ibv_qp *ibqp) argument
1473 struct mlx5_qp *qp = to_mqp(ibqp);
1520 mlx5_query_qp(struct ibv_qp *ibqp, struct ibv_qp_attr *attr, int attr_mask, struct ibv_qp_init_attr *init_attr) argument
[all...]
/freebsd-11-stable/sys/ofed/include/rdma/
H A Drdma_vt.h424 static inline struct rvt_qp *ibqp_to_rvtqp(struct ib_qp *ibqp) argument
426 return container_of(ibqp, struct rvt_qp, ibqp);
481 if (qp->ibqp.qp_num == qpn)

Completed in 210 milliseconds

12