Home
last modified time | relevance | path

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

/freebsd/sys/dev/mlx4/mlx4_ib/
H A Dmlx4_ib_srq.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()
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()
252 struct mlx4_ib_dev *dev = to_mdev(ibsrq->device); in mlx4_ib_query_srq()
253 struct mlx4_ib_srq *srq = to_msrq(ibsrq); in mlx4_ib_query_srq()
[all …]
H A Dmlx4_ib.h335 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 Dmlx5_ib_srq.c47 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()
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()
373 struct mlx5_ib_dev *dev = to_mdev(ibsrq->device); in mlx5_ib_query_srq()
374 struct mlx5_ib_srq *srq = to_msrq(ibsrq); in mlx5_ib_query_srq()
[all …]
H A Dmlx5_ib.h496 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 Dmthca_srq.c355 if (!srq->ibsrq.uobject) { in mthca_free_srq()
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()
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()
480 struct mthca_dev *dev = to_mdev(ibsrq->device); in mthca_tavor_post_srq_recv()
481 struct mthca_srq *srq = to_msrq(ibsrq); in mthca_tavor_post_srq_recv()
[all …]
H A Dmthca_provider.h225 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 Dmthca_provider.c405 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 Dmthca_dev.h518 int mthca_modify_srq(struct ib_srq *ibsrq, struct ib_srq_attr *attr,
/freebsd/sys/ofed/include/rdma/
H A Drdma_vt.h417 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 Drdmavt_qp.h384 struct ib_srq ibsrq; member
H A Dib_verbs.h2114 (pop)[0] INIT_RDMA_OBJ_SIZE(ib_srq, driver##_ib_srq, ibsrq); \
/freebsd/sys/dev/qlnx/qlnxr/
H A Dqlnxr_def.h595 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 Dqlnxr_verbs.h42 extern int qlnxr_create_srq(struct ib_srq *ibsrq,
H A Dqlnxr_verbs.c160 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()
332 srq = get_qlnxr_srq(ibsrq); in qlnxr_query_srq()
[all …]
/freebsd/contrib/ofed/libmlx5/
H A Dsrq.c86 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 Dmlx5.h500 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 Dverbs.c634 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 Dmlx4.h329 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 Dsrq.c62 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 Dlibcxgb4.h202 int c4iw_post_srq_recv(struct ibv_srq *ibsrq,
H A Dverbs.c303 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 Dib_verbs.h151 struct ib_srq ibsrq; member
H A Dib_verbs.c1095 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 Dmain.c2438 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 Diw_cxgbe.h477 struct ib_srq ibsrq; member