]> git.ipfire.org Git - people/ms/linux.git/commit - drivers/infiniband/hw/qib/qib_mr.c
IB/core: Replace ib_umem's offset field with a full address
authorHaggai Eran <haggaie@mellanox.com>
Thu, 11 Dec 2014 15:04:12 +0000 (17:04 +0200)
committerRoland Dreier <roland@purestorage.com>
Tue, 16 Dec 2014 02:13:35 +0000 (18:13 -0800)
commit406f9e5fa9a7a60b42e676841e39f2d752266814
treeea6b1776793ed0ae3079d9860132a9e062801b18
parent968e78dd96443e2cc963c493070574778805e76a
IB/core: Replace ib_umem's offset field with a full address

In order to allow umems that do not pin memory, we need the umem to
keep track of its region's address.

This makes the offset field redundant, and so this patch removes it.

Signed-off-by: Haggai Eran <haggaie@mellanox.com>
Signed-off-by: Roland Dreier <roland@purestorage.com>
drivers/infiniband/core/umem.c
drivers/infiniband/hw/amso1100/c2_provider.c
drivers/infiniband/hw/ehca/ehca_mrmw.c
drivers/infiniband/hw/ipath/ipath_mr.c
drivers/infiniband/hw/nes/nes_verbs.c
drivers/infiniband/hw/ocrdma/ocrdma_verbs.c
drivers/infiniband/hw/qib/qib_mr.c
include/rdma/ib_umem.h