aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/compaction-times.py
diff options
context:
space:
mode:
authorJiri Pirko <[email protected]>2019-04-03 14:24:17 +0200
committerDavid S. Miller <[email protected]>2019-04-04 17:42:36 -0700
commit7e1146e8c10c00f859843817da8ecc5d902ea409 (patch)
tree822a020b5a501b08faa86b25488bc07c46af7db7 /tools/perf/scripts/python/compaction-times.py
parentbec5267cded268acdf679b651778c300d204e9f2 (diff)
net: devlink: introduce devlink_compat_switch_id_get() helper
Introduce devlink_compat_switch_id_get() helper which fills up switch_id according to passed netdev pointer. Call it directly from dev_get_port_parent_id() as a fallback when ndo_get_port_parent_id is not defined for given netdev. Signed-off-by: Jiri Pirko <[email protected]> Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/compaction-times.py')
0 files changed, 0 insertions, 0 deletions