Searched refs:base_mr (Results 1 – 5 of 5) sorted by relevance
/drivers/infiniband/sw/siw/ |
D | siw_verbs.c | 914 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 …]
|
D | siw_verbs.h | 72 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);
|
D | siw.h | 166 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()
|
D | siw_qp_tx.c | 940 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()
|
D | siw_mem.c | 121 mr->base_mr.lkey = mr->base_mr.rkey = mem->stag; in siw_mr_add_mem()
|