Searched refs:rwq (Results 1 – 1 of 1) sorted by relevance
/Linux-v5.4/drivers/infiniband/hw/mlx5/ |
D | qp.c | 779 struct mlx5_ib_rwq *rwq, struct ib_udata *udata) in destroy_user_rq() argument 787 if (rwq->create_flags & MLX5_IB_WQ_FLAGS_DELAY_DROP) in destroy_user_rq() 790 mlx5_ib_db_unmap_user(context, &rwq->db); in destroy_user_rq() 791 ib_umem_release(rwq->umem); in destroy_user_rq() 795 struct ib_udata *udata, struct mlx5_ib_rwq *rwq, in create_user_rq() argument 809 rwq->umem = ib_umem_get(udata, ucmd->buf_addr, rwq->buf_size, 0, 0); in create_user_rq() 810 if (IS_ERR(rwq->umem)) { in create_user_rq() 812 err = PTR_ERR(rwq->umem); in create_user_rq() 816 mlx5_ib_cont_pages(rwq->umem, ucmd->buf_addr, 0, &npages, &page_shift, in create_user_rq() 819 &rwq->rq_page_offset); in create_user_rq() [all …]
|