]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
RDMA/erdma: Return QP state in erdma_query_qp
authorCheng Xu <chengyou@linux.alibaba.com>
Mon, 2 Sep 2024 11:29:20 +0000 (19:29 +0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 4 Oct 2024 14:29:32 +0000 (16:29 +0200)
commit7838f6c8a64bbc3cafeb91cde275aae2a185dc4d
tree770ff207be42131596627badaff567fbaa083b32
parent95248d7497bcbfe7deed4805469c6ff6ddd7f9d1
RDMA/erdma: Return QP state in erdma_query_qp

[ Upstream commit e77127ff6416b17e0b3e630ac46ee5c9a6570f57 ]

Fix qp_state and cur_qp_state to return correct values in
struct ib_qp_attr.

Fixes: 155055771704 ("RDMA/erdma: Add verbs implementation")
Signed-off-by: Cheng Xu <chengyou@linux.alibaba.com>
Link: https://patch.msgid.link/20240902112920.58749-4-chengyou@linux.alibaba.com
Signed-off-by: Leon Romanovsky <leon@kernel.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
drivers/infiniband/hw/erdma/erdma_verbs.c