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 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 > > +++ b/src/udev/udev-builtin-net_id.

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 > 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

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 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 used when it is found.

[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 Ca