RDMA/hns: Optimize hns_roce_modify_qp function
authorLijun Ou <oulijun@huawei.com>
Thu, 8 Aug 2019 14:53:42 +0000 (22:53 +0800)
committerDoug Ledford <dledford@redhat.com>
Mon, 12 Aug 2019 14:45:07 +0000 (10:45 -0400)
commit8ea417ffc2db52a69b16712ab6ee07e8f74aa740
tree662c258e887ceb6892e67a450bb947468c62998b
parentcc95b23c250005873e4a117fccc53a8378fb3aed
RDMA/hns: Optimize hns_roce_modify_qp function

Here mainly packages some code into some new functions in order to
reduce code compelexity.

Signed-off-by: Lijun Ou <oulijun@huawei.com>
Link: https://lore.kernel.org/r/1565276034-97329-3-git-send-email-oulijun@huawei.com
Signed-off-by: Doug Ledford <dledford@redhat.com>
drivers/infiniband/hw/hns/hns_roce_qp.c