Re: [systemd-devel] [PATCH] Use dev_port for the ID of a network device.

2014-07-01 Thread Thadeu Lima de Souza Cascardo
On Tue, Jul 01, 2014 at 02:33:19AM +0200, Kay Sievers wrote: On Mon, Jun 30, 2014 at 10:36 PM, Thadeu Lima de Souza Cascardo casca...@linux.vnet.ibm.com wrote: For network devices on the same PCI function, dev_id should not be used, since its purpose is for IPv6 support on interfaces with

Re: [systemd-devel] [PATCH] Use dev_port for the ID of a network device.

2014-07-01 Thread Thadeu Lima de Souza Cascardo
On Tue, Jul 01, 2014 at 08:45:56AM +0200, Bjørn Mork wrote: Thadeu Lima de Souza Cascardo casca...@linux.vnet.ibm.com writes: diff --git a/src/udev/udev-builtin-net_id.c b/src/udev/udev-builtin-net_id.c index c80c30a..6de9c98 100644 --- a/src/udev/udev-builtin-net_id.c +++

[systemd-devel] [PATCH] Use dev_port for the ID of a network device.

2014-06-30 Thread Thadeu Lima de Souza Cascardo
For network devices on the same PCI function, dev_id should not be used, since its purpose is for IPv6 support on interfaces with the same MAC address. The new dev_port sysfs attribute should be used when it is found. When it is not, using dev_id might work. Signed-off-by: Thadeu Lima de Souza

Re: [systemd-devel] [PATCH] Use dev_port for the ID of a network device.

2014-06-30 Thread Kay Sievers
On Mon, Jun 30, 2014 at 10:36 PM, Thadeu Lima de Souza Cascardo casca...@linux.vnet.ibm.com wrote: For network devices on the same PCI function, dev_id should not be used, since its purpose is for IPv6 support on interfaces with the same MAC address. The new dev_port sysfs attribute should be