summaryrefslogtreecommitdiff
path: root/man/systemd.net-naming-scheme.xml
diff options
context:
space:
mode:
authorBenjamin Herrenschmidt <benh@amazon.com>2021-10-20 15:18:59 +1100
committerLennart Poettering <lennart@poettering.net>2021-10-28 13:09:00 +0200
commitd6eda677b32a0063a77cb639f37c9a454b180da9 (patch)
tree571bcc36591a7385246b1f471dd55f853410cd09 /man/systemd.net-naming-scheme.xml
parentac33cf9282a1d10c13de5c462f16e351ecb01f36 (diff)
downloadsystemd-d6eda677b32a0063a77cb639f37c9a454b180da9.tar.gz
udev: net_id: introduce predictable names for xen-netfront
Those devices show up as /sys/devices/vif-N, let's use that number to name them enXN. Without this, all schemes fail and they keep the kernel names, which can be racy. Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Diffstat (limited to 'man/systemd.net-naming-scheme.xml')
-rw-r--r--man/systemd.net-naming-scheme.xml14
1 files changed, 14 insertions, 0 deletions
diff --git a/man/systemd.net-naming-scheme.xml b/man/systemd.net-naming-scheme.xml
index 6c14810a3e..b9badee100 100644
--- a/man/systemd.net-naming-scheme.xml
+++ b/man/systemd.net-naming-scheme.xml
@@ -128,6 +128,7 @@
<varlistentry>
<term><varname>ID_NET_NAME_SLOT=<replaceable>prefix</replaceable>[<constant>P</constant><replaceable>domain</replaceable>]<constant>s</constant><replaceable>slot</replaceable>[<constant>f</constant><replaceable>function</replaceable>][<constant>n</constant><replaceable>port_name</replaceable>|<constant>d</constant><replaceable>dev_port</replaceable>]</varname></term>
<term><varname>ID_NET_NAME_SLOT=<replaceable>prefix</replaceable><constant>v</constant><replaceable>slot</replaceable></varname></term>
+ <term><varname>ID_NET_NAME_SLOT=<replaceable>prefix</replaceable><constant>x</constant><replaceable>slot</replaceable></varname></term>
<term><varname>ID_NET_NAME_SLOT=<replaceable>prefix</replaceable>[<constant>P</constant><replaceable>domain</replaceable>]<constant>s</constant><replaceable>slot</replaceable>[<constant>f</constant><replaceable>function</replaceable>][<constant>n</constant><replaceable>port_name</replaceable>|<constant>d</constant><replaceable>dev_port</replaceable>]<constant>b</constant><replaceable>number</replaceable></varname></term>
<term><varname>ID_NET_NAME_SLOT=<replaceable>prefix</replaceable>[<constant>P</constant><replaceable>domain</replaceable>]<constant>s</constant><replaceable>slot</replaceable>[<constant>f</constant><replaceable>function</replaceable>][<constant>n</constant><replaceable>port_name</replaceable>|<constant>d</constant><replaceable>dev_port</replaceable>]<constant>u</constant><replaceable>port</replaceable>…[<constant>c</constant><replaceable>config</replaceable>][<constant>i</constant><replaceable>interface</replaceable>]</varname></term>
<term><varname>ID_NET_NAME_SLOT=<replaceable>prefix</replaceable>[<constant>P</constant><replaceable>domain</replaceable>]<constant>s</constant><replaceable>slot</replaceable>[<constant>f</constant><replaceable>function</replaceable>][<constant>n</constant><replaceable>port_name</replaceable>|<constant>d</constant><replaceable>dev_port</replaceable>]<constant>v</constant><replaceable>slot</replaceable></varname></term>
@@ -160,6 +161,11 @@
</row>
<row>
+ <entry><replaceable>prefix</replaceable> <constant>X</constant><replaceable>number</replaceable></entry>
+ <entry>VIF interface number (Xen)</entry>
+ </row>
+
+ <row>
<entry>… <constant>b</constant><replaceable>number</replaceable></entry>
<entry>Broadcom bus (BCMA) core number</entry>
</row>
@@ -389,6 +395,14 @@
</listitem>
</varlistentry>
+ <varlistentry>
+ <term><constant>v250</constant></term>
+
+ <listitem><para>Added naming scheme for Xen netfront "vif" interfaces based on the guest side
+ VIF number set from the Xen config (or the interface index in AWS EC2).</para>
+ </listitem>
+ </varlistentry>
+
</variablelist>
<para>Note that <constant>latest</constant> may be used to denote the latest scheme known (to this