]> git.baikalelectronics.ru Git - kernel.git/commit
RDMA/mlx5: Fix type assignment for ICM DM
authorMaor Gottlieb <maorg@nvidia.com>
Sun, 18 Apr 2021 13:49:40 +0000 (16:49 +0300)
committerJason Gunthorpe <jgg@nvidia.com>
Tue, 20 Apr 2021 12:42:38 +0000 (09:42 -0300)
commit3306874fb9398a441989bd6c29ee8cefddfe376b
treee603418629b11bf362c52e4fe736e141d059fb86
parent635257ccd2925b978510276af4f860ac27299ab3
RDMA/mlx5: Fix type assignment for ICM DM

We should hold the UAPI DM type in the base struct and not the internal
mlx5 type.

Fixes: ec19d441203f ("RDMA/mlx5: Re-organize the DM code")
Link: https://lore.kernel.org/r/58dedbd5c132660f808e59166d434e2eaa6ecf7a.1618753425.git.leonro@nvidia.com
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