/linux-6.6.21/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() 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 …]
|
D | mlx4_ib.h | 375 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/ |
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 | 198 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/ |
D | srq.c | 34 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 …]
|
D | srq.h | 11 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);
|
D | qp.h | 24 int rvt_post_srq_recv(struct ib_srq *ibsrq, const struct ib_recv_wr *wr,
|
/linux-6.6.21/drivers/infiniband/hw/mlx5/ |
D | srq.c | 21 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 …]
|
D | mlx5_ib.h | 591 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/ |
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 | 391 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/ |
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() 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/ |
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 | 236 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()
|
D | qedr.h | 361 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/ |
D | rxe_verbs.c | 367 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 …]
|
D | rxe.h | 50 #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, \
|
D | rxe_srq.c | 52 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()
|
D | rxe_verbs.h | 95 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/ |
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 | 94 int ocrdma_destroy_srq(struct ib_srq *ibsrq, struct ib_udata *udata);
|
/linux-6.6.21/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()
|
/linux-6.6.21/drivers/infiniband/hw/cxgb4/ |
D | iw_cxgb4.h | 502 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,
|