diff options
author | Chengchang Tang <tangchengchang@huawei.com> | 2024-01-13 16:59:30 +0800 |
---|---|---|
committer | Leon Romanovsky <leon@kernel.org> | 2024-01-25 11:54:38 +0200 |
commit | a4ca341080758d847db155b97887bff6f84016a4 (patch) | |
tree | a320a4b211062ed1376893074504d43452cbfadd /tools/perf/scripts/python/gecko.py | |
parent | 64854534ff96641e69fa1b7b2caab54259255c14 (diff) |
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 'tools/perf/scripts/python/gecko.py')
0 files changed, 0 insertions, 0 deletions