Home
last modified time | relevance | path

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

/drivers/infiniband/sw/siw/
Dsiw_verbs.c914 sqe->base_mr = (uintptr_t)reg_wr(wr)->mr; in siw_post_send()
1290 int siw_dereg_mr(struct ib_mr *base_mr, struct ib_udata *udata) in siw_dereg_mr() argument
1292 struct siw_mr *mr = to_siw_mr(base_mr); in siw_dereg_mr()
1293 struct siw_device *sdev = to_siw_dev(base_mr->device); in siw_dereg_mr()
1382 mr->base_mr.lkey |= ureq.stag_key; in siw_reg_user_mr()
1383 mr->base_mr.rkey |= ureq.stag_key; in siw_reg_user_mr()
1397 return &mr->base_mr; in siw_reg_user_mr()
1455 return &mr->base_mr; in siw_alloc_mr()
1473 static int siw_set_pbl_page(struct ib_mr *base_mr, u64 buf_addr) in siw_set_pbl_page() argument
1478 int siw_map_mr_sg(struct ib_mr *base_mr, struct scatterlist *sl, int num_sle, in siw_map_mr_sg() argument
[all …]
Dsiw_verbs.h72 int siw_map_mr_sg(struct ib_mr *base_mr, struct scatterlist *sl, int num_sle,
74 int siw_dereg_mr(struct ib_mr *base_mr, struct ib_udata *udata);
Dsiw.h166 struct ib_mr base_mr; member
588 static inline struct siw_mr *to_siw_mr(struct ib_mr *base_mr) in to_siw_mr() argument
590 return container_of(base_mr, struct siw_mr, base_mr); in to_siw_mr()
Dsiw_qp_tx.c940 struct ib_mr *base_mr = (struct ib_mr *)(uintptr_t)sqe->base_mr; in siw_fastreg_mr() local
947 if (unlikely(!base_mr)) { in siw_fastreg_mr()
952 if (unlikely(base_mr->rkey >> 8 != sqe->rkey >> 8)) { in siw_fastreg_mr()
978 mem->va = base_mr->iova; in siw_fastreg_mr()
Dsiw_mem.c121 mr->base_mr.lkey = mr->base_mr.rkey = mem->stag; in siw_mr_add_mem()