diff options
| author | David Ahern <[email protected]> | 2015-03-17 20:23:15 -0600 |
|---|---|---|
| committer | David S. Miller <[email protected]> | 2015-03-18 22:30:35 -0400 |
| commit | db24a9044ee191c397dcd1c6574f56d67d7c8df5 (patch) | |
| tree | 5d15e7aed127d9c211b5b2dc2d69607cef0d6d8d /tools/perf/scripts/python/futex-contention.py | |
| parent | 56ef9c909b40483d2c8cb63fcbf83865f162d5ec (diff) | |
net: add support for phys_port_name
Similar to port id allow netdevices to specify port names and export
the name via sysfs. Drivers can implement the netdevice operation to
assist udev in having sane default names for the devices using the
rule:
$ cat /etc/udev/rules.d/80-net-setup-link.rules
SUBSYSTEM=="net", ACTION=="add", ATTR{phys_port_name}!="",
NAME="$attr{phys_port_name}"
Use of phys_name versus phys_id was suggested-by Jiri Pirko.
Signed-off-by: David Ahern <[email protected]>
Acked-by: Jiri Pirko <[email protected]>
Acked-by: Scott Feldman <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/futex-contention.py')
0 files changed, 0 insertions, 0 deletions