Home
last modified time | relevance | path

Searched refs:ib_qp (Results 1 – 25 of 62) sorted by relevance

123

/drivers/infiniband/hw/ehca/
Dehca_uverbs.c205 ehca_dbg(qp->ib_qp.device, "qp_num=%x fw", qp->ib_qp.qp_num); in ehca_mmap_qp()
208 ehca_err(qp->ib_qp.device, in ehca_mmap_qp()
210 ret, qp->ib_qp.qp_num); in ehca_mmap_qp()
216 ehca_dbg(qp->ib_qp.device, "qp_num=%x rq", qp->ib_qp.qp_num); in ehca_mmap_qp()
220 ehca_err(qp->ib_qp.device, in ehca_mmap_qp()
222 ret, qp->ib_qp.qp_num); in ehca_mmap_qp()
228 ehca_dbg(qp->ib_qp.device, "qp_num=%x sq", qp->ib_qp.qp_num); in ehca_mmap_qp()
232 ehca_err(qp->ib_qp.device, in ehca_mmap_qp()
234 ret, qp->ib_qp.qp_num); in ehca_mmap_qp()
240 ehca_err(qp->ib_qp.device, "bad resource type=%x qp=num=%x", in ehca_mmap_qp()
[all …]
Dehca_iverbs.h100 int ehca_bind_mw(struct ib_qp *qp, struct ib_mw *mw,
143 struct ib_qp *ehca_create_qp(struct ib_pd *pd,
147 int ehca_destroy_qp(struct ib_qp *qp);
149 int ehca_modify_qp(struct ib_qp *ibqp, struct ib_qp_attr *attr, int attr_mask,
152 int ehca_query_qp(struct ib_qp *qp, struct ib_qp_attr *qp_attr,
155 int ehca_post_send(struct ib_qp *qp, struct ib_send_wr *send_wr,
158 int ehca_post_recv(struct ib_qp *qp, struct ib_recv_wr *recv_wr,
179 int ehca_attach_mcast(struct ib_qp *qp, union ib_gid *gid, u16 lid);
181 int ehca_detach_mcast(struct ib_qp *qp, union ib_gid *gid, u16 lid);
210 void ehca_recover_sqp(struct ib_qp *sqp);
Dehca_mcast.c59 int ehca_attach_mcast(struct ib_qp *ibqp, union ib_gid *gid, u16 lid) in ehca_attach_mcast()
61 struct ehca_qp *my_qp = container_of(ibqp, struct ehca_qp, ib_qp); in ehca_attach_mcast()
96 int ehca_detach_mcast(struct ib_qp *ibqp, union ib_gid *gid, u16 lid) in ehca_detach_mcast()
98 struct ehca_qp *my_qp = container_of(ibqp, struct ehca_qp, ib_qp); in ehca_detach_mcast()
Dehca_qp.c824 my_qp->ib_qp.qp_num = ib_qp_num; in internal_create_qp()
825 my_qp->ib_qp.pd = &my_pd->ib_pd; in internal_create_qp()
826 my_qp->ib_qp.device = my_pd->ib_pd.device; in internal_create_qp()
828 my_qp->ib_qp.recv_cq = init_attr->recv_cq; in internal_create_qp()
829 my_qp->ib_qp.send_cq = init_attr->send_cq; in internal_create_qp()
831 my_qp->ib_qp.qp_type = qp_type; in internal_create_qp()
832 my_qp->ib_qp.srq = init_attr->srq; in internal_create_qp()
834 my_qp->ib_qp.qp_context = init_attr->qp_context; in internal_create_qp()
835 my_qp->ib_qp.event_handler = init_attr->event_handler; in internal_create_qp()
847 &my_qp->ib_qp; in internal_create_qp()
[all …]
Dehca_reqs.c413 ehca_err(my_qp->ib_qp.device, "Too many posted WQEs " in post_one_send()
414 "qp_num=%x", my_qp->ib_qp.qp_num); in post_one_send()
432 ehca_err(my_qp->ib_qp.device, "Could not write WQE " in post_one_send()
433 "qp_num=%x", my_qp->ib_qp.qp_num); in post_one_send()
440 int ehca_post_send(struct ib_qp *qp, in ehca_post_send()
444 struct ehca_qp *my_qp = container_of(qp, struct ehca_qp, ib_qp); in ehca_post_send()
583 int ehca_post_recv(struct ib_qp *qp, in ehca_post_recv()
587 struct ehca_qp *my_qp = container_of(qp, struct ehca_qp, ib_qp); in ehca_post_recv()
705 wc->qp = &my_qp->ib_qp; in ehca_poll_cq_one()
857 wc->qp = &my_qp->ib_qp; in generate_flush_cqes()
Dehca_classes.h98 struct ib_qp *ibqp_sqp[2];
187 struct ib_qp ib_qp; member
Dehca_irq.c106 qp->ib_qp.qp_num, resource); in print_error_data()
198 if (!qp->ib_qp.event_handler) in dispatch_qp_event()
201 event.element.qp = &qp->ib_qp; in dispatch_qp_event()
202 qp->ib_qp.event_handler(&event, qp->ib_qp.qp_context); in dispatch_qp_event()
/drivers/infiniband/hw/ocrdma/
Docrdma_verbs.h31 int ocrdma_post_send(struct ib_qp *, struct ib_send_wr *,
33 int ocrdma_post_recv(struct ib_qp *, struct ib_recv_wr *,
64 struct ib_qp *ocrdma_create_qp(struct ib_pd *,
67 int _ocrdma_modify_qp(struct ib_qp *, struct ib_qp_attr *attr,
69 int ocrdma_modify_qp(struct ib_qp *, struct ib_qp_attr *attr,
71 int ocrdma_query_qp(struct ib_qp *,
74 int ocrdma_destroy_qp(struct ib_qp *);
/drivers/infiniband/hw/cxgb3/
Diwch_provider.h160 struct ib_qp ibqp;
177 static inline struct iwch_qp *to_iwch_qp(struct ib_qp *ibqp) in to_iwch_qp()
182 void iwch_qp_add_ref(struct ib_qp *qp);
183 void iwch_qp_rem_ref(struct ib_qp *qp);
327 int iwch_post_send(struct ib_qp *ibqp, struct ib_send_wr *wr,
329 int iwch_post_receive(struct ib_qp *ibqp, struct ib_recv_wr *wr,
331 int iwch_bind_mw(struct ib_qp *qp,
Diwch_provider.c75 static int iwch_multicast_attach(struct ib_qp *ibqp, union ib_gid *gid, u16 lid) in iwch_multicast_attach()
80 static int iwch_multicast_detach(struct ib_qp *ibqp, union ib_gid *gid, u16 lid) in iwch_multicast_detach()
862 static int iwch_destroy_qp(struct ib_qp *ib_qp) in iwch_destroy_qp() argument
869 qhp = to_iwch_qp(ib_qp); in iwch_destroy_qp()
881 ucontext = ib_qp->uobject ? to_iwch_ucontext(ib_qp->uobject->context) in iwch_destroy_qp()
887 ib_qp, qhp->wq.qpid, qhp); in iwch_destroy_qp()
892 static struct ib_qp *iwch_create_qp(struct ib_pd *pd, in iwch_create_qp()
1050 static int iwch_ib_modify_qp(struct ib_qp *ibqp, struct ib_qp_attr *attr, in iwch_ib_modify_qp()
1089 void iwch_qp_add_ref(struct ib_qp *qp) in iwch_qp_add_ref()
1095 void iwch_qp_rem_ref(struct ib_qp *qp) in iwch_qp_rem_ref()
[all …]
/drivers/infiniband/core/
Dverbs.c348 struct ib_qp *qp = context; in __ib_shared_qp_event_handler()
355 static void __ib_insert_xrcd_qp(struct ib_xrcd *xrcd, struct ib_qp *qp) in __ib_insert_xrcd_qp()
362 static struct ib_qp *__ib_open_qp(struct ib_qp *real_qp, in __ib_open_qp()
366 struct ib_qp *qp; in __ib_open_qp()
388 struct ib_qp *ib_open_qp(struct ib_xrcd *xrcd, in ib_open_qp()
391 struct ib_qp *qp, *real_qp; in ib_open_qp()
410 struct ib_qp *ib_create_qp(struct ib_pd *pd, in ib_create_qp()
413 struct ib_qp *qp, *real_qp; in ib_create_qp()
805 int ib_modify_qp(struct ib_qp *qp, in ib_modify_qp()
813 int ib_query_qp(struct ib_qp *qp, in ib_query_qp()
[all …]
Diwcm.c223 static int iwcm_modify_qp_err(struct ib_qp *qp) in iwcm_modify_qp_err()
238 static int iwcm_modify_qp_sqd(struct ib_qp *qp) in iwcm_modify_qp_sqd()
264 struct ib_qp *qp = NULL; in iw_cm_disconnect()
492 struct ib_qp *qp; in iw_cm_accept()
549 struct ib_qp *qp; in iw_cm_connect()
Diwcm.h50 struct ib_qp *qp;
/drivers/infiniband/hw/cxgb4/
Diw_cxgb4.h434 struct ib_qp ibqp;
446 static inline struct c4iw_qp *to_c4iw_qp(struct ib_qp *ibqp) in to_c4iw_qp()
861 int c4iw_post_send(struct ib_qp *ibqp, struct ib_send_wr *wr,
863 int c4iw_post_receive(struct ib_qp *ibqp, struct ib_recv_wr *wr,
865 int c4iw_bind_mw(struct ib_qp *qp, struct ib_mw *mw,
872 void c4iw_qp_add_ref(struct ib_qp *qp);
873 void c4iw_qp_rem_ref(struct ib_qp *qp);
904 int c4iw_destroy_qp(struct ib_qp *ib_qp);
905 struct ib_qp *c4iw_create_qp(struct ib_pd *pd,
908 int c4iw_ib_modify_qp(struct ib_qp *ibqp, struct ib_qp_attr *attr,
[all …]
Dqp.c628 void c4iw_qp_add_ref(struct ib_qp *qp) in c4iw_qp_add_ref()
634 void c4iw_qp_rem_ref(struct ib_qp *qp) in c4iw_qp_rem_ref()
641 int c4iw_post_send(struct ib_qp *ibqp, struct ib_send_wr *wr, in c4iw_post_send()
758 int c4iw_post_receive(struct ib_qp *ibqp, struct ib_recv_wr *wr, in c4iw_post_receive()
820 int c4iw_bind_mw(struct ib_qp *qp, struct ib_mw *mw, struct ib_mw_bind *mw_bind) in c4iw_bind_mw()
1465 int c4iw_destroy_qp(struct ib_qp *ib_qp) in c4iw_destroy_qp() argument
1472 qhp = to_c4iw_qp(ib_qp); in c4iw_destroy_qp()
1498 ucontext = ib_qp->uobject ? in c4iw_destroy_qp()
1499 to_c4iw_ucontext(ib_qp->uobject->context) : NULL; in c4iw_destroy_qp()
1503 PDBG("%s ib_qp %p qpid 0x%0x\n", __func__, ib_qp, qhp->wq.sq.qid); in c4iw_destroy_qp()
[all …]
/drivers/infiniband/hw/amso1100/
Dc2_provider.c202 static void c2_add_ref(struct ib_qp *ibqp) in c2_add_ref()
210 static void c2_rem_ref(struct ib_qp *ibqp) in c2_rem_ref()
219 struct ib_qp *c2_get_qp(struct ib_device *device, int qpn) in c2_get_qp()
232 static struct ib_qp *c2_create_qp(struct ib_pd *pd, in c2_create_qp()
278 static int c2_destroy_qp(struct ib_qp *ib_qp) in c2_destroy_qp() argument
280 struct c2_qp *qp = to_c2qp(ib_qp); in c2_destroy_qp()
283 __func__, __LINE__, ib_qp, qp->state); in c2_destroy_qp()
284 c2_free_qp(to_c2dev(ib_qp->device), qp); in c2_destroy_qp()
563 static int c2_modify_qp(struct ib_qp *ibqp, struct ib_qp_attr *attr, in c2_modify_qp()
575 static int c2_multicast_attach(struct ib_qp *ibqp, union ib_gid *gid, u16 lid) in c2_multicast_attach()
[all …]
Dc2_provider.h108 struct ib_qp ibqp;
158 static inline struct c2_qp *to_c2qp(struct ib_qp *ibqp) in to_c2qp()
Dc2.h491 extern struct ib_qp *c2_get_qp(struct ib_device *device, int qpn);
496 extern int c2_post_send(struct ib_qp *ibqp, struct ib_send_wr *ib_wr,
498 extern int c2_post_receive(struct ib_qp *ibqp, struct ib_recv_wr *ib_wr,
/drivers/infiniband/hw/mlx4/
Dmlx4_ib.h236 struct ib_qp ibqp;
356 struct ib_qp *qp;
555 static inline struct mlx4_ib_qp *to_mqp(struct ib_qp *ibqp) in to_mqp()
595 int mlx4_ib_bind_mw(struct ib_qp *qp, struct ib_mw *mw,
630 struct ib_qp *mlx4_ib_create_qp(struct ib_pd *pd,
633 int mlx4_ib_destroy_qp(struct ib_qp *qp);
634 int mlx4_ib_modify_qp(struct ib_qp *ibqp, struct ib_qp_attr *attr,
636 int mlx4_ib_query_qp(struct ib_qp *ibqp, struct ib_qp_attr *qp_attr, int qp_attr_mask,
638 int mlx4_ib_post_send(struct ib_qp *ibqp, struct ib_send_wr *wr,
640 int mlx4_ib_post_recv(struct ib_qp *ibqp, struct ib_recv_wr *wr,
/drivers/infiniband/hw/mthca/
Dmthca_dev.h529 int mthca_query_qp(struct ib_qp *ibqp, struct ib_qp_attr *qp_attr, int qp_attr_mask,
531 int mthca_modify_qp(struct ib_qp *ibqp, struct ib_qp_attr *attr, int attr_mask,
533 int mthca_tavor_post_send(struct ib_qp *ibqp, struct ib_send_wr *wr,
535 int mthca_tavor_post_receive(struct ib_qp *ibqp, struct ib_recv_wr *wr,
537 int mthca_arbel_post_send(struct ib_qp *ibqp, struct ib_send_wr *wr,
539 int mthca_arbel_post_receive(struct ib_qp *ibqp, struct ib_recv_wr *wr,
573 int mthca_multicast_attach(struct ib_qp *ibqp, union ib_gid *gid, u16 lid);
574 int mthca_multicast_detach(struct ib_qp *ibqp, union ib_gid *gid, u16 lid);
Dmthca_provider.h262 struct ib_qp ibqp;
334 static inline struct mthca_qp *to_mqp(struct ib_qp *ibqp) in to_mqp()
/drivers/infiniband/hw/nes/
Dnes_verbs.h104 struct ib_qp *ib_qp; member
135 struct ib_qp ibqp;
Dnes.h507 static inline struct nes_qp *to_nesqp(struct ib_qp *ibqp) in to_nesqp()
515 void nes_add_ref(struct ib_qp *);
516 void nes_rem_ref(struct ib_qp *);
517 struct ib_qp *nes_get_qp(struct ib_device *, int);
555 int nes_modify_qp(struct ib_qp *, struct ib_qp_attr *, int, struct ib_udata *);
/drivers/infiniband/hw/ipath/
Dipath_verbs.h358 struct ib_qp ibqp;
680 static inline struct ipath_qp *to_iqp(struct ib_qp *ibqp) in to_iqp()
726 int ipath_multicast_attach(struct ib_qp *ibqp, union ib_gid *gid, u16 lid);
728 int ipath_multicast_detach(struct ib_qp *ibqp, union ib_gid *gid, u16 lid);
736 struct ib_qp *ipath_create_qp(struct ib_pd *ibpd,
740 int ipath_destroy_qp(struct ib_qp *ibqp);
744 int ipath_modify_qp(struct ib_qp *ibqp, struct ib_qp_attr *attr,
747 int ipath_query_qp(struct ib_qp *ibqp, struct ib_qp_attr *attr,
/drivers/infiniband/hw/qib/
Dqib_verbs.h419 struct ib_qp ibqp;
814 static inline struct qib_qp *to_iqp(struct ib_qp *ibqp) in to_iqp()
883 int qib_multicast_attach(struct ib_qp *ibqp, union ib_gid *gid, u16 lid);
885 int qib_multicast_detach(struct ib_qp *ibqp, union ib_gid *gid, u16 lid);
893 struct ib_qp *qib_create_qp(struct ib_pd *ibpd,
897 int qib_destroy_qp(struct ib_qp *ibqp);
901 int qib_modify_qp(struct ib_qp *ibqp, struct ib_qp_attr *attr,
904 int qib_query_qp(struct ib_qp *ibqp, struct ib_qp_attr *attr,

123