Home
last modified time | relevance | path

Searched refs:core_qp (Results 1 – 2 of 2) sorted by relevance

/Linux-v4.19/drivers/infiniband/hw/mlx5/
Dmlx5_ib.h290 struct mlx5_core_qp core_qp; member
936 static inline struct mlx5_ib_rwq *to_mibrwq(struct mlx5_core_qp *core_qp) in to_mibrwq() argument
938 return container_of(core_qp, struct mlx5_ib_rwq, core_qp); in to_mibrwq()
Dqp.c5209 static void mlx5_ib_wq_event(struct mlx5_core_qp *core_qp, int type) in mlx5_ib_wq_event() argument
5211 struct mlx5_ib_rwq *rwq = to_mibrwq(core_qp); in mlx5_ib_wq_event()
5223 mlx5_ib_warn(dev, "Unexpected event type %d on WQ %06x\n", type, core_qp->qpn); in mlx5_ib_wq_event()
5335 err = mlx5_core_create_rq_tracked(dev->mdev, in, inlen, &rwq->core_qp); in create_rq()
5341 mlx5_core_destroy_rq_tracked(dev->mdev, &rwq->core_qp); in create_rq()
5490 rwq->ibwq.wq_num = rwq->core_qp.qpn; in mlx5_ib_create_wq()
5500 rwq->core_qp.event = mlx5_ib_wq_event; in mlx5_ib_create_wq()
5505 mlx5_core_destroy_rq_tracked(dev->mdev, &rwq->core_qp); in mlx5_ib_create_wq()
5518 mlx5_core_destroy_rq_tracked(dev->mdev, &rwq->core_qp); in mlx5_ib_destroy_wq()
5691 err = mlx5_core_modify_rq(dev->mdev, rwq->core_qp.qpn, in, inlen); in mlx5_ib_modify_wq()