diff options
author | Chengchang Tang <[email protected]> | 2024-01-13 16:59:30 +0800 |
---|---|---|
committer | Leon Romanovsky <[email protected]> | 2024-01-25 11:54:38 +0200 |
commit | a4ca341080758d847db155b97887bff6f84016a4 (patch) | |
tree | a320a4b211062ed1376893074504d43452cbfadd /net/lapb/lapb_subr.c | |
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 <[email protected]>
Signed-off-by: Junxian Huang <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Leon Romanovsky <[email protected]>
Diffstat (limited to 'net/lapb/lapb_subr.c')
0 files changed, 0 insertions, 0 deletions