]> git.ipfire.org Git - thirdparty/systemd.git/commitdiff
udev: net_id: document predictable names for SR-IOV virtual devices
authorEvgeni Golov <evgeni@golov.de>
Mon, 30 Jul 2018 11:56:07 +0000 (13:56 +0200)
committerYu Watanabe <watanabe.yu+github@gmail.com>
Tue, 31 Jul 2018 07:41:32 +0000 (16:41 +0900)
src/udev/udev-builtin-net_id.c

index 147e04ab8ca6736a5c44bd47c049af7b5c8e835f..4dddc8677387560c472d8dd4e6f43c306c4e12eb 100644 (file)
@@ -34,6 +34,9 @@
  * All multi-function PCI devices will carry the [f<function>] number in the
  * device name, including the function 0 device.
  *
+ * SR-IOV virtual devices are named based on the name of the parent interface,
+ * with a suffix of "v<N>", where <N> is the virtual device number.
+ *
  * When using PCI geography, The PCI domain is only prepended when it is not 0.
  *
  * For USB devices the full chain of port numbers of hubs is composed. If the