[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <55087848.3030109@gmail.com>
Date: Tue, 17 Mar 2015 11:54:00 -0700
From: Florian Fainelli <f.fainelli@...il.com>
To: David Ahern <dsahern@...il.com>, netdev@...r.kernel.org,
jiri@...nulli.us, sfeldma@...il.com
Subject: Re: [PATCH v3 1/3] net: add support for phys_port_name
On 17/03/15 08:30, David Ahern wrote:
> 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.
Can you also include a documentation update to
Documentation/ABI/testing/sysfs-class-net? Thanks!
--
Florian
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists