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

12

/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/drivers/infiniband/hw/ehca/
H A Dehca_mcast.c59 int ehca_attach_mcast(struct ib_qp *ibqp, union ib_gid *gid, u16 lid) argument
61 struct ehca_qp *my_qp = container_of(ibqp, struct ehca_qp, ib_qp);
62 struct ehca_shca *shca = container_of(ibqp->device, struct ehca_shca,
67 if (ibqp->qp_type != IB_QPT_UD) {
68 ehca_err(ibqp->device, "invalid qp_type=%x", ibqp->qp_type);
73 ehca_err(ibqp->device, "invalid mulitcast gid");
76 ehca_err(ibqp->device, "invalid mulitcast lid=%x", lid);
89 ehca_err(ibqp->device,
91 "h_ret=%lx", my_qp, ibqp
96 ehca_detach_mcast(struct ib_qp *ibqp, union ib_gid *gid, u16 lid) argument
[all...]
H A Dehca_qp.c753 static int internal_modify_qp(struct ib_qp *ibqp, argument
761 struct ehca_qp *my_qp = container_of(ibqp, struct ehca_qp, ib_qp);
763 container_of(ibqp->pd->device, struct ehca_shca, ib_device);
773 ehca_err(ibqp->device, "Could not get zeroed page for mqpcb "
774 "ehca_qp=%p qp_num=%x ", my_qp, ibqp->qp_num);
783 ehca_err(ibqp->device, "hipz_h_query_qp() failed "
785 my_qp, ibqp->qp_num, h_ret);
794 ehca_err(ibqp->device, "Invalid current ehca_qp_state=%x "
796 mqpcb->qp_state, my_qp, ibqp->qp_num);
804 ibqp
1194 ehca_modify_qp(struct ib_qp *ibqp, struct ib_qp_attr *attr, int attr_mask, struct ib_udata *udata) argument
1370 ehca_destroy_qp(struct ib_qp *ibqp) argument
[all...]
H A Dehca_iverbs.h145 int ehca_modify_qp(struct ib_qp *ibqp, struct ib_qp_attr *attr, int attr_mask,
157 u64 ehca_define_sqp(struct ehca_shca *shca, struct ehca_qp *ibqp,
H A Dehca_main.c371 struct ib_qp *ibqp; local
407 ibqp = ib_create_qp(&shca->pd->ib_pd, &qp_init_attr);
408 if (IS_ERR(ibqp)) {
410 ret = PTR_ERR(ibqp);
413 sport->ibqp_aqp1 = ibqp;
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/drivers/infiniband/hw/ipath/
H A Dipath_ud.c42 int user = to_ipd(qp->ibqp.pd)->user;
69 wc.qp = &qp->ibqp;
78 ipath_cq_enter(to_icq(qp->ibqp.recv_cq), &wc, 1);
102 struct ipath_ibdev *dev = to_idev(sqp->ibqp.device);
125 if (unlikely(qp->ibqp.qp_num &&
159 if (qp->ibqp.srq) {
160 srq = to_isrq(qp->ibqp.srq);
212 ev.device = qp->ibqp.device;
213 ev.element.srq = qp->ibqp.srq;
257 wc->qp = &qp->ibqp;
[all...]
H A Dipath_qp.c216 qp->ibqp.qp_num = ret;
250 qpp = &qpt->table[qp->ibqp.qp_num % qpt->max];
266 free_qpn(qpt, qp->ibqp.qp_num);
289 free_qpn(qpt, qp->ibqp.qp_num);
291 !ipath_destroy_qp(&qp->ibqp))
319 if (qp->ibqp.qp_num == qpn) {
344 if (qp->ibqp.qp_type == IB_QPT_RC) {
384 struct ipath_ibdev *dev = to_idev(qp->ibqp.device);
388 qp->ibqp.qp_num, qp->remote_qpn);
400 wc.qp = &qp->ibqp;
467 ipath_modify_qp(struct ib_qp *ibqp, struct ib_qp_attr *attr, int attr_mask, struct ib_udata *udata) argument
606 ipath_query_qp(struct ib_qp *ibqp, struct ib_qp_attr *attr, int attr_mask, struct ib_qp_init_attr *init_attr) argument
914 ipath_destroy_qp(struct ib_qp *ibqp) argument
[all...]
H A Dipath_keys.c124 struct ipath_lkey_table *rkt = &to_idev(qp->ibqp.device)->lk_table;
136 struct ipath_pd *pd = to_ipd(qp->ibqp.pd);
151 qp->ibqp.pd != mr->pd)) {
202 struct ipath_ibdev *dev = to_idev(qp->ibqp.device);
215 struct ipath_pd *pd = to_ipd(qp->ibqp.pd);
233 qp->ibqp.pd != mr->pd)) {
H A Dipath_verbs_mcast.c235 int ipath_multicast_attach(struct ib_qp *ibqp, union ib_gid *gid, u16 lid) argument
237 struct ipath_qp *qp = to_iqp(ibqp);
238 struct ipath_ibdev *dev = to_idev(ibqp->device);
284 int ipath_multicast_detach(struct ib_qp *ibqp, union ib_gid *gid, u16 lid) argument
286 struct ipath_qp *qp = to_iqp(ibqp);
287 struct ipath_ibdev *dev = to_idev(ibqp->device);
H A Dipath_ruc.c77 struct ipath_ibdev *dev = to_idev(qp->ibqp.device);
103 int user = to_ipd(qp->ibqp.pd)->user;
132 wc.qp = &qp->ibqp;
141 ipath_cq_enter(to_icq(qp->ibqp.recv_cq), &wc, 1);
167 if (qp->ibqp.srq) {
168 srq = to_isrq(qp->ibqp.srq);
217 ev.device = qp->ibqp.device;
218 ev.element.srq = qp->ibqp.srq;
243 struct ipath_ibdev *dev = to_idev(sqp->ibqp.device);
297 if (qp->ibqp
[all...]
H A Dipath_verbs.h335 struct ib_qp ibqp; member in struct:ipath_qp
615 static inline struct ipath_qp *to_iqp(struct ib_qp *ibqp) argument
617 return container_of(ibqp, struct ipath_qp, ibqp);
650 int ipath_multicast_attach(struct ib_qp *ibqp, union ib_gid *gid, u16 lid);
652 int ipath_multicast_detach(struct ib_qp *ibqp, union ib_gid *gid, u16 lid);
664 int ipath_destroy_qp(struct ib_qp *ibqp);
668 int ipath_modify_qp(struct ib_qp *ibqp, struct ib_qp_attr *attr,
671 int ipath_query_qp(struct ib_qp *ibqp, struct ib_qp_attr *attr,
H A Dipath_uc.c52 wc->qp = &qp->ibqp;
59 ipath_cq_enter(to_icq(qp->ibqp.send_cq), wc, 0);
412 wc.qp = &qp->ibqp;
420 ipath_cq_enter(to_icq(qp->ibqp.recv_cq), &wc,
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/drivers/infiniband/hw/mlx4/
H A Dqp.c129 struct ib_qp *ibqp = &to_mibqp(qp)->ibqp; local
134 if (ibqp->event_handler) {
135 event.device = ibqp->device;
136 event.element.qp = ibqp;
168 ibqp->event_handler(&event, ibqp->qp_context);
493 send_cq = to_mcq(qp->ibqp.send_cq);
494 recv_cq = to_mcq(qp->ibqp.recv_cq);
500 qp->ibqp
702 __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
986 mlx4_ib_modify_qp(struct ib_qp *ibqp, struct ib_qp_attr *attr, int attr_mask, struct ib_udata *udata) argument
1186 mlx4_ib_post_send(struct ib_qp *ibqp, struct ib_send_wr *wr, struct ib_send_wr **bad_wr) argument
1394 mlx4_ib_post_recv(struct ib_qp *ibqp, struct ib_recv_wr *wr, struct ib_recv_wr **bad_wr) argument
[all...]
H A Dmlx4_ib.h108 struct ib_qp ibqp; member in struct:mlx4_ib_qp
201 static inline struct mlx4_ib_qp *to_mqp(struct ib_qp *ibqp) argument
203 return container_of(ibqp, struct mlx4_ib_qp, ibqp);
267 int mlx4_ib_modify_qp(struct ib_qp *ibqp, struct ib_qp_attr *attr,
269 int mlx4_ib_post_send(struct ib_qp *ibqp, struct ib_send_wr *wr,
271 int mlx4_ib_post_recv(struct ib_qp *ibqp, struct ib_recv_wr *wr,
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/drivers/infiniband/hw/amso1100/
H A Dc2_provider.h108 struct ib_qp ibqp; member in struct:c2_qp
158 static inline struct c2_qp *to_c2qp(struct ib_qp *ibqp) argument
160 return container_of(ibqp, struct c2_qp, ibqp);
H A Dc2_cm.c42 struct ib_qp *ibqp; local
48 ibqp = c2_get_qp(cm_id->device, iw_param->qpn);
49 if (!ibqp)
51 qp = to_c2qp(ibqp);
285 struct ib_qp *ibqp; local
291 ibqp = c2_get_qp(cm_id->device, iw_param->qpn);
292 if (!ibqp)
294 qp = to_c2qp(ibqp);
H A Dc2_ae.c233 ib_event.element.qp = &qp->ibqp;
236 if (qp->ibqp.event_handler)
237 qp->ibqp.event_handler(&ib_event,
238 qp->ibqp.
H A Dc2_provider.c209 static void c2_add_ref(struct ib_qp *ibqp) argument
212 BUG_ON(!ibqp);
213 qp = to_c2qp(ibqp);
217 static void c2_rem_ref(struct ib_qp *ibqp) argument
220 BUG_ON(!ibqp);
221 qp = to_c2qp(ibqp);
236 return (qp?&qp->ibqp:NULL);
280 return &qp->ibqp;
564 static int c2_modify_qp(struct ib_qp *ibqp, struct ib_qp_attr *attr, argument
570 c2_qp_modify(to_c2dev(ibqp
576 c2_multicast_attach(struct ib_qp *ibqp, union ib_gid *gid, u16 lid) argument
582 c2_multicast_detach(struct ib_qp *ibqp, union ib_gid *gid, u16 lid) argument
[all...]
H A Dc2_qp.c429 qp->ibqp.qp_num = qp->qpn;
430 qp->ibqp.qp_type = IB_QPT_RC;
601 send_cq = to_c2cq(qp->ibqp.send_cq);
602 recv_cq = to_c2cq(qp->ibqp.recv_cq);
786 int c2_post_send(struct ib_qp *ibqp, struct ib_send_wr *ib_wr, argument
789 struct c2_dev *c2dev = to_c2dev(ibqp->device);
790 struct c2_qp *qp = to_c2qp(ibqp);
929 int c2_post_receive(struct ib_qp *ibqp, struct ib_recv_wr *ib_wr, argument
932 struct c2_dev *c2dev = to_c2dev(ibqp->device);
933 struct c2_qp *qp = to_c2qp(ibqp);
[all...]
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/drivers/infiniband/hw/mthca/
H A Dmthca_mcg.c139 int mthca_multicast_attach(struct ib_qp *ibqp, union ib_gid *gid, u16 lid) argument
141 struct mthca_dev *dev = to_mdev(ibqp->device);
188 if (mgm->qp[i] == cpu_to_be32(ibqp->qp_num | (1 << 31))) {
190 ibqp->qp_num);
194 mgm->qp[i] = cpu_to_be32(ibqp->qp_num | (1 << 31));
246 int mthca_multicast_detach(struct ib_qp *ibqp, union ib_gid *gid, u16 lid) argument
248 struct mthca_dev *dev = to_mdev(ibqp->device);
284 if (mgm->qp[i] == cpu_to_be32(ibqp->qp_num | (1 << 31)))
291 mthca_err(dev, "QP %06x not found in MGM\n", ibqp->qp_num);
H A Dmthca_provider.h262 struct ib_qp ibqp; member in struct:mthca_qp
334 static inline struct mthca_qp *to_mqp(struct ib_qp *ibqp) argument
336 return container_of(ibqp, struct mthca_qp, ibqp);
H A Dmthca_qp.c261 event.element.qp = &qp->ibqp;
262 if (qp->ibqp.event_handler)
263 qp->ibqp.event_handler(&event, qp->ibqp.qp_context);
428 int mthca_query_qp(struct ib_qp *ibqp, struct ib_qp_attr *qp_attr, int qp_attr_mask, argument
431 struct mthca_dev *dev = to_mdev(ibqp->device);
432 struct mthca_qp *qp = to_mqp(ibqp);
542 static int __mthca_modify_qp(struct ib_qp *ibqp, argument
546 struct mthca_dev *dev = to_mdev(ibqp->device);
547 struct mthca_qp *qp = to_mqp(ibqp);
862 mthca_modify_qp(struct ib_qp *ibqp, struct ib_qp_attr *attr, int attr_mask, struct ib_udata *udata) argument
1581 mthca_tavor_post_send(struct ib_qp *ibqp, struct ib_send_wr *wr, struct ib_send_wr **bad_wr) argument
1813 mthca_tavor_post_receive(struct ib_qp *ibqp, struct ib_recv_wr *wr, struct ib_recv_wr **bad_wr) argument
1933 mthca_arbel_post_send(struct ib_qp *ibqp, struct ib_send_wr *wr, struct ib_send_wr **bad_wr) argument
2199 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);
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/drivers/infiniband/hw/cxgb3/
H A Diwch_ev.c84 event.element.qp = &qhp->ibqp;
86 if (qhp->ibqp.event_handler)
87 (*qhp->ibqp.event_handler)(&event, qhp->ibqp.qp_context);
123 iwch_qp_add_ref(&qhp->ibqp);
227 iwch_qp_rem_ref(&qhp->ibqp);
H A Diwch_provider.h158 struct ib_qp ibqp; member in struct:iwch_qp
175 static inline struct iwch_qp *to_iwch_qp(struct ib_qp *ibqp) argument
177 return container_of(ibqp, struct iwch_qp, ibqp);
325 int iwch_post_send(struct ib_qp *ibqp, struct ib_send_wr *wr,
327 int iwch_post_receive(struct ib_qp *ibqp, struct ib_recv_wr *wr,
H A Diwch_provider.c77 static int iwch_multicast_attach(struct ib_qp *ibqp, union ib_gid *gid, u16 lid) argument
82 static int iwch_multicast_detach(struct ib_qp *ibqp, union ib_gid *gid, u16 lid) argument
852 iwch_destroy_qp(&qhp->ibqp);
859 iwch_destroy_qp(&qhp->ibqp);
876 iwch_destroy_qp(&qhp->ibqp);
888 qhp->ibqp.qp_num = qhp->wq.qpid;
895 return &qhp->ibqp;
898 static int iwch_ib_modify_qp(struct ib_qp *ibqp, struct ib_qp_attr *attr, argument
906 PDBG("%s ib_qp %p\n", __FUNCTION__, ibqp);
917 qhp = to_iwch_qp(ibqp);
[all...]

Completed in 147 milliseconds

12