aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorLijun Ou <[email protected]>2019-07-08 21:41:24 +0800
committerJason Gunthorpe <[email protected]>2019-07-25 12:23:11 -0300
commitd7019c0f47ae497bae27be5397287ca72c704bf4 (patch)
tree890c2896ba81080f34cfb54f93d280431c9f9a6d /tools/perf/scripts/python
parent3ee0e170d72c05172b0aa4e46d58795fdc19081e (diff)
RDMA/hns: Refactor hem table mhop check and calculation
The calculation of mhop for hem is duplicated in hns_roce_init_hem_table and hns_roce_calc_hem_mhop, extracting it from them to a separate function. Moreover, this patch refactors hns_roce_check_whether_mhop to reduce complexity. Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Yixian Liu <[email protected]> Signed-off-by: Lijun Ou <[email protected]> Signed-off-by: Jason Gunthorpe <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions