]> git.ipfire.org Git - thirdparty/linux.git/commit
RDMA/irdma: Update ibqp state to error if QP is already in error state
authorTatyana Nikolova <tatyana.e.nikolova@intel.com>
Mon, 16 Mar 2026 18:39:41 +0000 (13:39 -0500)
committerLeon Romanovsky <leonro@nvidia.com>
Wed, 18 Mar 2026 10:20:53 +0000 (06:20 -0400)
commit8c1f19a2225cf37b3f8ab0b5a8a5322291cda620
tree01bf6d37e56e6e53ce9ddcf1200bed6cfff21a96
parent11a95521fb93c91e2d4ef9d53dc80ef0a755549b
RDMA/irdma: Update ibqp state to error if QP is already in error state

In irdma_modify_qp() update ibqp state to error if the irdma QP is already
in error state, otherwise the ibqp state which is visible to the consumer
app remains stale.

Fixes: b48c24c2d710 ("RDMA/irdma: Implement device supported verb APIs")
Signed-off-by: Tatyana Nikolova <tatyana.e.nikolova@intel.com>
Signed-off-by: Leon Romanovsky <leon@kernel.org>
drivers/infiniband/hw/irdma/verbs.c