aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/infiniband/hw/mlx4/mlx4_ib.h
diff options
context:
space:
mode:
authorLeon Romanovsky <leonro@mellanox.com>2020-09-07 15:09:15 +0300
committerJason Gunthorpe <jgg@nvidia.com>2020-09-09 14:04:13 -0300
commitfd89099d635e67f22c3eda263bef1f27f9d5dcb5 (patch)
tree9f90ba377b044efeb89c49d6603f6d715d0e8132 /drivers/infiniband/hw/mlx4/mlx4_ib.h
parentRDMA: Restore ability to fail on AH destroy (diff)
downloadlinux-dev-fd89099d635e67f22c3eda263bef1f27f9d5dcb5.tar.xz
linux-dev-fd89099d635e67f22c3eda263bef1f27f9d5dcb5.zip
RDMA/mlx5: Issue FW command to destroy SRQ on reentry
The HW release can fail and leave the system in limbo state, where SRQ is removed from the table, but can't be destroyed later. In every reentry, the initial xa_erase_irq() check will fail. Rewrite the erase logic to keep index, but don't store the entry itself. By doing it, we can safely reinsert entry back in the case of destroy failure. Link: https://lore.kernel.org/r/20200907120921.476363-4-leon@kernel.org Signed-off-by: Leon Romanovsky <leonro@mellanox.com> Signed-off-by: Jason Gunthorpe <jgg@nvidia.com>
Diffstat (limited to 'drivers/infiniband/hw/mlx4/mlx4_ib.h')
0 files changed, 0 insertions, 0 deletions