]> git.proxmox.com Git - mirror_ubuntu-jammy-kernel.git/commit
RDMA/hns: Refactor for hns_roce_v2_modify_qp function
authorLijun Ou <oulijun@huawei.com>
Mon, 8 Jul 2019 13:41:19 +0000 (21:41 +0800)
committerJason Gunthorpe <jgg@mellanox.com>
Thu, 25 Jul 2019 15:23:10 +0000 (12:23 -0300)
commit606bf89e98efb1174891c4d96afd39c1a974ce3d
tree610ac134858616a4f5e293d7f46208e5f2f5436c
parent2a2f1887e08964cf155bd67fc094eeb5b02c2f5c
RDMA/hns: Refactor for hns_roce_v2_modify_qp function

Move some lines which exist hns_roce_v2_modify_qp function into a new
function. The code refactored mainly includes some absolute fields of qp
context and some optional fields of qp context.

Link: https://lore.kernel.org/r/1562593285-8037-4-git-send-email-oulijun@huawei.com
Signed-off-by: Lijun Ou <oulijun@huawei.com>
Signed-off-by: Xi Wang <wangxi11@huawei.com>
Signed-off-by: Jason Gunthorpe <jgg@mellanox.com>
drivers/infiniband/hw/hns/hns_roce_hw_v2.c