/kernel/linux/linux-5.10/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() 187 srq->ibsrq.ext.xrc.srq_num = srq->msrq.srqn; in mlx4_ib_create_srq() 220 int mlx4_ib_modify_srq(struct ib_srq *ibsrq, struct ib_srq_attr *attr, in mlx4_ib_modify_srq() argument 223 struct mlx4_ib_dev *dev = to_mdev(ibsrq->device); in mlx4_ib_modify_srq() 224 struct mlx4_ib_srq *srq = to_msrq(ibsrq); in mlx4_ib_modify_srq() 246 int mlx4_ib_query_srq(struct ib_srq *ibsrq, struct ib_srq_attr *srq_attr) in mlx4_ib_query_srq() argument [all …]
|
D | mlx4_ib.h | 374 struct ib_srq ibsrq; member 723 static inline struct mlx4_ib_srq *to_msrq(struct ib_srq *ibsrq) in to_msrq() argument 725 return container_of(ibsrq, struct mlx4_ib_srq, ibsrq); in to_msrq() 787 int mlx4_ib_modify_srq(struct ib_srq *ibsrq, struct ib_srq_attr *attr, 792 int mlx4_ib_post_srq_recv(struct ib_srq *ibsrq, const struct ib_recv_wr *wr,
|
/kernel/linux/linux-5.10/drivers/infiniband/hw/vmw_pvrdma/ |
D | pvrdma_srq.c | 62 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 …]
|
D | pvrdma.h | 166 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()
|
D | pvrdma_main.c | 196 INIT_RDMA_OBJ_SIZE(ib_srq, pvrdma_srq, ibsrq), 377 if (srq && srq->ibsrq.event_handler) { in pvrdma_srq_event() 378 struct ib_srq *ibsrq = &srq->ibsrq; in pvrdma_srq_event() local 381 e.device = ibsrq->device; in pvrdma_srq_event() 382 e.element.srq = ibsrq; in pvrdma_srq_event() 384 ibsrq->event_handler(&e, ibsrq->srq_context); in pvrdma_srq_event()
|
/kernel/linux/linux-5.10/drivers/infiniband/sw/rdmavt/ |
D | srq.h | 53 int rvt_create_srq(struct ib_srq *ibsrq, struct ib_srq_init_attr *srq_init_attr, 55 int rvt_modify_srq(struct ib_srq *ibsrq, struct ib_srq_attr *attr, 58 int rvt_query_srq(struct ib_srq *ibsrq, struct ib_srq_attr *attr); 59 int rvt_destroy_srq(struct ib_srq *ibsrq, struct ib_udata *udata);
|
D | srq.c | 76 int rvt_create_srq(struct ib_srq *ibsrq, struct ib_srq_init_attr *srq_init_attr, in rvt_create_srq() argument 79 struct rvt_dev_info *dev = ib_to_rvt(ibsrq->device); in rvt_create_srq() 80 struct rvt_srq *srq = ibsrq_to_rvtsrq(ibsrq); in rvt_create_srq() 166 int rvt_modify_srq(struct ib_srq *ibsrq, struct ib_srq_attr *attr, in rvt_modify_srq() argument 170 struct rvt_srq *srq = ibsrq_to_rvtsrq(ibsrq); in rvt_modify_srq() 171 struct rvt_dev_info *dev = ib_to_rvt(ibsrq->device); in rvt_modify_srq() 271 struct rvt_dev_info *dev = ib_to_rvt(srq->ibsrq.device); in rvt_modify_srq() 320 int rvt_query_srq(struct ib_srq *ibsrq, struct ib_srq_attr *attr) in rvt_query_srq() argument 322 struct rvt_srq *srq = ibsrq_to_rvtsrq(ibsrq); in rvt_query_srq() 335 int rvt_destroy_srq(struct ib_srq *ibsrq, struct ib_udata *udata) in rvt_destroy_srq() argument [all …]
|
D | qp.h | 67 int rvt_post_srq_recv(struct ib_srq *ibsrq, const struct ib_recv_wr *wr,
|
/kernel/linux/linux-5.10/drivers/infiniband/hw/mlx5/ |
D | srq.c | 22 struct ib_srq *ibsrq = &to_mibsrq(srq)->ibsrq; in mlx5_ib_srq_event() local 24 if (ibsrq->event_handler) { in mlx5_ib_srq_event() 25 event.device = ibsrq->device; in mlx5_ib_srq_event() 26 event.element.srq = ibsrq; in mlx5_ib_srq_event() 40 ibsrq->event_handler(&event, ibsrq->srq_context); in mlx5_ib_srq_event() 311 srq->ibsrq.ext.xrc.srq_num = srq->msrq.srqn; in mlx5_ib_create_srq() 342 int mlx5_ib_modify_srq(struct ib_srq *ibsrq, struct ib_srq_attr *attr, in mlx5_ib_modify_srq() argument 345 struct mlx5_ib_dev *dev = to_mdev(ibsrq->device); in mlx5_ib_modify_srq() 346 struct mlx5_ib_srq *srq = to_msrq(ibsrq); in mlx5_ib_modify_srq() 368 int mlx5_ib_query_srq(struct ib_srq *ibsrq, struct ib_srq_attr *srq_attr) in mlx5_ib_query_srq() argument [all …]
|
D | mlx5_ib.h | 523 struct ib_srq ibsrq; member 1073 static inline struct mlx5_ib_srq *to_msrq(struct ib_srq *ibsrq) in to_msrq() argument 1075 return container_of(ibsrq, struct mlx5_ib_srq, ibsrq); in to_msrq() 1142 int mlx5_ib_modify_srq(struct ib_srq *ibsrq, struct ib_srq_attr *attr, 1144 int mlx5_ib_query_srq(struct ib_srq *ibsrq, struct ib_srq_attr *srq_attr); 1146 int mlx5_ib_post_srq_recv(struct ib_srq *ibsrq, const struct ib_recv_wr *wr,
|
/kernel/linux/linux-5.10/drivers/infiniband/hw/mthca/ |
D | mthca_srq.c | 361 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 …]
|
D | mthca_provider.h | 205 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()
|
D | mthca_provider.c | 399 static int mthca_create_srq(struct ib_srq *ibsrq, in mthca_create_srq() argument 406 struct mthca_srq *srq = to_msrq(ibsrq); in mthca_create_srq() 416 err = mthca_map_user_db(to_mdev(ibsrq->device), &context->uar, in mthca_create_srq() 427 err = mthca_alloc_srq(to_mdev(ibsrq->device), to_mpd(ibsrq->pd), in mthca_create_srq() 431 mthca_unmap_user_db(to_mdev(ibsrq->device), &context->uar, in mthca_create_srq() 438 mthca_free_srq(to_mdev(ibsrq->device), srq); in mthca_create_srq() 1128 INIT_RDMA_OBJ_SIZE(ib_srq, mthca_srq, ibsrq), 1138 INIT_RDMA_OBJ_SIZE(ib_srq, mthca_srq, ibsrq),
|
/kernel/linux/linux-5.10/drivers/infiniband/hw/hns/ |
D | hns_roce_srq.c | 37 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() 373 int hns_roce_destroy_srq(struct ib_srq *ibsrq, struct ib_udata *udata) in hns_roce_destroy_srq() argument 375 struct hns_roce_dev *hr_dev = to_hr_dev(ibsrq->device); in hns_roce_destroy_srq() 376 struct hns_roce_srq *srq = to_hr_srq(ibsrq); in hns_roce_destroy_srq()
|
D | hns_roce_device.h | 488 struct ib_srq ibsrq; member 950 int (*modify_srq)(struct ib_srq *ibsrq, struct ib_srq_attr *srq_attr, 953 int (*query_srq)(struct ib_srq *ibsrq, struct ib_srq_attr *attr); 954 int (*post_srq_recv)(struct ib_srq *ibsrq, const struct ib_recv_wr *wr, 1056 static inline struct hns_roce_srq *to_hr_srq(struct ib_srq *ibsrq) in to_hr_srq() argument 1058 return container_of(ibsrq, struct hns_roce_srq, ibsrq); in to_hr_srq() 1238 int hns_roce_modify_srq(struct ib_srq *ibsrq, struct ib_srq_attr *srq_attr, 1241 int hns_roce_destroy_srq(struct ib_srq *ibsrq, struct ib_udata *udata);
|
/kernel/linux/linux-5.10/drivers/infiniband/hw/qedr/ |
D | verbs.h | 66 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,
|
D | main.c | 240 INIT_RDMA_OBJ_SIZE(ib_srq, qedr_srq, ibsrq), 684 struct ib_srq *ibsrq; in qedr_affiliated_event() local 792 ibsrq = &srq->ibsrq; in qedr_affiliated_event() 793 if (ibsrq->event_handler) { in qedr_affiliated_event() 794 event.device = ibsrq->device; in qedr_affiliated_event() 795 event.element.srq = ibsrq; in qedr_affiliated_event() 796 ibsrq->event_handler(&event, in qedr_affiliated_event() 797 ibsrq->srq_context); in qedr_affiliated_event()
|
D | qedr.h | 361 struct ib_srq ibsrq; member 608 static inline struct qedr_srq *get_qedr_srq(struct ib_srq *ibsrq) in get_qedr_srq() argument 610 return container_of(ibsrq, struct qedr_srq, ibsrq); in get_qedr_srq()
|
/kernel/linux/linux-5.10/drivers/infiniband/sw/rxe/ |
D | rxe_verbs.c | 259 static int rxe_create_srq(struct ib_srq *ibsrq, struct ib_srq_init_attr *init, in rxe_create_srq() argument 263 struct rxe_dev *rxe = to_rdev(ibsrq->device); in rxe_create_srq() 264 struct rxe_pd *pd = to_rpd(ibsrq->pd); in rxe_create_srq() 265 struct rxe_srq *srq = to_rsrq(ibsrq); in rxe_create_srq() 298 static int rxe_modify_srq(struct ib_srq *ibsrq, struct ib_srq_attr *attr, in rxe_modify_srq() argument 303 struct rxe_srq *srq = to_rsrq(ibsrq); in rxe_modify_srq() 304 struct rxe_dev *rxe = to_rdev(ibsrq->device); in rxe_modify_srq() 330 static int rxe_query_srq(struct ib_srq *ibsrq, struct ib_srq_attr *attr) in rxe_query_srq() argument 332 struct rxe_srq *srq = to_rsrq(ibsrq); in rxe_query_srq() 343 static int rxe_destroy_srq(struct ib_srq *ibsrq, struct ib_udata *udata) in rxe_destroy_srq() argument [all …]
|
D | rxe_srq.c | 82 srq->ibsrq.event_handler = init->event_handler; in rxe_srq_from_init() 83 srq->ibsrq.srq_context = init->srq_context; in rxe_srq_from_init()
|
D | rxe_verbs.h | 96 struct ib_srq ibsrq; member 413 return srq ? container_of(srq, struct rxe_srq, ibsrq) : NULL; in to_rsrq()
|
/kernel/linux/linux-5.10/drivers/infiniband/hw/ocrdma/ |
D | ocrdma.h | 374 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()
|
D | ocrdma_verbs.h | 95 int ocrdma_destroy_srq(struct ib_srq *ibsrq, struct ib_udata *udata);
|
/kernel/linux/linux-5.10/include/rdma/ |
D | rdmavt_qp.h | 452 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()
|
/kernel/linux/linux-5.10/drivers/infiniband/hw/cxgb4/ |
D | iw_cxgb4.h | 508 struct ib_srq ibsrq; member 522 static inline struct c4iw_srq *to_c4iw_srq(struct ib_srq *ibsrq) in to_c4iw_srq() argument 524 return container_of(ibsrq, struct c4iw_srq, ibsrq); in to_c4iw_srq() 1051 int c4iw_post_srq_recv(struct ib_srq *ibsrq, const struct ib_recv_wr *wr,
|