aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorAnand Khoje <[email protected]>2021-07-12 17:56:23 +0530
committerJason Gunthorpe <[email protected]>2021-07-16 10:57:28 -0300
commit0bc0602ae8275aadc7288692331589350987cef7 (patch)
tree22c3f319afcb52fc89168ebd9034769a93adb155 /tools/perf/scripts/python
parent8c1b4316c3faa38cb66bde200a8f2942fa6728b6 (diff)
IB/core: Updating cache for subnet_prefix in config_non_roce_gid_cache()
Currently, cache for subnet_prefix was getting updated by reading port attributes via ib_query_port. ib_query_port() calls ops.query_gid() to get subnet_prefix and returns it via port_attr. In ib_cache_update(), config_non_roce_gid_cache() obtains GIDs by calling ops.query_gid(). We utilize this to store subnet_prefix in cache. Link: https://lore.kernel.org/r/[email protected] Suggested-by: Jason Gunthorpe <[email protected]> Suggested-by: Aru Kolappan <[email protected]> Signed-off-by: Anand Khoje <[email protected]> Signed-off-by: Haakon Bugge <[email protected]> Signed-off-by: Jason Gunthorpe <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions