[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20150318.223050.836897753141133838.davem@davemloft.net>
Date: Wed, 18 Mar 2015 22:30:50 -0400 (EDT)
From: David Miller <davem@...emloft.net>
To: dsahern@...il.com
Cc: netdev@...r.kernel.org, jiri@...nulli.us, sfeldma@...il.com
Subject: Re: [PATCH v4 1/3] net: add support for phys_port_name
From: David Ahern <dsahern@...il.com>
Date: Tue, 17 Mar 2015 20:23:15 -0600
> 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 <dsahern@...il.com>
> Acked-by: Jiri Pirko <jiri@...nulli.us>
> Acked-by: Scott Feldman <sfeldma@...il.com>
Applied to net-next.
--
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