From eefe36e64c1a583bb9470884ed92115e0ce4647e Mon Sep 17 00:00:00 2001 From: Evgeni Golov Date: Mon, 30 Jul 2018 13:56:07 +0200 Subject: [PATCH] udev: net_id: document predictable names for SR-IOV virtual devices --- src/udev/udev-builtin-net_id.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/udev/udev-builtin-net_id.c b/src/udev/udev-builtin-net_id.c index 147e04ab8ca..4dddc867738 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] 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", where 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 -- 2.47.3