RDMA/mlx5: Add support to MODIFY_MEMIC command
authorMaor Gottlieb <maorg@nvidia.com>
Sun, 11 Apr 2021 12:29:22 +0000 (15:29 +0300)
committerJason Gunthorpe <jgg@nvidia.com>
Tue, 13 Apr 2021 22:36:36 +0000 (19:36 -0300)
commit39cc792ff2e8d7814b322547514ef1e3ce5c36a5
treebf7c6eb751d08f78d1fb45c462a73b52e6d6633d
parent251b9d7887505d67dbe5089f78ad5f8d610b2c2f
RDMA/mlx5: Add support to MODIFY_MEMIC command

Add two functions to allocate and deallocate MEMIC operations
by using the MODIFY_MEMIC command.

Link: https://lore.kernel.org/r/20210411122924.60230-6-leon@kernel.org
Signed-off-by: Maor Gottlieb <maorg@nvidia.com>
Signed-off-by: Leon Romanovsky <leonro@nvidia.com>
Signed-off-by: Jason Gunthorpe <jgg@nvidia.com>
drivers/infiniband/hw/mlx5/dm.c
drivers/infiniband/hw/mlx5/dm.h