]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
IB/rxe: Update qp state for user query
authorYonatan Cohen <yonatanc@mellanox.com>
Wed, 16 Nov 2016 08:39:18 +0000 (10:39 +0200)
committerDoug Ledford <dledford@redhat.com>
Thu, 17 Nov 2016 01:03:44 +0000 (20:03 -0500)
commit6d931308f55faaef3f30bd0346c47f99528b229d
tree455fb5bd1eeadf3572275aabcc57e47e4c1933c2
parentaa75b07b478a774b1432e2df1be5cd8ae834de0f
IB/rxe: Update qp state for user query

The method rxe_qp_error() transitions QP to error state
and make sure the QP is drained. It did not though update
the QP state for user's query.

This patch fixes this.

Fixes: 8700e3e7c485 ("Soft RoCE driver")
Signed-off-by: Yonatan Cohen <yonatanc@mellanox.com>
Reviewed-by: Moni Shoua <monis@mellanox.com>
Signed-off-by: Leon Romanovsky <leon@kernel.org>
Signed-off-by: Doug Ledford <dledford@redhat.com>
drivers/infiniband/sw/rxe/rxe_qp.c