diff options
| author | Xi Wang <[email protected]> | 2019-07-08 21:41:21 +0800 |
|---|---|---|
| committer | Jason Gunthorpe <[email protected]> | 2019-07-25 12:23:10 -0300 |
| commit | 99441ab552f1e1713a562838215c080387a94267 (patch) | |
| tree | 4d3b7112a4e310826bbfada8f281c6d4bd19b3fa /tools/perf/scripts/python | |
| parent | 947441eadb909b031fc0793d049e1af0d5855a21 (diff) | |
RDMA/hns: optimize the duplicated code for qpc setting flow
Currently, more than 20 lines of duplicate code exist in function
'modify_qp_init_to_init' and function 'modify_qp_reset_to_init', which
affects the readability of the code. Consolidate them.
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Xi Wang <[email protected]>
Signed-off-by: Jason Gunthorpe <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions