IB/mlx5: Add mmap support for VAR
authorYishai Hadas <yishaih@mellanox.com>
Thu, 12 Dec 2019 11:09:28 +0000 (13:09 +0200)
committerJason Gunthorpe <jgg@mellanox.com>
Sun, 12 Jan 2020 23:49:13 +0000 (19:49 -0400)
commit3f59b6c3e600f9665dcf5b8e566cd7b778f03045
tree0d1a1d17c8c4155313f06df129df758da1b04d0f
parent7be76bef320b1f1d1b8dc87d3d5a03f3a2421a43
IB/mlx5: Add mmap support for VAR

Add mmap support for VAR, it uses the 'offset' command mode with
involvement of IB core APIs to find the previously allocated mmap entry.

Link: https://lore.kernel.org/r/20191212110928.334995-6-leon@kernel.org
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/main.c