diff options
author | Xi Wang <wangxi11@huawei.com> | 2020-03-10 19:18:02 +0800 |
---|---|---|
committer | Jason Gunthorpe <jgg@mellanox.com> | 2020-03-18 10:23:12 -0300 |
commit | e363f7de4e60eedbf7af126ed14d10ffb110c697 (patch) | |
tree | 1c7dd7c028f58bd84fb590567ec6142d4eb4ddd6 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | 00a59d30f3f953b4dbfffcae96e927e62533e6cf (diff) |
RDMA/hns: Optimize the wr opcode conversion from ib to hns
Simplify the wr opcode conversion from ib to hns by using a map table
instead of the switch-case statement.
Link: https://lore.kernel.org/r/1583839084-31579-4-git-send-email-liweihang@huawei.com
Signed-off-by: Xi Wang <wangxi11@huawei.com>
Signed-off-by: Weihang Li <liweihang@huawei.com>
Reviewed-by: Leon Romanovsky <leonro@mellanox.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