aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/stat-cpi.py
diff options
context:
space:
mode:
authorJiri Pirko <[email protected]>2022-11-02 17:02:07 +0100
committerJakub Kicinski <[email protected]>2022-11-03 20:48:35 -0700
commit31265c1e29eb28f17df50d04ee421b5b6369fefd (patch)
tree86288d3757fbb2bbe74ea4f6f7bb124e8cdfb6d1 /tools/perf/scripts/python/stat-cpi.py
parentd0f5172629339f4a9cbbe5f9ae51cea48b4af333 (diff)
net: devlink: store copy netdevice ifindex and ifname to allow port_fill() without RTNL held
To avoid a need to take RTNL mutex in port_fill() function, benefit from the introduce infrastructure that tracks netdevice notifier events. Store the ifindex and ifname upon register and change name events. Remove the rtnl_held bool propagated down to port_fill() function as it is no longer needed. Signed-off-by: Jiri Pirko <[email protected]> Signed-off-by: Jakub Kicinski <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/stat-cpi.py')
0 files changed, 0 insertions, 0 deletions