projects
/
deliverable
/
linux.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
IB/core: Enhance ib_map_mr_sg()
[deliverable/linux.git]
/
drivers
/
infiniband
/
core
/
rw.c
diff --git
a/drivers/infiniband/core/rw.c
b/drivers/infiniband/core/rw.c
index 6fc50bf79afe2d16bbff10085d02a29874f81fa0..1eb9b1294a6383c689363bb02a713ee1cd660037 100644
(file)
--- a/
drivers/infiniband/core/rw.c
+++ b/
drivers/infiniband/core/rw.c
@@
-92,7
+92,7
@@
static int rdma_rw_init_one_mr(struct ib_qp *qp, u8 port_num,
reg->inv_wr.next = NULL;
}
- ret = ib_map_mr_sg(reg->mr, sg, nents, offset, PAGE_SIZE);
+ ret = ib_map_mr_sg(reg->mr, sg, nents,
&
offset, PAGE_SIZE);
if (ret < nents) {
ib_mr_pool_put(qp, &qp->rdma_mrs, reg->mr);
return -EINVAL;
This page took
0.025873 seconds
and
5
git commands to generate.