Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1553329

Re: [PATCH net-next 1/2] net: dsa: make "label" property optional for dsa2

From Andrew Lunn <andrew@lunn.ch>
Newsgroups linux.kernel
Subject Re: [PATCH net-next 1/2] net: dsa: make "label" property optional for dsa2
Date 2017-01-06 23:30 +0100
Message-ID <sWLbl-8oT-37@gated-at.bofh.it> (permalink)
References <sWLbk-8oT-19@gated-at.bofh.it> <sWLbk-8oT-17@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


> If one wants to rename an interface, udev rules can be used as usual.

Hi Vivien

Do you have some examples?

A quick look at udevadm info suggests we can use

ATTR{phys_port_id} and ATTR{phys_switch_id}

Humm, it would be nice to know why the second switch has a
phys_switch_id of 01000000.

How is systemd naming them without udev rules?

    Andrew

Back to linux.kernel | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

[PATCH net-next 1/2] net: dsa: make "label" property optional for dsa2 Vivien Didelot <vivien.didelot@savoirfairelinux.com> - 2017-01-06 23:30 +0100
  Re: [PATCH net-next 1/2] net: dsa: make "label" property optional  for dsa2 Andrew Lunn <andrew@lunn.ch> - 2017-01-06 23:30 +0100
    Re: [PATCH net-next 1/2] net: dsa: make "label" property optional for  dsa2 Florian Fainelli <f.fainelli@gmail.com> - 2017-01-06 23:50 +0100
      Re: [PATCH net-next 1/2] net: dsa: make "label" property optional for  dsa2 Uwe Kleine-König <uwe@kleine-koenig.org> - 2017-01-07 21:40 +0100
  Re: [PATCH net-next 1/2] net: dsa: make "label" property optional for  dsa2 Uwe Kleine-König <uwe@kleine-koenig.org> - 2017-01-07 21:50 +0100

csiph-web