]> git.baikalelectronics.ru Git - kernel.git/commit
RDMA/mlx5: Sync device with CPU pages upon ODP MR registration
authorYishai Hadas <yishaih@nvidia.com>
Wed, 30 Sep 2020 16:38:28 +0000 (19:38 +0300)
committerJason Gunthorpe <jgg@nvidia.com>
Thu, 1 Oct 2020 19:44:44 +0000 (16:44 -0300)
commit2da22ca3d37cff184e3448c32fa14ca3e5a91fad
treee6bcbb94a36904422bf2ab61fd8969df5db6966d
parente7ec7f6ea9c486340cc616360c5221335afe457c
RDMA/mlx5: Sync device with CPU pages upon ODP MR registration

Sync device with CPU pages upon ODP MR registration. mlx5 already has to
zero the HW's version of the PAS list, may as well deliver a PAS list that
matches the current CPU page tables configuration.

Link: https://lore.kernel.org/r/20200930163828.1336747-5-leon@kernel.org
Signed-off-by: Yishai Hadas <yishaih@nvidia.com>
Signed-off-by: Leon Romanovsky <leonro@nvidia.com>
Signed-off-by: Jason Gunthorpe <jgg@nvidia.com>
drivers/infiniband/hw/mlx5/mlx5_ib.h
drivers/infiniband/hw/mlx5/mr.c
drivers/infiniband/hw/mlx5/odp.c