RDMA/mlx5: Allow DM allocation for sw_owner_v2 enabled devices
authorAlex Vesker <valex@nvidia.com>
Thu, 3 Sep 2020 07:38:56 +0000 (10:38 +0300)
committerJason Gunthorpe <jgg@nvidia.com>
Fri, 18 Sep 2020 12:40:41 +0000 (09:40 -0300)
commit8310e327046df6b8d729ffa41ed7cfd6676abc42
tree832c722d235435578b09f2f897a33f02cc8a17ce
parent9d8feb460adb90e89e64101ce2c1cfcd548a6d83
RDMA/mlx5: Allow DM allocation for sw_owner_v2 enabled devices

sw_owner_v2 will replace sw_owner for future devices, this means that if
sw_owner_v2 is set sw_owner should be ignored and DM allocation is
required for sw_owner_v2 devices to function.

Link: https://lore.kernel.org/r/20200903073857.1129166-3-leon@kernel.org
Signed-off-by: Alex Vesker <valex@nvidia.com>
Signed-off-by: Leon Romanovsky <leonro@nvidia.com>
Signed-off-by: Jason Gunthorpe <jgg@nvidia.com>
drivers/infiniband/hw/mlx5/main.c