Home
last modified time | relevance | path

Searched refs:ibsrq (Results 1 – 17 of 17) sorted by relevance

/drivers/infiniband/hw/mlx4/
Dsrq.c49 struct ib_srq *ibsrq = &to_mibsrq(srq)->ibsrq; in mlx4_ib_srq_event() local
51 if (ibsrq->event_handler) { in mlx4_ib_srq_event()
52 event.device = ibsrq->device; in mlx4_ib_srq_event()
53 event.element.srq = ibsrq; in mlx4_ib_srq_event()
67 ibsrq->event_handler(&event, ibsrq->srq_context); in mlx4_ib_srq_event()
190 srq->ibsrq.ext.xrc.srq_num = srq->msrq.srqn; in mlx4_ib_create_srq()
200 return &srq->ibsrq; in mlx4_ib_create_srq()
227 int mlx4_ib_modify_srq(struct ib_srq *ibsrq, struct ib_srq_attr *attr, in mlx4_ib_modify_srq() argument
230 struct mlx4_ib_dev *dev = to_mdev(ibsrq->device); in mlx4_ib_modify_srq()
231 struct mlx4_ib_srq *srq = to_msrq(ibsrq); in mlx4_ib_modify_srq()
[all …]
Dmlx4_ib.h271 struct ib_srq ibsrq; member
565 static inline struct mlx4_ib_srq *to_msrq(struct ib_srq *ibsrq) in to_msrq() argument
567 return container_of(ibsrq, struct mlx4_ib_srq, ibsrq); in to_msrq()
622 int mlx4_ib_modify_srq(struct ib_srq *ibsrq, struct ib_srq_attr *attr,
627 int mlx4_ib_post_srq_recv(struct ib_srq *ibsrq, struct ib_recv_wr *wr,
/drivers/infiniband/hw/qib/
Dqib_srq.c48 int qib_post_srq_receive(struct ib_srq *ibsrq, struct ib_recv_wr *wr, in qib_post_srq_receive() argument
51 struct qib_srq *srq = to_isrq(ibsrq); in qib_post_srq_receive()
191 ret = &srq->ibsrq; in qib_create_srq()
211 int qib_modify_srq(struct ib_srq *ibsrq, struct ib_srq_attr *attr, in qib_modify_srq() argument
215 struct qib_srq *srq = to_isrq(ibsrq); in qib_modify_srq()
307 struct qib_ibdev *dev = to_idev(srq->ibsrq.device); in qib_modify_srq()
351 int qib_query_srq(struct ib_srq *ibsrq, struct ib_srq_attr *attr) in qib_query_srq() argument
353 struct qib_srq *srq = to_isrq(ibsrq); in qib_query_srq()
365 int qib_destroy_srq(struct ib_srq *ibsrq) in qib_destroy_srq() argument
367 struct qib_srq *srq = to_isrq(ibsrq); in qib_destroy_srq()
[all …]
Dqib_verbs.h381 struct ib_srq ibsrq; member
809 static inline struct qib_srq *to_isrq(struct ib_srq *ibsrq) in to_isrq() argument
811 return container_of(ibsrq, struct qib_srq, ibsrq); in to_isrq()
960 int qib_post_srq_receive(struct ib_srq *ibsrq, struct ib_recv_wr *wr,
967 int qib_modify_srq(struct ib_srq *ibsrq, struct ib_srq_attr *attr,
971 int qib_query_srq(struct ib_srq *ibsrq, struct ib_srq_attr *attr);
973 int qib_destroy_srq(struct ib_srq *ibsrq);
Dqib_ruc.c151 handler = srq->ibsrq.event_handler; in qib_get_rwqe()
215 handler(&ev, srq->ibsrq.srq_context); in qib_get_rwqe()
/drivers/infiniband/hw/ipath/
Dipath_srq.c48 int ipath_post_srq_receive(struct ib_srq *ibsrq, struct ib_recv_wr *wr, in ipath_post_srq_receive() argument
51 struct ipath_srq *srq = to_isrq(ibsrq); in ipath_post_srq_receive()
195 ret = &srq->ibsrq; in ipath_create_srq()
215 int ipath_modify_srq(struct ib_srq *ibsrq, struct ib_srq_attr *attr, in ipath_modify_srq() argument
219 struct ipath_srq *srq = to_isrq(ibsrq); in ipath_modify_srq()
311 struct ipath_ibdev *dev = to_idev(srq->ibsrq.device); in ipath_modify_srq()
351 int ipath_query_srq(struct ib_srq *ibsrq, struct ib_srq_attr *attr) in ipath_query_srq() argument
353 struct ipath_srq *srq = to_isrq(ibsrq); in ipath_query_srq()
365 int ipath_destroy_srq(struct ib_srq *ibsrq) in ipath_destroy_srq() argument
367 struct ipath_srq *srq = to_isrq(ibsrq); in ipath_destroy_srq()
[all …]
Dipath_verbs.h321 struct ib_srq ibsrq; member
675 static inline struct ipath_srq *to_isrq(struct ib_srq *ibsrq) in to_isrq() argument
677 return container_of(ibsrq, struct ipath_srq, ibsrq); in to_isrq()
791 int ipath_post_srq_receive(struct ib_srq *ibsrq, struct ib_recv_wr *wr,
798 int ipath_modify_srq(struct ib_srq *ibsrq, struct ib_srq_attr *attr,
802 int ipath_query_srq(struct ib_srq *ibsrq, struct ib_srq_attr *attr);
804 int ipath_destroy_srq(struct ib_srq *ibsrq);
Dipath_ud.c109 handler = srq->ibsrq.event_handler; in ipath_ud_loopback()
172 handler(&ev, srq->ibsrq.srq_context); in ipath_ud_loopback()
Dipath_ruc.c179 handler = srq->ibsrq.event_handler; in ipath_get_rwqe()
239 handler(&ev, srq->ibsrq.srq_context); in ipath_get_rwqe()
/drivers/infiniband/hw/mthca/
Dmthca_srq.c353 if (!srq->ibsrq.uobject) { in mthca_free_srq()
364 int mthca_modify_srq(struct ib_srq *ibsrq, struct ib_srq_attr *attr, in mthca_modify_srq() argument
367 struct mthca_dev *dev = to_mdev(ibsrq->device); in mthca_modify_srq()
368 struct mthca_srq *srq = to_msrq(ibsrq); in mthca_modify_srq()
388 int mthca_query_srq(struct ib_srq *ibsrq, struct ib_srq_attr *srq_attr) in mthca_query_srq() argument
390 struct mthca_dev *dev = to_mdev(ibsrq->device); in mthca_query_srq()
391 struct mthca_srq *srq = to_msrq(ibsrq); in mthca_query_srq()
439 if (!srq->ibsrq.event_handler) in mthca_srq_event()
444 event.element.srq = &srq->ibsrq; in mthca_srq_event()
445 srq->ibsrq.event_handler(&event, srq->ibsrq.srq_context); in mthca_srq_event()
[all …]
Dmthca_provider.h223 struct ib_srq ibsrq; member
329 static inline struct mthca_srq *to_msrq(struct ib_srq *ibsrq) in to_msrq() argument
331 return container_of(ibsrq, struct mthca_srq, ibsrq); in to_msrq()
Dmthca_dev.h515 int mthca_modify_srq(struct ib_srq *ibsrq, struct ib_srq_attr *attr,
Dmthca_provider.c485 return &srq->ibsrq; in mthca_create_srq()
/drivers/infiniband/hw/ocrdma/
Docrdma.h241 struct ib_srq ibsrq; member
388 static inline struct ocrdma_srq *get_ocrdma_srq(struct ib_srq *ibsrq) in get_ocrdma_srq() argument
390 return container_of(ibsrq, struct ocrdma_srq, ibsrq); in get_ocrdma_srq()
Docrdma_verbs.c1576 return &srq->ibsrq; in ocrdma_create_srq()
1587 int ocrdma_modify_srq(struct ib_srq *ibsrq, in ocrdma_modify_srq() argument
1595 srq = get_ocrdma_srq(ibsrq); in ocrdma_modify_srq()
1603 int ocrdma_query_srq(struct ib_srq *ibsrq, struct ib_srq_attr *srq_attr) in ocrdma_query_srq() argument
1608 srq = get_ocrdma_srq(ibsrq); in ocrdma_query_srq()
1613 int ocrdma_destroy_srq(struct ib_srq *ibsrq) in ocrdma_destroy_srq() argument
1619 srq = get_ocrdma_srq(ibsrq); in ocrdma_destroy_srq()
1957 int ocrdma_post_srq_recv(struct ib_srq *ibsrq, struct ib_recv_wr *wr, in ocrdma_post_srq_recv() argument
1966 srq = get_ocrdma_srq(ibsrq); in ocrdma_post_srq_recv()
Docrdma_hw.c728 ib_evt.element.srq = &qp->srq->ibsrq; in ocrdma_dispatch_ibevent()
734 ib_evt.element.srq = &qp->srq->ibsrq; in ocrdma_dispatch_ibevent()
759 if (qp->srq->ibsrq.event_handler) in ocrdma_dispatch_ibevent()
760 qp->srq->ibsrq.event_handler(&ib_evt, in ocrdma_dispatch_ibevent()
761 qp->srq->ibsrq. in ocrdma_dispatch_ibevent()
/drivers/infiniband/hw/ehca/
Dehca_qp.c2032 int ehca_modify_srq(struct ib_srq *ibsrq, struct ib_srq_attr *attr, in ehca_modify_srq() argument
2036 container_of(ibsrq, struct ehca_qp, ib_srq); in ehca_modify_srq()
2038 container_of(ibsrq->pd->device, struct ehca_shca, ib_device); in ehca_modify_srq()
2046 ehca_err(ibsrq->device, "Could not get zeroed page for mqpcb " in ehca_modify_srq()
2064 ehca_err(ibsrq->device, "invalid attribute mask bits set " in ehca_modify_srq()
2079 ehca_err(ibsrq->device, "hipz_h_modify_qp() failed h_ret=%lli " in ehca_modify_srq()