/drivers/infiniband/hw/mlx4/ |
D | srq.c | 50 struct ib_srq *ibsrq = &to_mibsrq(srq)->ibsrq; in mlx4_ib_srq_event() local 52 if (ibsrq->event_handler) { in mlx4_ib_srq_event() 53 event.device = ibsrq->device; in mlx4_ib_srq_event() 54 event.element.srq = ibsrq; in mlx4_ib_srq_event() 68 ibsrq->event_handler(&event, ibsrq->srq_context); in mlx4_ib_srq_event() 196 srq->ibsrq.ext.xrc.srq_num = srq->msrq.srqn; in mlx4_ib_create_srq() 206 return &srq->ibsrq; in mlx4_ib_create_srq() 233 int mlx4_ib_modify_srq(struct ib_srq *ibsrq, struct ib_srq_attr *attr, in mlx4_ib_modify_srq() argument 236 struct mlx4_ib_dev *dev = to_mdev(ibsrq->device); in mlx4_ib_modify_srq() 237 struct mlx4_ib_srq *srq = to_msrq(ibsrq); in mlx4_ib_modify_srq() [all …]
|
D | mlx4_ib.h | 328 struct ib_srq ibsrq; member 670 static inline struct mlx4_ib_srq *to_msrq(struct ib_srq *ibsrq) in to_msrq() argument 672 return container_of(ibsrq, struct mlx4_ib_srq, ibsrq); in to_msrq() 735 int mlx4_ib_modify_srq(struct ib_srq *ibsrq, struct ib_srq_attr *attr, 740 int mlx4_ib_post_srq_recv(struct ib_srq *ibsrq, struct ib_recv_wr *wr,
|
/drivers/infiniband/hw/mlx5/ |
D | srq.c | 54 struct ib_srq *ibsrq = &to_mibsrq(srq)->ibsrq; in mlx5_ib_srq_event() local 56 if (ibsrq->event_handler) { in mlx5_ib_srq_event() 57 event.device = ibsrq->device; in mlx5_ib_srq_event() 58 event.element.srq = ibsrq; in mlx5_ib_srq_event() 72 ibsrq->event_handler(&event, ibsrq->srq_context); in mlx5_ib_srq_event() 315 srq->ibsrq.ext.xrc.srq_num = srq->msrq.srqn; in mlx5_ib_create_srq() 326 return &srq->ibsrq; in mlx5_ib_create_srq() 343 int mlx5_ib_modify_srq(struct ib_srq *ibsrq, struct ib_srq_attr *attr, in mlx5_ib_modify_srq() argument 346 struct mlx5_ib_dev *dev = to_mdev(ibsrq->device); in mlx5_ib_modify_srq() 347 struct mlx5_ib_srq *srq = to_msrq(ibsrq); in mlx5_ib_modify_srq() [all …]
|
D | mlx5_ib.h | 290 struct ib_srq ibsrq; member 471 static inline struct mlx5_ib_srq *to_msrq(struct ib_srq *ibsrq) in to_msrq() argument 473 return container_of(ibsrq, struct mlx5_ib_srq, ibsrq); in to_msrq() 518 int mlx5_ib_modify_srq(struct ib_srq *ibsrq, struct ib_srq_attr *attr, 520 int mlx5_ib_query_srq(struct ib_srq *ibsrq, struct ib_srq_attr *srq_attr); 522 int mlx5_ib_post_srq_recv(struct ib_srq *ibsrq, struct ib_recv_wr *wr,
|
/drivers/staging/rdma/ipath/ |
D | ipath_srq.c | 48 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 …]
|
D | ipath_verbs.h | 327 struct ib_srq ibsrq; member 681 static inline struct ipath_srq *to_isrq(struct ib_srq *ibsrq) in to_isrq() argument 683 return container_of(ibsrq, struct ipath_srq, ibsrq); in to_isrq() 799 int ipath_post_srq_receive(struct ib_srq *ibsrq, struct ib_recv_wr *wr, 806 int ipath_modify_srq(struct ib_srq *ibsrq, struct ib_srq_attr *attr, 810 int ipath_query_srq(struct ib_srq *ibsrq, struct ib_srq_attr *attr); 812 int ipath_destroy_srq(struct ib_srq *ibsrq);
|
D | ipath_ud.c | 108 handler = srq->ibsrq.event_handler; in ipath_ud_loopback() 171 handler(&ev, srq->ibsrq.srq_context); in ipath_ud_loopback()
|
D | ipath_ruc.c | 178 handler = srq->ibsrq.event_handler; in ipath_get_rwqe() 238 handler(&ev, srq->ibsrq.srq_context); in ipath_get_rwqe()
|
/drivers/staging/rdma/hfi1/ |
D | srq.c | 65 int hfi1_post_srq_receive(struct ib_srq *ibsrq, struct ib_recv_wr *wr, in hfi1_post_srq_receive() argument 68 struct hfi1_srq *srq = to_isrq(ibsrq); in hfi1_post_srq_receive() 208 ret = &srq->ibsrq; in hfi1_create_srq() 228 int hfi1_modify_srq(struct ib_srq *ibsrq, struct ib_srq_attr *attr, in hfi1_modify_srq() argument 232 struct hfi1_srq *srq = to_isrq(ibsrq); in hfi1_modify_srq() 324 struct hfi1_ibdev *dev = to_idev(srq->ibsrq.device); in hfi1_modify_srq() 368 int hfi1_query_srq(struct ib_srq *ibsrq, struct ib_srq_attr *attr) in hfi1_query_srq() argument 370 struct hfi1_srq *srq = to_isrq(ibsrq); in hfi1_query_srq() 382 int hfi1_destroy_srq(struct ib_srq *ibsrq) in hfi1_destroy_srq() argument 384 struct hfi1_srq *srq = to_isrq(ibsrq); in hfi1_destroy_srq() [all …]
|
D | verbs.h | 398 struct ib_srq ibsrq; member 820 static inline struct hfi1_srq *to_isrq(struct ib_srq *ibsrq) in to_isrq() argument 822 return container_of(ibsrq, struct hfi1_srq, ibsrq); in to_isrq() 976 int hfi1_post_srq_receive(struct ib_srq *ibsrq, struct ib_recv_wr *wr, 983 int hfi1_modify_srq(struct ib_srq *ibsrq, struct ib_srq_attr *attr, 987 int hfi1_query_srq(struct ib_srq *ibsrq, struct ib_srq_attr *attr); 989 int hfi1_destroy_srq(struct ib_srq *ibsrq);
|
D | ruc.c | 170 handler = srq->ibsrq.event_handler; in hfi1_get_rwqe() 234 handler(&ev, srq->ibsrq.srq_context); in hfi1_get_rwqe()
|
/drivers/infiniband/hw/qib/ |
D | qib_srq.c | 48 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 …]
|
D | qib_verbs.h | 391 struct ib_srq ibsrq; member 836 static inline struct qib_srq *to_isrq(struct ib_srq *ibsrq) in to_isrq() argument 838 return container_of(ibsrq, struct qib_srq, ibsrq); in to_isrq() 999 int qib_post_srq_receive(struct ib_srq *ibsrq, struct ib_recv_wr *wr, 1006 int qib_modify_srq(struct ib_srq *ibsrq, struct ib_srq_attr *attr, 1010 int qib_query_srq(struct ib_srq *ibsrq, struct ib_srq_attr *attr); 1012 int qib_destroy_srq(struct ib_srq *ibsrq);
|
D | qib_ruc.c | 152 handler = srq->ibsrq.event_handler; in qib_get_rwqe() 216 handler(&ev, srq->ibsrq.srq_context); in qib_get_rwqe()
|
/drivers/infiniband/hw/mthca/ |
D | mthca_srq.c | 353 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 …]
|
D | mthca_provider.h | 223 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()
|
D | mthca_dev.h | 514 int mthca_modify_srq(struct ib_srq *ibsrq, struct ib_srq_attr *attr,
|
D | mthca_provider.c | 489 return &srq->ibsrq; in mthca_create_srq()
|
/drivers/infiniband/hw/ocrdma/ |
D | ocrdma.h | 377 struct ib_srq ibsrq; member 494 static inline struct ocrdma_srq *get_ocrdma_srq(struct ib_srq *ibsrq) in get_ocrdma_srq() argument 496 return container_of(ibsrq, struct ocrdma_srq, ibsrq); in get_ocrdma_srq()
|
D | ocrdma_verbs.c | 1937 return &srq->ibsrq; in ocrdma_create_srq() 1948 int ocrdma_modify_srq(struct ib_srq *ibsrq, in ocrdma_modify_srq() argument 1956 srq = get_ocrdma_srq(ibsrq); in ocrdma_modify_srq() 1964 int ocrdma_query_srq(struct ib_srq *ibsrq, struct ib_srq_attr *srq_attr) in ocrdma_query_srq() argument 1969 srq = get_ocrdma_srq(ibsrq); in ocrdma_query_srq() 1974 int ocrdma_destroy_srq(struct ib_srq *ibsrq) in ocrdma_destroy_srq() argument 1978 struct ocrdma_dev *dev = get_ocrdma_dev(ibsrq->device); in ocrdma_destroy_srq() 1980 srq = get_ocrdma_srq(ibsrq); in ocrdma_destroy_srq() 2412 int ocrdma_post_srq_recv(struct ib_srq *ibsrq, struct ib_recv_wr *wr, in ocrdma_post_srq_recv() argument 2421 srq = get_ocrdma_srq(ibsrq); in ocrdma_post_srq_recv()
|
D | ocrdma_hw.c | 753 ib_evt.element.srq = &qp->srq->ibsrq; in ocrdma_dispatch_ibevent() 759 ib_evt.element.srq = &qp->srq->ibsrq; in ocrdma_dispatch_ibevent() 787 if (qp->srq->ibsrq.event_handler) in ocrdma_dispatch_ibevent() 788 qp->srq->ibsrq.event_handler(&ib_evt, in ocrdma_dispatch_ibevent() 789 qp->srq->ibsrq. in ocrdma_dispatch_ibevent() 2832 struct ocrdma_dev *dev = get_ocrdma_dev(srq->ibsrq.device); in ocrdma_mbx_query_srq()
|
/drivers/staging/rdma/ehca/ |
D | ehca_qp.c | 2032 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()
|