]> git.baikalelectronics.ru Git - kernel.git/commit
RDMA/mlx5: Use mlx5_umr_post_send_wait() to update xlt
authorAharon Landau <aharonl@nvidia.com>
Tue, 12 Apr 2022 07:24:06 +0000 (10:24 +0300)
committerJason Gunthorpe <jgg@nvidia.com>
Mon, 25 Apr 2022 15:00:08 +0000 (12:00 -0300)
commitd9b65d79a4fc91bae47e5320940e105b7643d48c
tree943f4082f6b26b712379d1435e014fdec69490a7
parent0e82c7bddb507f187e8cc9544c4d5ff0977b40d9
RDMA/mlx5: Use mlx5_umr_post_send_wait() to update xlt

Move mlx5_ib_update_mr_pas logic to umr.c, and use
mlx5_umr_post_send_wait() instead of mlx5_ib_post_send_wait().

Since it is the last use of mlx5_ib_post_send_wait(), remove it.

Link: https://lore.kernel.org/r/55a4972f156aba3592a2fc9bcb33e2059acf295f.1649747695.git.leonro@nvidia.com
Signed-off-by: Aharon Landau <aharonl@nvidia.com>
Reviewed-by: Michael Guralnik <michaelgur@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
drivers/infiniband/hw/mlx5/umr.c
drivers/infiniband/hw/mlx5/umr.h