Home
last modified time | relevance | path

Searched refs:ib_qp (Results 1 – 25 of 56) 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.c828 my_qp->ib_qp.qp_num = ib_qp_num; in internal_create_qp()
829 my_qp->ib_qp.pd = &my_pd->ib_pd; in internal_create_qp()
830 my_qp->ib_qp.device = my_pd->ib_pd.device; in internal_create_qp()
832 my_qp->ib_qp.recv_cq = init_attr->recv_cq; in internal_create_qp()
833 my_qp->ib_qp.send_cq = init_attr->send_cq; in internal_create_qp()
835 my_qp->ib_qp.qp_type = qp_type; in internal_create_qp()
836 my_qp->ib_qp.srq = init_attr->srq; in internal_create_qp()
838 my_qp->ib_qp.qp_context = init_attr->qp_context; in internal_create_qp()
839 my_qp->ib_qp.event_handler = init_attr->event_handler; in internal_create_qp()
851 &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.c105 qp->ib_qp.qp_num, resource); in print_error_data()
197 if (!qp->ib_qp.event_handler) in dispatch_qp_event()
200 event.element.qp = &qp->ib_qp; in dispatch_qp_event()
201 qp->ib_qp.event_handler(&event, qp->ib_qp.qp_context); in dispatch_qp_event()
/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()
859 static int iwch_destroy_qp(struct ib_qp *ib_qp) in iwch_destroy_qp() argument
866 qhp = to_iwch_qp(ib_qp); in iwch_destroy_qp()
878 ucontext = ib_qp->uobject ? to_iwch_ucontext(ib_qp->uobject->context) in iwch_destroy_qp()
884 ib_qp, qhp->wq.qpid, qhp); in iwch_destroy_qp()
889 static struct ib_qp *iwch_create_qp(struct ib_pd *pd, in iwch_create_qp()
1047 static int iwch_ib_modify_qp(struct ib_qp *ibqp, struct ib_qp_attr *attr, in iwch_ib_modify_qp()
1086 void iwch_qp_add_ref(struct ib_qp *qp) in iwch_qp_add_ref()
1092 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()
354 static void __ib_insert_xrcd_qp(struct ib_xrcd *xrcd, struct ib_qp *qp) in __ib_insert_xrcd_qp()
361 static struct ib_qp *__ib_open_qp(struct ib_qp *real_qp, in __ib_open_qp()
365 struct ib_qp *qp; in __ib_open_qp()
387 struct ib_qp *ib_open_qp(struct ib_xrcd *xrcd, in ib_open_qp()
390 struct ib_qp *qp, *real_qp; in ib_open_qp()
409 struct ib_qp *ib_create_qp(struct ib_pd *pd, in ib_create_qp()
412 struct ib_qp *qp, *real_qp; in ib_create_qp()
803 int ib_modify_qp(struct ib_qp *qp, in ib_modify_qp()
811 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/mlx4/
Dmlx4_ib.h130 struct ib_qp ibqp;
251 static inline struct mlx4_ib_qp *to_mqp(struct ib_qp *ibqp) in to_mqp()
319 struct ib_qp *mlx4_ib_create_qp(struct ib_pd *pd,
322 int mlx4_ib_destroy_qp(struct ib_qp *qp);
323 int mlx4_ib_modify_qp(struct ib_qp *ibqp, struct ib_qp_attr *attr,
325 int mlx4_ib_query_qp(struct ib_qp *ibqp, struct ib_qp_attr *qp_attr, int qp_attr_mask,
327 int mlx4_ib_post_send(struct ib_qp *ibqp, struct ib_send_wr *wr,
329 int mlx4_ib_post_recv(struct ib_qp *ibqp, struct ib_recv_wr *wr,
/drivers/infiniband/hw/cxgb4/
Diw_cxgb4.h359 struct ib_qp ibqp;
371 static inline struct c4iw_qp *to_c4iw_qp(struct ib_qp *ibqp) in to_c4iw_qp()
723 int c4iw_post_send(struct ib_qp *ibqp, struct ib_send_wr *wr,
725 int c4iw_post_receive(struct ib_qp *ibqp, struct ib_recv_wr *wr,
727 int c4iw_bind_mw(struct ib_qp *qp, struct ib_mw *mw,
734 void c4iw_qp_add_ref(struct ib_qp *qp);
735 void c4iw_qp_rem_ref(struct ib_qp *qp);
766 int c4iw_destroy_qp(struct ib_qp *ib_qp);
767 struct ib_qp *c4iw_create_qp(struct ib_pd *pd,
770 int c4iw_ib_modify_qp(struct ib_qp *ibqp, struct ib_qp_attr *attr,
[all …]
Dqp.c568 void c4iw_qp_add_ref(struct ib_qp *qp) in c4iw_qp_add_ref()
574 void c4iw_qp_rem_ref(struct ib_qp *qp) in c4iw_qp_rem_ref()
581 int c4iw_post_send(struct ib_qp *ibqp, struct ib_send_wr *wr, in c4iw_post_send()
695 int c4iw_post_receive(struct ib_qp *ibqp, struct ib_recv_wr *wr, in c4iw_post_receive()
757 int c4iw_bind_mw(struct ib_qp *qp, struct ib_mw *mw, struct ib_mw_bind *mw_bind) in c4iw_bind_mw()
1355 int c4iw_destroy_qp(struct ib_qp *ib_qp) in c4iw_destroy_qp() argument
1362 qhp = to_c4iw_qp(ib_qp); in c4iw_destroy_qp()
1376 ucontext = ib_qp->uobject ? in c4iw_destroy_qp()
1377 to_c4iw_ucontext(ib_qp->uobject->context) : NULL; in c4iw_destroy_qp()
1381 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.h492 extern struct ib_qp *c2_get_qp(struct ib_device *device, int qpn);
497 extern int c2_post_send(struct ib_qp *ibqp, struct ib_send_wr *ib_wr,
499 extern int c2_post_receive(struct ib_qp *ibqp, struct ib_recv_wr *ib_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.h499 static inline struct nes_qp *to_nesqp(struct ib_qp *ibqp) in to_nesqp()
507 void nes_add_ref(struct ib_qp *);
508 void nes_rem_ref(struct ib_qp *);
509 struct ib_qp *nes_get_qp(struct ib_device *, int);
547 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,
Dipath_verbs_mcast.c236 int ipath_multicast_attach(struct ib_qp *ibqp, union ib_gid *gid, u16 lid) in ipath_multicast_attach()
285 int ipath_multicast_detach(struct ib_qp *ibqp, union ib_gid *gid, u16 lid) in ipath_multicast_detach()
/drivers/infiniband/hw/qib/
Dqib_verbs.h414 struct ib_qp ibqp;
790 static inline struct qib_qp *to_iqp(struct ib_qp *ibqp) in to_iqp()
863 int qib_multicast_attach(struct ib_qp *ibqp, union ib_gid *gid, u16 lid);
865 int qib_multicast_detach(struct ib_qp *ibqp, union ib_gid *gid, u16 lid);
873 struct ib_qp *qib_create_qp(struct ib_pd *ibpd,
877 int qib_destroy_qp(struct ib_qp *ibqp);
881 int qib_modify_qp(struct ib_qp *ibqp, struct ib_qp_attr *attr,
884 int qib_query_qp(struct ib_qp *ibqp, struct ib_qp_attr *attr,

123