diff options
author | Ariel Levkovich <lariel@mellanox.com> | 2018-04-05 18:53:25 +0300 |
---|---|---|
committer | Jason Gunthorpe <jgg@mellanox.com> | 2018-04-05 11:16:39 -0600 |
commit | be934cca9e987e73eb20e3c80731a9580d5acc79 (patch) | |
tree | 5f86dc099337c73984135db42a3ec003416b5ca8 /drivers/infiniband/core/Makefile | |
parent | bee76d7ab5d270919e80e4764df7cd7e4f06ed24 (diff) | |
download | talos-obmc-linux-be934cca9e987e73eb20e3c80731a9580d5acc79.tar.gz talos-obmc-linux-be934cca9e987e73eb20e3c80731a9580d5acc79.zip |
IB/uverbs: Add device memory registration ioctl support
Adding new ioctl method for the MR object - REG_DM_MR.
This command can be used by users to register an allocated
device memory buffer as an MR and receive lkey and rkey
to be used within work requests.
It is added as a new method under the MR object and using a new
ib_device callback - reg_dm_mr.
The command creates a standard ib_mr object which represents the
registered memory.
Signed-off-by: Ariel Levkovich <lariel@mellanox.com>
Signed-off-by: Leon Romanovsky <leonro@mellanox.com>
Signed-off-by: Jason Gunthorpe <jgg@mellanox.com>
Diffstat (limited to 'drivers/infiniband/core/Makefile')
-rw-r--r-- | drivers/infiniband/core/Makefile | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/infiniband/core/Makefile b/drivers/infiniband/core/Makefile index 636da34f8308..dda9e856e3fa 100644 --- a/drivers/infiniband/core/Makefile +++ b/drivers/infiniband/core/Makefile @@ -35,4 +35,5 @@ ib_ucm-y := ucm.o ib_uverbs-y := uverbs_main.o uverbs_cmd.o uverbs_marshall.o \ rdma_core.o uverbs_std_types.o uverbs_ioctl.o \ uverbs_ioctl_merge.o uverbs_std_types_cq.o \ - uverbs_std_types_flow_action.o uverbs_std_types_dm.o + uverbs_std_types_flow_action.o uverbs_std_types_dm.o \ + uverbs_std_types_mr.o |