RDMA/rxe: Set queue pair cur_qp_state when being queried
Same with commit e375b9c9 ("RDMA/cxgb4: Set queue pair state when being queried"). The API for ib_query_qp requires the driver to set cur_qp_state on return, add the missing set. Fixes: 8700e3e7 ("Soft RoCE driver") Signed-off-by:Liu Jian <liujian56@huawei.com> Link: https://patch.msgid.link/20241031092019.2138467-1-liujian56@huawei.com Reviewed-by:
Zhu Yanjun <yanjun.zhu@linux.dev> Signed-off-by:
Leon Romanovsky <leon@kernel.org>
Loading
Please sign in to comment