summaryrefslogtreecommitdiff
path: root/drivers/infiniband/hw/ionic/ionic_datapath.c
diff options
context:
space:
mode:
authorKonstantin Taranov <kotaranov@microsoft.com>2025-07-29 02:00:18 -0700
committerLeon Romanovsky <leon@kernel.org>2025-08-13 06:33:33 -0400
commit44d69d3cf2e8047c279cbb9708f05e2c43e33234 (patch)
tree4e08f553e2d952d8cb01dc7eff60a716bb12e7f4 /drivers/infiniband/hw/ionic/ionic_datapath.c
parent4d674c478dc51fe241376e215861d15f1a3a9dc4 (diff)
RDMA/mana_ib: Drain send wrs of GSI QP
Drain send WRs of the GSI QP on device removal. In rare servicing scenarios, the hardware may delete the state of the GSI QP, preventing it from generating CQEs for pending send WRs. Since WRs submitted to the GSI QP hold CM resources, the device cannot be removed until those WRs are completed. This patch marks all pending send WRs as failed, allowing the GSI QP to release the CM resources and enabling safe device removal. Signed-off-by: Konstantin Taranov <kotaranov@microsoft.com> Link: https://patch.msgid.link/1753779618-23629-1-git-send-email-kotaranov@linux.microsoft.com Signed-off-by: Leon Romanovsky <leon@kernel.org>
Diffstat (limited to 'drivers/infiniband/hw/ionic/ionic_datapath.c')
0 files changed, 0 insertions, 0 deletions