diff options
author | Jack Wang <[email protected]> | 2017-01-17 10:11:12 +0100 |
---|---|---|
committer | Doug Ledford <[email protected]> | 2017-01-24 16:20:37 -0500 |
commit | 21d6454a392d552c7e845f39884f7cf86f9426b9 (patch) | |
tree | c8d266a076d56d53d02e55a13faac61917c53de3 /tools/perf/util/trace-event-scripting.c | |
parent | dfc0e5550664a727a59921db7d9e7a41c21d03bb (diff) |
RDMA/core: create struct ib_port_cache
As Jason suggested, we have 4 elements for per port arrays,
it's better to have a separate structure to represent them.
It simplifies code a bit, ~ 30 lines of code less :)
Signed-off-by: Jack Wang <[email protected]>
Reviewed-by: Michael Wang <[email protected]>
Signed-off-by: Doug Ledford <[email protected]>
Diffstat (limited to 'tools/perf/util/trace-event-scripting.c')
0 files changed, 0 insertions, 0 deletions