IB/uverbs: Implement memory windows support in uverbs
authorShani Michaeli <shanim@mellanox.com>
Wed, 6 Feb 2013 16:19:13 +0000 (16:19 +0000)
committerRoland Dreier <roland@purestorage.com>
Thu, 21 Feb 2013 19:59:09 +0000 (11:59 -0800)
commit6b52a12bc3fc39053b5bac4d4927ec8d974f8f60
treeee722399af38f19b84773e87a519b1da3d2d6268
parent7083e42ee2ff43a11481e0e7211ec4f9ac68cb79
IB/uverbs: Implement memory windows support in uverbs

The existing user/kernel uverbs API has IB_USER_VERBS_CMD_ALLOC/DEALLOC_MW.
Implement these calls, along with destroying user memory windows during
process cleanup.

Signed-off-by: Haggai Eran <haggaie@mellanox.com>
Signed-off-by: Shani Michaeli <shanim@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/uapi/rdma/ib_user_verbs.h