/freebsd/sys/dev/mlx4/mlx4_ib/ |
H A D | mlx4_ib_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 …]
|
H A D | mlx4_ib.h | 335 struct ib_srq ibsrq; member 689 static inline struct mlx4_ib_srq *to_msrq(struct ib_srq *ibsrq) in to_msrq() argument 691 return container_of(ibsrq, struct mlx4_ib_srq, ibsrq); in to_msrq() 751 int mlx4_ib_modify_srq(struct ib_srq *ibsrq, struct ib_srq_attr *attr, 756 int mlx4_ib_post_srq_recv(struct ib_srq *ibsrq, const struct ib_recv_wr *wr,
|
/freebsd/sys/dev/mlx5/mlx5_ib/ |
H A D | mlx5_ib_srq.c | 47 struct ib_srq *ibsrq = &to_mibsrq(srq)->ibsrq; in mlx5_ib_srq_event() local 49 if (ibsrq->event_handler) { in mlx5_ib_srq_event() 50 event.device = ibsrq->device; in mlx5_ib_srq_event() 51 event.element.srq = ibsrq; in mlx5_ib_srq_event() 65 ibsrq->event_handler(&event, ibsrq->srq_context); in mlx5_ib_srq_event() 320 srq->ibsrq.ext.xrc.srq_num = srq->msrq.srqn; in mlx5_ib_create_srq() 345 int mlx5_ib_modify_srq(struct ib_srq *ibsrq, struct ib_srq_attr *attr, in mlx5_ib_modify_srq() argument 348 struct mlx5_ib_dev *dev = to_mdev(ibsrq->device); in mlx5_ib_modify_srq() 349 struct mlx5_ib_srq *srq = to_msrq(ibsrq); in mlx5_ib_modify_srq() 371 int mlx5_ib_query_srq(struct ib_srq *ibsrq, struct ib_srq_attr *srq_attr) in mlx5_ib_query_srq() argument [all …]
|
H A D | mlx5_ib.h | 496 struct ib_srq ibsrq; member 843 static inline struct mlx5_ib_srq *to_msrq(struct ib_srq *ibsrq) in to_msrq() argument 845 return container_of(ibsrq, struct mlx5_ib_srq, ibsrq); in to_msrq() 910 int mlx5_ib_modify_srq(struct ib_srq *ibsrq, struct ib_srq_attr *attr, 912 int mlx5_ib_query_srq(struct ib_srq *ibsrq, struct ib_srq_attr *srq_attr); 914 int mlx5_ib_post_srq_recv(struct ib_srq *ibsrq, const struct ib_recv_wr *wr,
|
/freebsd/sys/dev/mthca/ |
H A D | mthca_srq.c | 355 if (!srq->ibsrq.uobject) { in mthca_free_srq() 366 int mthca_modify_srq(struct ib_srq *ibsrq, struct ib_srq_attr *attr, in mthca_modify_srq() argument 369 struct mthca_dev *dev = to_mdev(ibsrq->device); in mthca_modify_srq() 370 struct mthca_srq *srq = to_msrq(ibsrq); in mthca_modify_srq() 390 int mthca_query_srq(struct ib_srq *ibsrq, struct ib_srq_attr *srq_attr) in mthca_query_srq() argument 392 struct mthca_dev *dev = to_mdev(ibsrq->device); in mthca_query_srq() 393 struct mthca_srq *srq = to_msrq(ibsrq); in mthca_query_srq() 441 if (!srq->ibsrq.event_handler) in mthca_srq_event() 446 event.element.srq = &srq->ibsrq; in mthca_srq_event() 447 srq->ibsrq.event_handler(&event, srq->ibsrq.srq_context); in mthca_srq_event() [all …]
|
H A D | mthca_provider.h | 225 struct ib_srq ibsrq; member 331 static inline struct mthca_srq *to_msrq(struct ib_srq *ibsrq) in to_msrq() argument 333 return container_of(ibsrq, struct mthca_srq, ibsrq); in to_msrq()
|
H A D | mthca_provider.c | 405 static int mthca_create_srq(struct ib_srq *ibsrq, in mthca_create_srq() argument 412 struct mthca_srq *srq = to_msrq(ibsrq); in mthca_create_srq() 422 err = mthca_map_user_db(to_mdev(ibsrq->device), &context->uar, in mthca_create_srq() 433 err = mthca_alloc_srq(to_mdev(ibsrq->device), to_mpd(ibsrq->pd), in mthca_create_srq() 437 mthca_unmap_user_db(to_mdev(ibsrq->device), &context->uar, in mthca_create_srq() 444 mthca_free_srq(to_mdev(ibsrq->device), srq); in mthca_create_srq()
|
H A D | mthca_dev.h | 518 int mthca_modify_srq(struct ib_srq *ibsrq, struct ib_srq_attr *attr,
|
/freebsd/sys/ofed/include/rdma/ |
H A D | rdma_vt.h | 417 static inline struct rvt_srq *ibsrq_to_rvtsrq(struct ib_srq *ibsrq) in ibsrq_to_rvtsrq() argument 419 return container_of(ibsrq, struct rvt_srq, ibsrq); in ibsrq_to_rvtsrq()
|
H A D | rdmavt_qp.h | 384 struct ib_srq ibsrq; member
|
H A D | ib_verbs.h | 2114 (pop)[0] INIT_RDMA_OBJ_SIZE(ib_srq, driver##_ib_srq, ibsrq); \
|
/freebsd/sys/dev/qlnx/qlnxr/ |
H A D | qlnxr_def.h | 595 struct ib_srq ibsrq; member 791 get_qlnxr_srq(struct ib_srq *ibsrq) in get_qlnxr_srq() argument 793 return container_of(ibsrq, struct qlnxr_srq, ibsrq); in get_qlnxr_srq()
|
H A D | qlnxr_verbs.h | 42 extern int qlnxr_create_srq(struct ib_srq *ibsrq,
|
H A D | qlnxr_verbs.c | 160 qlnxr_create_srq(struct ib_srq *ibsrq, in qlnxr_create_srq() argument 174 struct qlnxr_srq *srq = get_qlnxr_srq(ibsrq); in qlnxr_create_srq() 177 dev = get_qlnxr_dev(ibsrq->device); in qlnxr_create_srq() 225 in_params.pd_id = get_qlnxr_pd(ibsrq->pd)->pd_id; in qlnxr_create_srq() 261 qlnxr_destroy_srq(struct ib_srq *ibsrq, struct ib_udata *udata) in qlnxr_destroy_srq() argument 268 srq = get_qlnxr_srq(ibsrq); in qlnxr_destroy_srq() 277 if (ibsrq->pd->uobject && ibsrq->pd->uobject->context) in qlnxr_destroy_srq() 286 qlnxr_modify_srq(struct ib_srq *ibsrq, struct ib_srq_attr *attr, in qlnxr_modify_srq() argument 295 srq = get_qlnxr_srq(ibsrq); in qlnxr_modify_srq() 326 qlnxr_query_srq(struct ib_srq *ibsrq, struct ib_srq_attr *srq_attr) in qlnxr_query_srq() argument [all …]
|
/freebsd/contrib/ofed/libmlx5/ |
H A D | srq.c | 86 int mlx5_post_srq_recv(struct ibv_srq *ibsrq, in mlx5_post_srq_recv() argument 90 struct mlx5_srq *srq = to_msrq(ibsrq); in mlx5_post_srq_recv()
|
H A D | mlx5.h | 500 static inline struct mlx5_srq *to_msrq(struct ibv_srq *ibsrq) in to_msrq() argument 502 struct verbs_srq *vsrq = (struct verbs_srq *)ibsrq; in to_msrq() 622 int mlx5_post_srq_recv(struct ibv_srq *ibsrq,
|
H A D | verbs.c | 634 struct ibv_srq *ibsrq; in mlx5_create_srq() local 642 ibsrq = &srq->vsrq.srq; in mlx5_create_srq() 695 ret = ibv_cmd_create_srq(pd, ibsrq, attr, &cmd.ibv_cmd, sizeof(cmd), in mlx5_create_srq() 710 return ibsrq; in mlx5_create_srq() 713 ibv_cmd_destroy_srq(ibsrq); in mlx5_create_srq() 1829 struct ibv_srq *ibsrq; in mlx5_create_xrc_srq() local 1837 ibsrq = (struct ibv_srq *)&msrq->vsrq; in mlx5_create_xrc_srq() 1923 return ibsrq; in mlx5_create_xrc_srq() 1926 ibv_cmd_destroy_srq(ibsrq); in mlx5_create_xrc_srq()
|
/freebsd/contrib/ofed/libmlx4/ |
H A D | mlx4.h | 329 static inline struct mlx4_srq *to_msrq(struct ibv_srq *ibsrq) in to_msrq() argument 331 return container_of(container_of(ibsrq, struct verbs_srq, srq), in to_msrq() 424 int mlx4_post_srq_recv(struct ibv_srq *ibsrq,
|
H A D | srq.c | 62 int mlx4_post_srq_recv(struct ibv_srq *ibsrq, in mlx4_post_srq_recv() argument 66 struct mlx4_srq *srq = to_msrq(ibsrq); in mlx4_post_srq_recv()
|
/freebsd/contrib/ofed/libcxgb4/ |
H A D | libcxgb4.h | 202 int c4iw_post_srq_recv(struct ibv_srq *ibsrq,
|
H A D | verbs.c | 303 int c4iw_post_srq_recv(struct ibv_srq *ibsrq, struct ibv_recv_wr *wr, in c4iw_post_srq_recv() argument
|
/freebsd/sys/dev/bnxt/bnxt_re/ |
H A D | ib_verbs.h | 151 struct ib_srq ibsrq; member
|
H A D | ib_verbs.c | 1095 struct bnxt_re_srq *srq = to_bnxt_re(ib_srq, struct bnxt_re_srq, ibsrq); in bnxt_re_destroy_srq() 1216 container_of(ib_srq, struct bnxt_re_srq, ibsrq); in bnxt_re_create_srq() 1317 ibsrq); in bnxt_re_modify_srq() 1357 ibsrq); in bnxt_re_query_srq() 1378 ibsrq); in bnxt_re_post_srq_recv() 1923 srq = to_bnxt_re(init_attr->srq, struct bnxt_re_srq, ibsrq); in bnxt_re_init_rq_attr()
|
H A D | main.c | 2438 ib_event.element.srq = &srq->ibsrq; in bnxt_re_srqn_handler() 2444 if (srq->ibsrq.event_handler) { in bnxt_re_srqn_handler() 2446 (*srq->ibsrq.event_handler)(&ib_event, in bnxt_re_srqn_handler() 2447 srq->ibsrq.srq_context); in bnxt_re_srqn_handler()
|
/freebsd/sys/dev/cxgbe/iw_cxgbe/ |
H A D | iw_cxgbe.h | 477 struct ib_srq ibsrq; member
|