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

From: Andrew Lunn
Date: Fri Jan 06 2017 - 17:21:01 EST


> 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