| /NextBSD/sys/ofed/drivers/infiniband/hw/mlx4/ |
| HD | 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() 190 srq->ibsrq.ext.xrc.srq_num = srq->msrq.srqn; in mlx4_ib_create_srq() 200 return &srq->ibsrq; in mlx4_ib_create_srq() 227 int mlx4_ib_modify_srq(struct ib_srq *ibsrq, struct ib_srq_attr *attr, in mlx4_ib_modify_srq() argument 230 struct mlx4_ib_dev *dev = to_mdev(ibsrq->device); in mlx4_ib_modify_srq() 231 struct mlx4_ib_srq *srq = to_msrq(ibsrq); in mlx4_ib_modify_srq() [all …]
|
| HD | mlx4_ib.h | 349 struct ib_srq ibsrq; member 663 static inline struct mlx4_ib_srq *to_msrq(struct ib_srq *ibsrq) in to_msrq() argument 665 return container_of(ibsrq, struct mlx4_ib_srq, ibsrq); in to_msrq() 727 int mlx4_ib_modify_srq(struct ib_srq *ibsrq, struct ib_srq_attr *attr, 732 int mlx4_ib_post_srq_recv(struct ib_srq *ibsrq, struct ib_recv_wr *wr,
|
| /NextBSD/sys/ofed/drivers/infiniband/hw/mthca/ |
| HD | mthca_srq.c | 365 if (!srq->ibsrq.uobject) { in mthca_free_srq() 376 int mthca_modify_srq(struct ib_srq *ibsrq, struct ib_srq_attr *attr, in mthca_modify_srq() argument 379 struct mthca_dev *dev = to_mdev(ibsrq->device); in mthca_modify_srq() 380 struct mthca_srq *srq = to_msrq(ibsrq); in mthca_modify_srq() 406 int mthca_query_srq(struct ib_srq *ibsrq, struct ib_srq_attr *srq_attr) in mthca_query_srq() argument 408 struct mthca_dev *dev = to_mdev(ibsrq->device); in mthca_query_srq() 409 struct mthca_srq *srq = to_msrq(ibsrq); in mthca_query_srq() 458 if (!srq->ibsrq.event_handler) in mthca_srq_event() 463 event.element.srq = &srq->ibsrq; in mthca_srq_event() 464 srq->ibsrq.event_handler(&event, srq->ibsrq.srq_context); in mthca_srq_event() [all …]
|
| HD | mthca_provider.h | 222 struct ib_srq ibsrq; member 328 static inline struct mthca_srq *to_msrq(struct ib_srq *ibsrq) in to_msrq() argument 330 return container_of(ibsrq, struct mthca_srq, ibsrq); in to_msrq()
|
| HD | mthca_dev.h | 515 int mthca_modify_srq(struct ib_srq *ibsrq, struct ib_srq_attr *attr,
|
| HD | mthca_provider.c | 516 return &srq->ibsrq; in mthca_create_srq()
|
| /NextBSD/contrib/ofed/libmthca/src/ |
| HD | srq.c | 80 int mthca_tavor_post_srq_recv(struct ibv_srq *ibsrq, in mthca_tavor_post_srq_recv() argument 84 struct mthca_srq *srq = to_msrq(ibsrq); in mthca_tavor_post_srq_recv() 159 mthca_write64(doorbell, to_mctx(ibsrq->context), MTHCA_RECV_DOORBELL); in mthca_tavor_post_srq_recv() 175 mthca_write64(doorbell, to_mctx(ibsrq->context), MTHCA_RECV_DOORBELL); in mthca_tavor_post_srq_recv() 182 int mthca_arbel_post_srq_recv(struct ibv_srq *ibsrq, in mthca_arbel_post_srq_recv() argument 186 struct mthca_srq *srq = to_msrq(ibsrq); in mthca_arbel_post_srq_recv()
|
| HD | mthca.h | 273 static inline struct mthca_srq *to_msrq(struct ibv_srq *ibsrq) in to_msrq() argument 340 int mthca_tavor_post_srq_recv(struct ibv_srq *ibsrq, 343 int mthca_arbel_post_srq_recv(struct ibv_srq *ibsrq,
|
| /NextBSD/contrib/ofed/libmlx4/src/ |
| HD | verbs.c | 375 int mlx4_destroy_srq(struct ibv_srq *ibsrq) in mlx4_destroy_srq() argument 377 struct mlx4_srq *srq = to_msrq(ibsrq); in mlx4_destroy_srq() 381 if (ibsrq->xrc_cq) { in mlx4_destroy_srq() 383 mcq = to_mcq(ibsrq->xrc_cq); in mlx4_destroy_srq() 386 mlx4_clear_xrc_srq(to_mctx(ibsrq->context), srq->srqn); in mlx4_destroy_srq() 390 ret = ibv_cmd_destroy_srq(ibsrq); in mlx4_destroy_srq() 392 if (ibsrq->xrc_cq) { in mlx4_destroy_srq() 394 mlx4_store_xrc_srq(to_mctx(ibsrq->context), in mlx4_destroy_srq() 401 mlx4_free_db(to_mctx(ibsrq->context), MLX4_DB_TYPE_RQ, srq->db); in mlx4_destroy_srq()
|
| HD | srq.c | 64 int mlx4_post_srq_recv(struct ibv_srq *ibsrq, in mlx4_post_srq_recv() argument 68 struct mlx4_srq *srq = to_msrq(ibsrq); in mlx4_post_srq_recv()
|
| HD | mlx4.h | 328 static inline struct mlx4_srq *to_msrq(struct ibv_srq *ibsrq) in to_msrq() argument 394 int mlx4_post_srq_recv(struct ibv_srq *ibsrq,
|
| /NextBSD/contrib/ofed/libmlx4/fixes/ |
| HD | xrc_consolidated_v2.patch | 278 int mlx4_post_srq_recv(struct ibv_srq *ibsrq, 411 +int mlx4_destroy_srq(struct ibv_srq *ibsrq) 413 + struct mlx4_srq *srq = to_msrq(ibsrq); 419 + if (ibsrq->xrc_cq) { 421 + mcq = to_mcq(ibsrq->xrc_cq); 424 + mlx4_clear_xrc_srq(to_mctx(ibsrq->context), srq->srqn); 428 + ret = ibv_cmd_destroy_srq(ibsrq); 430 + if (ibsrq->xrc_cq) { 432 + mlx4_store_xrc_srq(to_mctx(ibsrq->context), 443 + mlx4_free_db(to_mctx(ibsrq->context), MLX4_DB_TYPE_RQ, srq->db);
|
| /NextBSD/contrib/ofed/libcxgb4/src/ |
| HD | libcxgb4.h | 192 int c4iw_post_srq_recv(struct ibv_srq *ibsrq,
|
| HD | verbs.c | 299 int c4iw_post_srq_recv(struct ibv_srq *ibsrq, struct ibv_recv_wr *wr, in c4iw_post_srq_recv() argument
|