IB/mlx5: Introduce VAR object and its alloc/destroy methods
authorYishai Hadas <yishaih@mellanox.com>
Thu, 12 Dec 2019 11:09:27 +0000 (13:09 +0200)
committerJason Gunthorpe <jgg@mellanox.com>
Sun, 12 Jan 2020 23:49:13 +0000 (19:49 -0400)
commit7be76bef320b1f1d1b8dc87d3d5a03f3a2421a43
tree81b448c84c811439294aa93816c8027c9edbf609
parentf164be8c03663034416d019c355fbbd2dbd189d7
IB/mlx5: Introduce VAR object and its alloc/destroy methods

Introduce VAR object and its alloc/destroy KABI methods. The internal
implementation uses the IB core API to manage mmap/munamp calls.

Link: https://lore.kernel.org/r/20191212110928.334995-5-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
drivers/infiniband/hw/mlx5/mlx5_ib.h
include/uapi/rdma/mlx5_user_ioctl_cmds.h