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

Lennart Poettering lennart at poettering.net
Tue Jul 1 07:34:14 PDT 2014


On Tue, 01.07.14 17:26, Samuli Suominen (ssuominen at gentoo.org) wrote:

> 
> 
> On 01/07/14 16:20, Kay Sievers wrote:
> > On Tue, Jul 1, 2014 at 3:11 PM, Thadeu Lima de Souza Cascardo
> > <cascardo at 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 used instead of dev_id.
> > Applied.
> >
> 
> I'm not complaining, merely verifying, does this mean that udev that
> will be shipped
> with systemd-215 will require at least Linux 3.15?

Nope. The old logic was broken. The new logic works correctly, but does
so only on new kernels. If you run it on old kernels, it will gracefully
ignore the id attribute.

So, no, it doesn't require the new kernels. It will just start working
correctly on new kernels. And on old kernels you will not get the id
appended to the name, that's all.

Lennart

-- 
Lennart Poettering, Red Hat


More information about the systemd-devel mailing list