commit | 89b4b70b974c98139f57eeb06facab40473268d3 | [log] [tgz] |
---|---|---|
author | chenglang <chenglang@huawei.com> | Mon Jul 08 21:41:22 2019 +0800 |
committer | Jason Gunthorpe <jgg@mellanox.com> | Thu Jul 25 12:23:11 2019 -0300 |
tree | 4f752374accf1150cd58b3af7d665046ef221b07 | |
parent | 99441ab552f1e1713a562838215c080387a94267 [diff] |
RDMA/hns: Optimize hns_roce_mhop_alloc function. Move some lines for allocating multi-hop addressing into independent functions in order to improve readability. Link: https://lore.kernel.org/r/1562593285-8037-7-git-send-email-oulijun@huawei.com Signed-off-by: Lang Cheng <chenglang@huawei.com> Signed-off-by: Lijun Ou <oulijun@huawei.com> Signed-off-by: Jason Gunthorpe <jgg@mellanox.com>