summaryrefslogtreecommitdiffstats
path: root/src/udev/udev-builtin-net_id.c
diff options
context:
space:
mode:
authorEvgeni Golov <evgeni@golov.de>2018-07-30 13:56:07 +0200
committerYu Watanabe <watanabe.yu+github@gmail.com>2018-07-31 09:41:32 +0200
commiteefe36e64c1a583bb9470884ed92115e0ce4647e (patch)
tree4ca45b23cfc315f9632b3b2cd9b732480a2a8c96 /src/udev/udev-builtin-net_id.c
parentman: move explanations about boolean and time-span value from systemd.unit to... (diff)
downloadsystemd-eefe36e64c1a583bb9470884ed92115e0ce4647e.tar.xz
systemd-eefe36e64c1a583bb9470884ed92115e0ce4647e.zip
udev: net_id: document predictable names for SR-IOV virtual devices
Diffstat (limited to 'src/udev/udev-builtin-net_id.c')
-rw-r--r--src/udev/udev-builtin-net_id.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/udev/udev-builtin-net_id.c b/src/udev/udev-builtin-net_id.c
index 147e04ab8c..4dddc86773 100644
--- a/src/udev/udev-builtin-net_id.c
+++ b/src/udev/udev-builtin-net_id.c
@@ -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