]> git.ipfire.org Git - thirdparty/systemd.git/commit - src/udev/udev-builtin-net_id.c
udev: Introduce predictable naming for InfiniBand NICs
authorArseny Maslennikov <arseny@altlinux.org>
Wed, 29 Aug 2018 01:07:55 +0000 (04:07 +0300)
committerArseny Maslennikov <arseny@altlinux.org>
Tue, 18 Sep 2018 17:13:42 +0000 (20:13 +0300)
commit938d30aa98df887797c9e05074a562ddacdcdf5e
treeefb226ef2de337d8febe5adf8b97dbb92a49eac8
parent6058516a14ada1748313af6783f5b4e7e3006654
udev: Introduce predictable naming for InfiniBand NICs

We've long neglected IP-over-InfiniBand network interfaces, let's treat
them the same way we treat anyone else.

IPoIB interfaces will retain the 'ib' prefix; otherwise the naming scheme
is the same one we use for other network interfaces. E.g. a IPoIB network
device provided by a PCI card at bus 21 slot 0 function 6 will be named
'ibp21s0f6'.
src/udev/udev-builtin-net_id.c