Home
last modified time | relevance | path

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

12

/linux-6.6.21/drivers/infiniband/hw/mlx4/
Dsrq.c50 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()
191 srq->ibsrq.ext.xrc.srq_num = srq->msrq.srqn; in mlx4_ib_create_srq()
224 int mlx4_ib_modify_srq(struct ib_srq *ibsrq, struct ib_srq_attr *attr, in mlx4_ib_modify_srq() argument
227 struct mlx4_ib_dev *dev = to_mdev(ibsrq->device); in mlx4_ib_modify_srq()
228 struct mlx4_ib_srq *srq = to_msrq(ibsrq); in mlx4_ib_modify_srq()
250 int mlx4_ib_query_srq(struct ib_srq *ibsrq, struct ib_srq_attr *srq_attr) in mlx4_ib_query_srq() argument
[all …]
Dmlx4_ib.h375 struct ib_srq ibsrq; member
725 static inline struct mlx4_ib_srq *to_msrq(struct ib_srq *ibsrq) in to_msrq() argument
727 return container_of(ibsrq, struct mlx4_ib_srq, ibsrq); in to_msrq()
789 int mlx4_ib_modify_srq(struct ib_srq *ibsrq, struct ib_srq_attr *attr,
794 int mlx4_ib_post_srq_recv(struct ib_srq *ibsrq, const struct ib_recv_wr *wr,
/linux-6.6.21/drivers/infiniband/hw/vmw_pvrdma/
Dpvrdma_srq.c62 int pvrdma_query_srq(struct ib_srq *ibsrq, struct ib_srq_attr *srq_attr) in pvrdma_query_srq() argument
64 struct pvrdma_dev *dev = to_vdev(ibsrq->device); in pvrdma_query_srq()
65 struct pvrdma_srq *srq = to_vsrq(ibsrq); in pvrdma_query_srq()
99 int pvrdma_create_srq(struct ib_srq *ibsrq, struct ib_srq_init_attr *init_attr, in pvrdma_create_srq() argument
102 struct pvrdma_srq *srq = to_vsrq(ibsrq); in pvrdma_create_srq()
103 struct pvrdma_dev *dev = to_vdev(ibsrq->device); in pvrdma_create_srq()
149 srq->umem = ib_umem_get(ibsrq->device, ucmd.buf_addr, ucmd.buf_size, 0); in pvrdma_create_srq()
177 cmd->pd_handle = to_vpd(ibsrq->pd)->pd_handle; in pvrdma_create_srq()
200 pvrdma_destroy_srq(&srq->ibsrq, udata); in pvrdma_create_srq()
274 int pvrdma_modify_srq(struct ib_srq *ibsrq, struct ib_srq_attr *attr, in pvrdma_modify_srq() argument
[all …]
Dpvrdma.h166 struct ib_srq ibsrq; member
279 static inline struct pvrdma_srq *to_vsrq(struct ib_srq *ibsrq) in to_vsrq() argument
281 return container_of(ibsrq, struct pvrdma_srq, ibsrq); in to_vsrq()
Dpvrdma_main.c198 INIT_RDMA_OBJ_SIZE(ib_srq, pvrdma_srq, ibsrq),
350 if (srq && srq->ibsrq.event_handler) { in pvrdma_srq_event()
351 struct ib_srq *ibsrq = &srq->ibsrq; in pvrdma_srq_event() local
354 e.device = ibsrq->device; in pvrdma_srq_event()
355 e.element.srq = ibsrq; in pvrdma_srq_event()
357 ibsrq->event_handler(&e, ibsrq->srq_context); in pvrdma_srq_event()
/linux-6.6.21/drivers/infiniband/sw/rdmavt/
Dsrq.c34 int rvt_create_srq(struct ib_srq *ibsrq, struct ib_srq_init_attr *srq_init_attr, in rvt_create_srq() argument
37 struct rvt_dev_info *dev = ib_to_rvt(ibsrq->device); in rvt_create_srq()
38 struct rvt_srq *srq = ibsrq_to_rvtsrq(ibsrq); in rvt_create_srq()
124 int rvt_modify_srq(struct ib_srq *ibsrq, struct ib_srq_attr *attr, in rvt_modify_srq() argument
128 struct rvt_srq *srq = ibsrq_to_rvtsrq(ibsrq); in rvt_modify_srq()
129 struct rvt_dev_info *dev = ib_to_rvt(ibsrq->device); in rvt_modify_srq()
229 struct rvt_dev_info *dev = ib_to_rvt(srq->ibsrq.device); in rvt_modify_srq()
279 int rvt_query_srq(struct ib_srq *ibsrq, struct ib_srq_attr *attr) in rvt_query_srq() argument
281 struct rvt_srq *srq = ibsrq_to_rvtsrq(ibsrq); in rvt_query_srq()
294 int rvt_destroy_srq(struct ib_srq *ibsrq, struct ib_udata *udata) in rvt_destroy_srq() argument
[all …]
Dsrq.h11 int rvt_create_srq(struct ib_srq *ibsrq, struct ib_srq_init_attr *srq_init_attr,
13 int rvt_modify_srq(struct ib_srq *ibsrq, struct ib_srq_attr *attr,
16 int rvt_query_srq(struct ib_srq *ibsrq, struct ib_srq_attr *attr);
17 int rvt_destroy_srq(struct ib_srq *ibsrq, struct ib_udata *udata);
Dqp.h24 int rvt_post_srq_recv(struct ib_srq *ibsrq, const struct ib_recv_wr *wr,
/linux-6.6.21/drivers/infiniband/hw/mlx5/
Dsrq.c21 struct ib_srq *ibsrq = &to_mibsrq(srq)->ibsrq; in mlx5_ib_srq_event() local
23 if (ibsrq->event_handler) { in mlx5_ib_srq_event()
24 event.device = ibsrq->device; in mlx5_ib_srq_event()
25 event.element.srq = ibsrq; in mlx5_ib_srq_event()
39 ibsrq->event_handler(&event, ibsrq->srq_context); in mlx5_ib_srq_event()
290 srq->ibsrq.ext.xrc.srq_num = srq->msrq.srqn; in mlx5_ib_create_srq()
321 int mlx5_ib_modify_srq(struct ib_srq *ibsrq, struct ib_srq_attr *attr, in mlx5_ib_modify_srq() argument
324 struct mlx5_ib_dev *dev = to_mdev(ibsrq->device); in mlx5_ib_modify_srq()
325 struct mlx5_ib_srq *srq = to_msrq(ibsrq); in mlx5_ib_modify_srq()
347 int mlx5_ib_query_srq(struct ib_srq *ibsrq, struct ib_srq_attr *srq_attr) in mlx5_ib_query_srq() argument
[all …]
Dmlx5_ib.h591 struct ib_srq ibsrq; member
1212 static inline struct mlx5_ib_srq *to_msrq(struct ib_srq *ibsrq) in to_msrq() argument
1214 return container_of(ibsrq, struct mlx5_ib_srq, ibsrq); in to_msrq()
1275 int mlx5_ib_modify_srq(struct ib_srq *ibsrq, struct ib_srq_attr *attr,
1277 int mlx5_ib_query_srq(struct ib_srq *ibsrq, struct ib_srq_attr *srq_attr);
1279 int mlx5_ib_post_srq_recv(struct ib_srq *ibsrq, const struct ib_recv_wr *wr,
/linux-6.6.21/drivers/infiniband/hw/mthca/
Dmthca_srq.c361 if (!srq->ibsrq.uobject) { in mthca_free_srq()
372 int mthca_modify_srq(struct ib_srq *ibsrq, struct ib_srq_attr *attr, in mthca_modify_srq() argument
375 struct mthca_dev *dev = to_mdev(ibsrq->device); in mthca_modify_srq()
376 struct mthca_srq *srq = to_msrq(ibsrq); in mthca_modify_srq()
396 int mthca_query_srq(struct ib_srq *ibsrq, struct ib_srq_attr *srq_attr) in mthca_query_srq() argument
398 struct mthca_dev *dev = to_mdev(ibsrq->device); in mthca_query_srq()
399 struct mthca_srq *srq = to_msrq(ibsrq); in mthca_query_srq()
447 if (!srq->ibsrq.event_handler) in mthca_srq_event()
452 event.element.srq = &srq->ibsrq; in mthca_srq_event()
453 srq->ibsrq.event_handler(&event, srq->ibsrq.srq_context); in mthca_srq_event()
[all …]
Dmthca_provider.h205 struct ib_srq ibsrq; member
306 static inline struct mthca_srq *to_msrq(struct ib_srq *ibsrq) in to_msrq() argument
308 return container_of(ibsrq, struct mthca_srq, ibsrq); in to_msrq()
Dmthca_provider.c391 static int mthca_create_srq(struct ib_srq *ibsrq, in mthca_create_srq() argument
398 struct mthca_srq *srq = to_msrq(ibsrq); in mthca_create_srq()
408 err = mthca_map_user_db(to_mdev(ibsrq->device), &context->uar, in mthca_create_srq()
419 err = mthca_alloc_srq(to_mdev(ibsrq->device), to_mpd(ibsrq->pd), in mthca_create_srq()
423 mthca_unmap_user_db(to_mdev(ibsrq->device), &context->uar, in mthca_create_srq()
430 mthca_free_srq(to_mdev(ibsrq->device), srq); in mthca_create_srq()
1109 INIT_RDMA_OBJ_SIZE(ib_srq, mthca_srq, ibsrq),
1119 INIT_RDMA_OBJ_SIZE(ib_srq, mthca_srq, ibsrq),
/linux-6.6.21/drivers/infiniband/hw/hns/
Dhns_roce_srq.c37 struct hns_roce_dev *hr_dev = to_hr_dev(srq->ibsrq.device); in hns_roce_ib_srq_event()
38 struct ib_srq *ibsrq = &srq->ibsrq; in hns_roce_ib_srq_event() local
41 if (ibsrq->event_handler) { in hns_roce_ib_srq_event()
42 event.device = ibsrq->device; in hns_roce_ib_srq_event()
43 event.element.srq = ibsrq; in hns_roce_ib_srq_event()
58 ibsrq->event_handler(&event, ibsrq->srq_context); in hns_roce_ib_srq_event()
293 struct hns_roce_dev *hr_dev = to_hr_dev(srq->ibsrq.device); in set_srq_basic_param()
444 int hns_roce_destroy_srq(struct ib_srq *ibsrq, struct ib_udata *udata) in hns_roce_destroy_srq() argument
446 struct hns_roce_dev *hr_dev = to_hr_dev(ibsrq->device); in hns_roce_destroy_srq()
447 struct hns_roce_srq *srq = to_hr_srq(ibsrq); in hns_roce_destroy_srq()
/linux-6.6.21/drivers/infiniband/hw/qedr/
Dverbs.h66 int qedr_create_srq(struct ib_srq *ibsrq, struct ib_srq_init_attr *attr,
68 int qedr_modify_srq(struct ib_srq *ibsrq, struct ib_srq_attr *attr,
70 int qedr_query_srq(struct ib_srq *ibsrq, struct ib_srq_attr *attr);
71 int qedr_destroy_srq(struct ib_srq *ibsrq, struct ib_udata *udata);
72 int qedr_post_srq_recv(struct ib_srq *ibsrq, const struct ib_recv_wr *wr,
Dmain.c236 INIT_RDMA_OBJ_SIZE(ib_srq, qedr_srq, ibsrq),
653 struct ib_srq *ibsrq; in qedr_affiliated_event() local
761 ibsrq = &srq->ibsrq; in qedr_affiliated_event()
762 if (ibsrq->event_handler) { in qedr_affiliated_event()
763 event.device = ibsrq->device; in qedr_affiliated_event()
764 event.element.srq = ibsrq; in qedr_affiliated_event()
765 ibsrq->event_handler(&event, in qedr_affiliated_event()
766 ibsrq->srq_context); in qedr_affiliated_event()
Dqedr.h361 struct ib_srq ibsrq; member
609 static inline struct qedr_srq *get_qedr_srq(struct ib_srq *ibsrq) in get_qedr_srq() argument
611 return container_of(ibsrq, struct qedr_srq, ibsrq); in get_qedr_srq()
/linux-6.6.21/drivers/infiniband/sw/rxe/
Drxe_verbs.c367 static int rxe_create_srq(struct ib_srq *ibsrq, struct ib_srq_init_attr *init, in rxe_create_srq() argument
370 struct rxe_dev *rxe = to_rdev(ibsrq->device); in rxe_create_srq()
371 struct rxe_pd *pd = to_rpd(ibsrq->pd); in rxe_create_srq()
372 struct rxe_srq *srq = to_rsrq(ibsrq); in rxe_create_srq()
424 static int rxe_modify_srq(struct ib_srq *ibsrq, struct ib_srq_attr *attr, in rxe_modify_srq() argument
428 struct rxe_srq *srq = to_rsrq(ibsrq); in rxe_modify_srq()
429 struct rxe_dev *rxe = to_rdev(ibsrq->device); in rxe_modify_srq()
467 static int rxe_query_srq(struct ib_srq *ibsrq, struct ib_srq_attr *attr) in rxe_query_srq() argument
469 struct rxe_srq *srq = to_rsrq(ibsrq); in rxe_query_srq()
488 static int rxe_post_srq_recv(struct ib_srq *ibsrq, const struct ib_recv_wr *wr, in rxe_post_srq_recv() argument
[all …]
Drxe.h50 #define rxe_dbg_srq(srq, fmt, ...) ibdev_dbg((srq)->ibsrq.device, \
71 #define rxe_err_srq(srq, fmt, ...) ibdev_err_ratelimited((srq)->ibsrq.device, \
92 #define rxe_info_srq(srq, fmt, ...) ibdev_info_ratelimited((srq)->ibsrq.device, \
Drxe_srq.c52 srq->ibsrq.event_handler = init->event_handler; in rxe_srq_from_init()
53 srq->ibsrq.srq_context = init->srq_context; in rxe_srq_from_init()
Drxe_verbs.h95 struct ib_srq ibsrq; member
435 return srq ? container_of(srq, struct rxe_srq, ibsrq) : NULL; in to_rsrq()
/linux-6.6.21/drivers/infiniband/hw/ocrdma/
Docrdma.h374 struct ib_srq ibsrq; member
491 static inline struct ocrdma_srq *get_ocrdma_srq(struct ib_srq *ibsrq) in get_ocrdma_srq() argument
493 return container_of(ibsrq, struct ocrdma_srq, ibsrq); in get_ocrdma_srq()
Docrdma_verbs.h94 int ocrdma_destroy_srq(struct ib_srq *ibsrq, struct ib_udata *udata);
/linux-6.6.21/include/rdma/
Drdmavt_qp.h452 struct ib_srq ibsrq; member
459 static inline struct rvt_srq *ibsrq_to_rvtsrq(struct ib_srq *ibsrq) in ibsrq_to_rvtsrq() argument
461 return container_of(ibsrq, struct rvt_srq, ibsrq); in ibsrq_to_rvtsrq()
/linux-6.6.21/drivers/infiniband/hw/cxgb4/
Diw_cxgb4.h502 struct ib_srq ibsrq; member
516 static inline struct c4iw_srq *to_c4iw_srq(struct ib_srq *ibsrq) in to_c4iw_srq() argument
518 return container_of(ibsrq, struct c4iw_srq, ibsrq); in to_c4iw_srq()
1037 int c4iw_post_srq_recv(struct ib_srq *ibsrq, const struct ib_recv_wr *wr,

12