]> git.baikalelectronics.ru Git - kernel.git/commit
IB/mlx5: Add DEVX support for memory registration
authorYishai Hadas <yishaih@mellanox.com>
Sun, 17 Jun 2018 10:00:04 +0000 (13:00 +0300)
committerJason Gunthorpe <jgg@mellanox.com>
Tue, 19 Jun 2018 16:53:02 +0000 (10:53 -0600)
commit662f6cb274646d2297ca816fdbe02754ec2bb022
tree27e16ea1a1840d95801afd339355c759f17c7b2f
parent7e66700cd5ecf0d6921cd04c14a0302d38cebe01
IB/mlx5: Add DEVX support for memory registration

Add support to register a memory with the firmware via the DEVX
interface.

The driver translates a given user address to ib_umem then it will
register the physical addresses with the firmware and get a unique id
for this registration to be used for this virtual address.

Signed-off-by: Yishai Hadas <yishaih@mellanox.com>
Signed-off-by: Leon Romanovsky <leonro@mellanox.com>
Signed-off-by: Jason Gunthorpe <jgg@mellanox.com>
drivers/infiniband/hw/mlx5/devx.c
include/linux/mlx5/mlx5_ifc.h
include/uapi/rdma/mlx5_user_ioctl_cmds.h