| /freebsd-11-stable/sys/dev/mlx4/mlx4_ib/ |
| HD | mlx4_ib_srq.c | 49 struct ib_srq *ibsrq = &to_mibsrq(srq)->ibsrq; in mlx4_ib_srq_event() local 51 if (ibsrq->event_handler) { in mlx4_ib_srq_event() 52 event.device = ibsrq->device; in mlx4_ib_srq_event() 53 event.element.srq = ibsrq; in mlx4_ib_srq_event() 67 ibsrq->event_handler(&event, ibsrq->srq_context); in mlx4_ib_srq_event() 196 srq->ibsrq.ext.xrc.srq_num = srq->msrq.srqn; in mlx4_ib_create_srq() 206 return &srq->ibsrq; in mlx4_ib_create_srq() 233 int mlx4_ib_modify_srq(struct ib_srq *ibsrq, struct ib_srq_attr *attr, in mlx4_ib_modify_srq() argument 236 struct mlx4_ib_dev *dev = to_mdev(ibsrq->device); in mlx4_ib_modify_srq() 237 struct mlx4_ib_srq *srq = to_msrq(ibsrq); in mlx4_ib_modify_srq() [all …]
|
| HD | mlx4_ib.h | 340 struct ib_srq ibsrq; member 694 static inline struct mlx4_ib_srq *to_msrq(struct ib_srq *ibsrq) in to_msrq() argument 696 return container_of(ibsrq, struct mlx4_ib_srq, ibsrq); in to_msrq() 763 int mlx4_ib_modify_srq(struct ib_srq *ibsrq, struct ib_srq_attr *attr, 768 int mlx4_ib_post_srq_recv(struct ib_srq *ibsrq, struct ib_recv_wr *wr,
|
| /freebsd-11-stable/sys/dev/mlx5/mlx5_ib/ |
| HD | mlx5_ib_srq.c | 48 struct ib_srq *ibsrq = &to_mibsrq(srq)->ibsrq; in mlx5_ib_srq_event() local 50 if (ibsrq->event_handler) { in mlx5_ib_srq_event() 51 event.device = ibsrq->device; in mlx5_ib_srq_event() 52 event.element.srq = ibsrq; in mlx5_ib_srq_event() 66 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() 331 return &srq->ibsrq; in mlx5_ib_create_srq() 348 int mlx5_ib_modify_srq(struct ib_srq *ibsrq, struct ib_srq_attr *attr, in mlx5_ib_modify_srq() argument 351 struct mlx5_ib_dev *dev = to_mdev(ibsrq->device); in mlx5_ib_modify_srq() 352 struct mlx5_ib_srq *srq = to_msrq(ibsrq); in mlx5_ib_modify_srq() [all …]
|
| HD | mlx5_ib.h | 461 struct ib_srq ibsrq; member 741 static inline struct mlx5_ib_srq *to_msrq(struct ib_srq *ibsrq) in to_msrq() argument 743 return container_of(ibsrq, struct mlx5_ib_srq, ibsrq); in to_msrq() 802 int mlx5_ib_modify_srq(struct ib_srq *ibsrq, struct ib_srq_attr *attr, 804 int mlx5_ib_query_srq(struct ib_srq *ibsrq, struct ib_srq_attr *srq_attr); 806 int mlx5_ib_post_srq_recv(struct ib_srq *ibsrq, struct ib_recv_wr *wr,
|
| /freebsd-11-stable/sys/dev/mthca/ |
| HD | mthca_srq.c | 353 if (!srq->ibsrq.uobject) { in mthca_free_srq() 364 int mthca_modify_srq(struct ib_srq *ibsrq, struct ib_srq_attr *attr, in mthca_modify_srq() argument 367 struct mthca_dev *dev = to_mdev(ibsrq->device); in mthca_modify_srq() 368 struct mthca_srq *srq = to_msrq(ibsrq); in mthca_modify_srq() 388 int mthca_query_srq(struct ib_srq *ibsrq, struct ib_srq_attr *srq_attr) in mthca_query_srq() argument 390 struct mthca_dev *dev = to_mdev(ibsrq->device); in mthca_query_srq() 391 struct mthca_srq *srq = to_msrq(ibsrq); in mthca_query_srq() 439 if (!srq->ibsrq.event_handler) in mthca_srq_event() 444 event.element.srq = &srq->ibsrq; in mthca_srq_event() 445 srq->ibsrq.event_handler(&event, srq->ibsrq.srq_context); in mthca_srq_event() [all …]
|
| HD | 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()
|
| HD | mthca_dev.h | 517 int mthca_modify_srq(struct ib_srq *ibsrq, struct ib_srq_attr *attr,
|
| HD | mthca_provider.c | 490 return &srq->ibsrq; in mthca_create_srq()
|
| /freebsd-11-stable/sys/ofed/include/rdma/ |
| HD | rdma_vt.h | 419 static inline struct rvt_srq *ibsrq_to_rvtsrq(struct ib_srq *ibsrq) in ibsrq_to_rvtsrq() argument 421 return container_of(ibsrq, struct rvt_srq, ibsrq); in ibsrq_to_rvtsrq()
|
| HD | rdmavt_qp.h | 386 struct ib_srq ibsrq; member
|
| /freebsd-11-stable/contrib/ofed/libmlx5/ |
| HD | 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()
|
| HD | 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,
|
| HD | verbs.c | 622 struct ibv_srq *ibsrq; in mlx5_create_srq() local 630 ibsrq = &srq->vsrq.srq; in mlx5_create_srq() 683 ret = ibv_cmd_create_srq(pd, ibsrq, attr, &cmd.ibv_cmd, sizeof(cmd), in mlx5_create_srq() 698 return ibsrq; in mlx5_create_srq() 701 ibv_cmd_destroy_srq(ibsrq); in mlx5_create_srq() 1803 struct ibv_srq *ibsrq; in mlx5_create_xrc_srq() local 1811 ibsrq = (struct ibv_srq *)&msrq->vsrq; in mlx5_create_xrc_srq() 1897 return ibsrq; in mlx5_create_xrc_srq() 1900 ibv_cmd_destroy_srq(ibsrq); in mlx5_create_xrc_srq()
|
| /freebsd-11-stable/contrib/ofed/libmlx4/ |
| HD | 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() 423 int mlx4_post_srq_recv(struct ibv_srq *ibsrq,
|
| HD | 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-11-stable/contrib/ofed/libcxgb4/ |
| HD | libcxgb4.h | 202 int c4iw_post_srq_recv(struct ibv_srq *ibsrq,
|
| HD | verbs.c | 297 int c4iw_post_srq_recv(struct ibv_srq *ibsrq, struct ibv_recv_wr *wr, in c4iw_post_srq_recv() argument
|