aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorJiri Pirko <jiri@mellanox.com>2019-03-28 13:56:37 +0100
committerDavid S. Miller <davem@davemloft.net>2019-03-28 12:55:30 -0700
commitaf3836df9a59e7339d60c9c46729a7d9094d0582 (patch)
tree739ad2a6a871e9ca4fc7bf814b5659f5d82343d8 /tools/perf/scripts/python
parentnet: replace ndo_get_devlink with ndo_get_devlink_port (diff)
downloadwireguard-linux-af3836df9a59e7339d60c9c46729a7d9094d0582.tar.xz
wireguard-linux-af3836df9a59e7339d60c9c46729a7d9094d0582.zip
net: devlink: introduce devlink_compat_phys_port_name_get()
Introduce devlink_compat_phys_port_name_get() helper that gets the physical port name for specified netdevice according to devlink port attributes. Call this helper from dev_get_phys_port_name() in case ndo_get_phys_port_name is not defined. Signed-off-by: Jiri Pirko <jiri@mellanox.com> Reviewed-by: Jakub Kicinski <jakub.kicinski@netronome.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions