commit | 21d6454a392d552c7e845f39884f7cf86f9426b9 | [log] [tgz] |
---|---|---|
author | Jack Wang <jinpu.wang@profitbricks.com> | Tue Jan 17 10:11:12 2017 +0100 |
committer | Doug Ledford <dledford@redhat.com> | Tue Jan 24 16:20:37 2017 -0500 |
tree | c8d266a076d56d53d02e55a13faac61917c53de3 | |
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 <jinpu.wang@profitbricks.com> Reviewed-by: Michael Wang <yun.wang@profitbricks.com> Signed-off-by: Doug Ledford <dledford@redhat.com>