RDMA/hns: Fix error during modify qp RTS2RTS
authorLang Cheng <chenglang@huawei.com>
Tue, 28 Jul 2020 10:42:20 +0000 (18:42 +0800)
committerJason Gunthorpe <jgg@nvidia.com>
Thu, 30 Jul 2020 18:11:49 +0000 (15:11 -0300)
commit4327bd2c41412657ee2c8c0d8d3d1945268b4238
treee16f1c6e6a9141b0aa45d440f83daea89a953570
parenta5531e9b70ffa086cfad553be189baf4c2673220
RDMA/hns: Fix error during modify qp RTS2RTS

One qp state migrations legal configuration was deleted mistakenly.

Fixes: 357f34294686 ("RDMA/hns: Simplify the state judgment code of qp")
Link: https://lore.kernel.org/r/1595932941-40613-7-git-send-email-liweihang@huawei.com
Signed-off-by: Lang Cheng <chenglang@huawei.com>
Signed-off-by: Weihang Li <liweihang@huawei.com>
Signed-off-by: Jason Gunthorpe <jgg@nvidia.com>
drivers/infiniband/hw/hns/hns_roce_hw_v2.c