IB/core: Add user MR re-registration support
authorMatan Barak <matanb@mellanox.com>
Thu, 31 Jul 2014 08:01:28 +0000 (11:01 +0300)
committerRoland Dreier <roland@purestorage.com>
Fri, 1 Aug 2014 22:11:13 +0000 (15:11 -0700)
commit7e6edb9b2e0bcfb2a588db390c44d120213c57ae
tree9a8699e7cf72bc2c12574e3a2c46ddf10c542cd2
parent64aa90f26c06e1cb2aacfb98a7d0eccfbd6c1a91
IB/core: Add user MR re-registration support

Memory re-registration is a feature that enables changing the
attributes of a memory region registered by user-space, including PD,
translation (address and length) and access flags.

Add the required support in uverbs and the kernel verbs API.

Signed-off-by: Matan Barak <matanb@mellanox.com>
Signed-off-by: Or Gerlitz <ogerlitz@mellanox.com>
Signed-off-by: Roland Dreier <roland@purestorage.com>
drivers/infiniband/core/uverbs.h
drivers/infiniband/core/uverbs_cmd.c
drivers/infiniband/core/uverbs_main.c
include/rdma/ib_verbs.h
include/uapi/rdma/ib_user_verbs.h