summaryrefslogtreecommitdiff
path: root/scripts/lib
diff options
context:
space:
mode:
authorChengchang Tang <tangchengchang@huawei.com>2024-01-13 11:59:30 +0300
committerLeon Romanovsky <leon@kernel.org>2024-01-25 12:54:38 +0300
commita4ca341080758d847db155b97887bff6f84016a4 (patch)
treea320a4b211062ed1376893074504d43452cbfadd /scripts/lib
parent64854534ff96641e69fa1b7b2caab54259255c14 (diff)
downloadlinux-a4ca341080758d847db155b97887bff6f84016a4.tar.xz
RDMA/hns: Refactor mtr find
hns_roce_mtr_find() is a collection of multiple functions, and the return value is also difficult to understand, which is not conducive to modification and maintenance. Separate the function of obtaining MTR root BA from this function. And some adjustments has been made to improve readability. Signed-off-by: Chengchang Tang <tangchengchang@huawei.com> Signed-off-by: Junxian Huang <huangjunxian6@hisilicon.com> Link: https://lore.kernel.org/r/20240113085935.2838701-2-huangjunxian6@hisilicon.com Signed-off-by: Leon Romanovsky <leon@kernel.org>
Diffstat (limited to 'scripts/lib')
0 files changed, 0 insertions, 0 deletions