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

Tomasz Torcz tomek at pipebreaker.pl
Tue Jul 1 07:54:57 PDT 2014


On Tue, Jul 01, 2014 at 04:34:14PM +0200, Lennart Poettering wrote:
> 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.

  Does it mean old (<3.15) kernels will see different persistent names
with v215?

-- 
Tomasz Torcz               "Never underestimate the bandwidth of a station
xmpp: zdzichubg at chrome.pl    wagon filled with backup tapes." -- Jim Gray



More information about the systemd-devel mailing list