Home
last modified time | relevance | path

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

/linux-6.12.1/drivers/infiniband/hw/mlx5/
Dqp.c865 struct mlx5_ib_rwq *rwq, struct ib_udata *udata) in destroy_user_rq() argument
873 if (rwq->create_flags & MLX5_IB_WQ_FLAGS_DELAY_DROP) in destroy_user_rq()
876 mlx5_ib_db_unmap_user(context, &rwq->db); in destroy_user_rq()
877 ib_umem_release(rwq->umem); in destroy_user_rq()
881 struct ib_udata *udata, struct mlx5_ib_rwq *rwq, in create_user_rq() argument
893 rwq->umem = ib_umem_get(&dev->ib_dev, ucmd->buf_addr, rwq->buf_size, 0); in create_user_rq()
894 if (IS_ERR(rwq->umem)) { in create_user_rq()
896 err = PTR_ERR(rwq->umem); in create_user_rq()
901 rwq->umem, wq, log_wq_pg_sz, MLX5_ADAPTER_PAGE_SHIFT, in create_user_rq()
902 page_offset, 64, &rwq->rq_page_offset); in create_user_rq()
[all …]