]> git.baikalelectronics.ru Git - kernel.git/commit
RDMA/core: Make invalidate_range a device operation
authorMoni Shoua <monis@mellanox.com>
Mon, 19 Aug 2019 11:17:08 +0000 (14:17 +0300)
committerJason Gunthorpe <jgg@mellanox.com>
Wed, 21 Aug 2019 17:08:43 +0000 (14:08 -0300)
commit1e3dddc59e8e5ebf2b90d52d01a0b9701bb8b317
tree3606fde571acad2f1caf1eb497b91e1a7c30000b
parent10df4b33cc2743c8196ae67f2305c8e4b5f7421d
RDMA/core: Make invalidate_range a device operation

The callback function 'invalidate_range' is implemented in a driver so the
place for it is in the ib_device_ops structure and not in ib_ucontext.

Signed-off-by: Moni Shoua <monis@mellanox.com>
Reviewed-by: Guy Levi <guyle@mellanox.com>
Reviewed-by: Jason Gunthorpe <jgg@mellanox.com>
Link: https://lore.kernel.org/r/20190819111710.18440-11-leon@kernel.org
Signed-off-by: Leon Romanovsky <leonro@mellanox.com>
Signed-off-by: Jason Gunthorpe <jgg@mellanox.com>
drivers/infiniband/core/device.c
drivers/infiniband/core/umem_odp.c
drivers/infiniband/core/uverbs_cmd.c
drivers/infiniband/hw/mlx5/main.c
drivers/infiniband/hw/mlx5/odp.c
include/rdma/ib_verbs.h