Home
last modified time | relevance | path

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

/linux-6.1.9/drivers/infiniband/hw/mlx5/
Dqp.c784 struct mlx5_ib_rwq *rwq, struct ib_udata *udata) in destroy_user_rq() argument
792 if (rwq->create_flags & MLX5_IB_WQ_FLAGS_DELAY_DROP) in destroy_user_rq()
795 mlx5_ib_db_unmap_user(context, &rwq->db); in destroy_user_rq()
796 ib_umem_release(rwq->umem); in destroy_user_rq()
800 struct ib_udata *udata, struct mlx5_ib_rwq *rwq, in create_user_rq() argument
812 rwq->umem = ib_umem_get(&dev->ib_dev, ucmd->buf_addr, rwq->buf_size, 0); in create_user_rq()
813 if (IS_ERR(rwq->umem)) { in create_user_rq()
815 err = PTR_ERR(rwq->umem); in create_user_rq()
820 rwq->umem, wq, log_wq_pg_sz, MLX5_ADAPTER_PAGE_SHIFT, in create_user_rq()
821 page_offset, 64, &rwq->rq_page_offset); in create_user_rq()
[all …]