diff options
author | Xi Wang <[email protected]> | 2020-03-10 19:18:02 +0800 |
---|---|---|
committer | Jason Gunthorpe <[email protected]> | 2020-03-18 10:23:12 -0300 |
commit | e363f7de4e60eedbf7af126ed14d10ffb110c697 (patch) | |
tree | 1c7dd7c028f58bd84fb590567ec6142d4eb4ddd6 /tools/perf/scripts/python/syscall-counts.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/[email protected]
Signed-off-by: Xi Wang <[email protected]>
Signed-off-by: Weihang Li <[email protected]>
Reviewed-by: Leon Romanovsky <[email protected]>
Signed-off-by: Jason Gunthorpe <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/syscall-counts.py')
0 files changed, 0 insertions, 0 deletions