Home
last modified time | relevance | path

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

/drivers/infiniband/hw/bnxt_re/
Dib_verbs.h226 struct ib_mr *bnxt_re_get_dma_mr(struct ib_pd *pd, int mr_access_flags);
237 u64 virt_addr, int mr_access_flags,
241 int fd, int mr_access_flags,
Dib_verbs.c479 int mr_access_flags = IB_ACCESS_LOCAL_WRITE | IB_ACCESS_MW_BIND; in bnxt_re_create_fence_mr() local
509 mr->qplib_mr.flags = __from_ib_access_flags(mr_access_flags); in bnxt_re_create_fence_mr()
3797 struct ib_mr *bnxt_re_get_dma_mr(struct ib_pd *ib_pd, int mr_access_flags) in bnxt_re_get_dma_mr() argument
3811 mr->qplib_mr.flags = __from_ib_access_flags(mr_access_flags); in bnxt_re_get_dma_mr()
3827 if (mr_access_flags & (IB_ACCESS_REMOTE_WRITE | IB_ACCESS_REMOTE_READ | in bnxt_re_get_dma_mr()
4001 int mr_access_flags, struct ib_umem *umem) in __bnxt_re_user_reg_mr() argument
4028 mr->qplib_mr.flags = __from_ib_access_flags(mr_access_flags); in __bnxt_re_user_reg_mr()
4068 u64 virt_addr, int mr_access_flags, in bnxt_re_reg_user_mr() argument
4076 umem = ib_umem_get(&rdev->ibdev, start, length, mr_access_flags); in bnxt_re_reg_user_mr()
4080 ib_mr = __bnxt_re_user_reg_mr(ib_pd, length, virt_addr, mr_access_flags, umem); in bnxt_re_reg_user_mr()
[all …]
/drivers/infiniband/hw/mlx4/
Dmr.c460 int mr_access_flags, struct ib_pd *pd, in mlx4_ib_rereg_user_mr() argument
486 if (ib_access_writable(mr_access_flags) && in mlx4_ib_rereg_user_mr()
493 convert_access(mr_access_flags)); in mlx4_ib_rereg_user_mr()
506 mr_access_flags); in mlx4_ib_rereg_user_mr()
539 mmr->mmr.access = mr_access_flags; in mlx4_ib_rereg_user_mr()
Dmlx4_ib.h914 int mr_access_flags, struct ib_pd *pd,
/drivers/infiniband/sw/rdmavt/
Dmr.h28 u64 virt_addr, int mr_access_flags,
Dmr.c337 u64 virt_addr, int mr_access_flags, in rvt_reg_user_mr() argument
349 umem = ib_umem_get(pd->device, start, length, mr_access_flags); in rvt_reg_user_mr()
365 mr->mr.access_flags = mr_access_flags; in rvt_reg_user_mr()
/drivers/infiniband/core/
Dverbs.c263 int mr_access_flags = 0; in __ib_alloc_pd() local
287 mr_access_flags |= IB_ACCESS_LOCAL_WRITE; in __ib_alloc_pd()
291 mr_access_flags |= IB_ACCESS_REMOTE_READ | IB_ACCESS_REMOTE_WRITE; in __ib_alloc_pd()
294 if (mr_access_flags) { in __ib_alloc_pd()
297 mr = pd->device->ops.get_dma_mr(pd, mr_access_flags); in __ib_alloc_pd()
/drivers/infiniband/hw/hns/
Dhns_roce_mr.c267 int mr_access_flags, struct ib_pd *pd, in hns_roce_rereg_user_mr() argument
304 mr->access = mr_access_flags; in hns_roce_rereg_user_mr()
Dhns_roce_hw_v2.c3267 u32 mr_access_flags = mr->access; in hns_roce_v2_rereg_write_mtpt() local
3275 (mr_access_flags & IB_ACCESS_MW_BIND ? 1 : 0)); in hns_roce_v2_rereg_write_mtpt()
3277 mr_access_flags & IB_ACCESS_REMOTE_ATOMIC ? 1 : 0); in hns_roce_v2_rereg_write_mtpt()
3279 mr_access_flags & IB_ACCESS_REMOTE_READ ? 1 : 0); in hns_roce_v2_rereg_write_mtpt()
3281 mr_access_flags & IB_ACCESS_REMOTE_WRITE ? 1 : 0); in hns_roce_v2_rereg_write_mtpt()
3283 mr_access_flags & IB_ACCESS_LOCAL_WRITE ? 1 : 0); in hns_roce_v2_rereg_write_mtpt()
Dhns_roce_device.h1172 int mr_access_flags, struct ib_pd *pd,