diff options
author | 2019-07-08 21:41:21 +0800 | |
---|---|---|
committer | 2019-07-25 12:23:10 -0300 | |
commit | 99441ab552f1e1713a562838215c080387a94267 (patch) | |
tree | 4d3b7112a4e310826bbfada8f281c6d4bd19b3fa /tools/perf/scripts/python/export-to-sqlite.py | |
parent | RDMA/hns: Use a separated function for setting extend sge paramters (diff) | |
download | linux-dev-99441ab552f1e1713a562838215c080387a94267.tar.xz linux-dev-99441ab552f1e1713a562838215c080387a94267.zip |
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-sqlite.py')
0 files changed, 0 insertions, 0 deletions