{IB,net}/mlx5: Move asynchronous mkey creation to mlx5_ib
authorMichael Guralnik <michaelgur@mellanox.com>
Tue, 10 Mar 2020 08:22:30 +0000 (10:22 +0200)
committerLeon Romanovsky <leonro@mellanox.com>
Fri, 13 Mar 2020 13:48:10 +0000 (15:48 +0200)
commita3cfdd3928113012d0f2c5353277f4e27878a663
tree223d9a6870f8e02138674ab9fcbd6b5f1137f601
parentfc6a9f86f08acd3665f788619afae0d2b2d5a480
{IB,net}/mlx5: Move asynchronous mkey creation to mlx5_ib

As mlx5_ib is the only user of the mlx5_core_create_mkey_cb, move the
logic inside mlx5_ib and cleanup the code in mlx5_core.

Signed-off-by: Michael Guralnik <michaelgur@mellanox.com>
Signed-off-by: Leon Romanovsky <leonro@mellanox.com>
drivers/infiniband/hw/mlx5/mr.c
drivers/net/ethernet/mellanox/mlx5/core/mr.c
include/linux/mlx5/driver.h