RDMA/mlx5: Use rdma_user_mmap_io
authorJason Gunthorpe <jgg@mellanox.com>
Sun, 16 Sep 2018 17:43:10 +0000 (20:43 +0300)
committerDoug Ledford <dledford@redhat.com>
Thu, 20 Sep 2018 20:19:30 +0000 (16:19 -0400)
commite2cd1d1ad204664f9ce78cb61c9307c149051f8e
tree199cde3f0480d79769f374890136cc476afa0621
parentc282da4109e4a1238432f2cab22af6e3562f4b47
RDMA/mlx5: Use rdma_user_mmap_io

Rely on the new core code helper to map BAR memory from the driver.

Signed-off-by: Jason Gunthorpe <jgg@mellanox.com>
Signed-off-by: Leon Romanovsky <leonro@mellanox.com>
Signed-off-by: Doug Ledford <dledford@redhat.com>
drivers/infiniband/hw/mlx5/main.c
drivers/infiniband/hw/mlx5/mlx5_ib.h