diff options
author | Xi Wang <wangxi11@huawei.com> | 2019-07-08 21:41:21 +0800 |
---|---|---|
committer | Jason Gunthorpe <jgg@mellanox.com> | 2019-07-25 12:23:10 -0300 |
commit | 99441ab552f1e1713a562838215c080387a94267 (patch) | |
tree | 4d3b7112a4e310826bbfada8f281c6d4bd19b3fa /tools/perf/scripts/python/export-to-postgresql.py | |
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/1562593285-8037-6-git-send-email-oulijun@huawei.com
Signed-off-by: Xi Wang <wangxi11@huawei.com>
Signed-off-by: Jason Gunthorpe <jgg@mellanox.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions