summaryrefslogtreecommitdiff
path: root/man
diff options
context:
space:
mode:
authorYu Watanabe <watanabe.yu+github@gmail.com>2021-11-08 06:34:43 +0900
committerYu Watanabe <watanabe.yu+github@gmail.com>2021-12-04 15:06:58 +0900
commitb90d0f83b20f54fd52e9f932b5ce24871a9e7dcb (patch)
treef6dafb427699c222933e64ad696a930601703287 /man
parenta2bf1a61bccc41753f582a27ab84a6cc6e710ee6 (diff)
downloadsystemd-b90d0f83b20f54fd52e9f932b5ce24871a9e7dcb.tar.gz
network/netdev: add support to create IPoIB subinterface
Diffstat (limited to 'man')
-rw-r--r--man/systemd.netdev.xml46
-rw-r--r--man/systemd.network.xml5
2 files changed, 49 insertions, 2 deletions
diff --git a/man/systemd.netdev.xml b/man/systemd.netdev.xml
index e4e7e611e7..255b85f404 100644
--- a/man/systemd.netdev.xml
+++ b/man/systemd.netdev.xml
@@ -189,6 +189,9 @@
<row><entry><varname>batadv</varname></entry>
<entry><ulink url="https://www.open-mesh.org/projects/open-mesh/wiki">B.A.T.M.A.N. Advanced</ulink> is a routing protocol for multi-hop mobile ad-hoc networks which operates on layer 2.</entry></row>
+
+ <row><entry><varname>ipoib</varname></entry>
+ <entry>An IP over Infiniband subinterface.</entry></row>
</tbody>
</tgroup>
</table>
@@ -2126,6 +2129,49 @@
</refsect1>
<refsect1>
+ <title>[IPoIB] Section Options</title>
+ <para>The [IPoIB] section only applies for netdevs of kind <literal>ipoib</literal> and accepts the
+ following keys:</para>
+
+ <variablelist class='network-directives'>
+ <varlistentry>
+ <term><varname>PartitionKey=</varname></term>
+ <listitem>
+ <para>Takes an integer in the range 1…0xffff, except for 0x8000. Defaults to unset, and the
+ kernel's default is used.</para>
+ </listitem>
+ </varlistentry>
+
+ <varlistentry id='ipoib_mode'>
+ <term><varname>Mode=</varname></term>
+ <listitem>
+ <para>Takes one of the special values <literal>datagram</literal> or
+ <literal>connected</literal>. Defaults to unset, and the kernel's default is used.</para>
+
+ <para>When <literal>datagram</literal>, the Infiniband unreliable datagram (UD) transport is
+ used, and so the interface MTU is equal to the IB L2 MTU minus the IPoIB encapsulation
+ header (4 bytes). For example, in a typical IB fabric with a 2K MTU, the IPoIB MTU will be
+ 2048 - 4 = 2044 bytes.</para>
+
+ <para>When <literal>connected</literal>, the Infiniband reliable connected (RC) transport is
+ used. Connected mode takes advantage of the connected nature of the IB transport and allows
+ an MTU up to the maximal IP packet size of 64K, which reduces the number of IP packets needed
+ for handling large UDP datagrams, TCP segments, etc and increases the performance for large
+ messages.</para>
+ </listitem>
+ </varlistentry>
+
+ <varlistentry id='ipoib_umcast'>
+ <term><varname>IgnoreUserspaceMulticastGroup=</varname></term>
+ <listitem>
+ <para>Takes an boolean value. When true, the kernel ignores multicast groups handled by
+ userspace. Defaults to unset, and the kernel's default is used.</para>
+ </listitem>
+ </varlistentry>
+ </variablelist>
+ </refsect1>
+
+ <refsect1>
<title>Examples</title>
<example>
<title>/etc/systemd/network/25-bridge.netdev</title>
diff --git a/man/systemd.network.xml b/man/systemd.network.xml
index 50367ecdcd..1de7bb0538 100644
--- a/man/systemd.network.xml
+++ b/man/systemd.network.xml
@@ -902,6 +902,7 @@ Table=1234</programlisting></para>
</listitem>
</varlistentry>
<varlistentry>
+ <term><varname>IPoIB=</varname></term>
<term><varname>IPVLAN=</varname></term>
<term><varname>IPVTAP=</varname></term>
<term><varname>L2TP=</varname></term>
@@ -913,8 +914,8 @@ Table=1234</programlisting></para>
<term><varname>VXLAN=</varname></term>
<term><varname>Xfrm=</varname></term>
<listitem>
- <para>The name of an IPVLAN, IPVTAP, L2TP, MACsec, MACVLAN, MACVTAP, tunnel, VLAN, VXLAN, or
- Xfrm to be created on the link. See
+ <para>The name of an IPoIB, IPVLAN, IPVTAP, L2TP, MACsec, MACVLAN, MACVTAP, tunnel, VLAN,
+ VXLAN, or Xfrm to be created on the link. See
<citerefentry><refentrytitle>systemd.netdev</refentrytitle><manvolnum>5</manvolnum></citerefentry>.
This option may be specified more than once.</para>
</listitem>