All of lore.kernel.org
 help / color / mirror / Atom feed
From: Florian Fainelli <f.fainelli@gmail.com>
To: David Ahern <dsahern@gmail.com>,
	netdev@vger.kernel.org, jiri@resnulli.us, sfeldma@gmail.com
Subject: Re: [PATCH v3 1/3] net: add support for phys_port_name
Date: Tue, 17 Mar 2015 11:54:00 -0700	[thread overview]
Message-ID: <55087848.3030109@gmail.com> (raw)
In-Reply-To: <1426606258-13466-1-git-send-email-dsahern@gmail.com>

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

      parent reply	other threads:[~2015-03-17 18:54 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-03-17 15:30 [PATCH v3 1/3] net: add support for phys_port_name David Ahern
2015-03-17 15:30 ` [PATCH v3 2/3] rocker: " David Ahern
2015-03-17 15:55   ` Jiri Pirko
2015-03-17 15:30 ` [PATCH 3/3] iproute2: Add " David Ahern
2015-03-17 18:54 ` Florian Fainelli [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=55087848.3030109@gmail.com \
    --to=f.fainelli@gmail.com \
    --cc=dsahern@gmail.com \
    --cc=jiri@resnulli.us \
    --cc=netdev@vger.kernel.org \
    --cc=sfeldma@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.