]> git.baikalelectronics.ru Git - kernel.git/commit
RDMA/mlx5: Recover from fatal event in dual port mode
authorMaor Gottlieb <maorg@nvidia.com>
Tue, 11 May 2021 05:48:29 +0000 (08:48 +0300)
committerJason Gunthorpe <jgg@nvidia.com>
Mon, 17 May 2021 16:52:47 +0000 (13:52 -0300)
commit5eec0ad76e3dd94bee0b9d490f27d9ffe3986b84
tree3a44ba4fc86f79adcf2867c42fc940caf29d171b
parent6f4ff8ce7f51759ea76e763cc03d4b8b520457d5
RDMA/mlx5: Recover from fatal event in dual port mode

When there is fatal event on the slave port, the device is marked as not
active. We need to mark it as active again when the slave is recovered to
regain full functionality.

Fixes: 569472ba767a ("IB/mlx5: Move IB event processing onto a workqueue")
Link: https://lore.kernel.org/r/8906754455bb23019ef223c725d2c0d38acfb80b.1620711734.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/main.c