diff options
author | Susant Sahani <susant@redhat.com> | 2014-07-21 18:37:05 +0530 |
---|---|---|
committer | Tom Gundersen <teg@jklm.no> | 2014-07-21 20:35:21 +0200 |
commit | 227cdf2c7ca0ab10af60674f929c4beeedb1ae67 (patch) | |
tree | a557dc562f4abe9e202ac7adf885c94aceaa1f0e /man | |
parent | 801a04c81be81f6ae1f82f8603a81891283256d9 (diff) |
networkd: add support for bond transmit hash policy
This patch adds support the transmit hash policy to use
for slave selection in balance-xor, 802.3ad, and tlb modes
layer2, layer3+4, layer2+3, encap3+4, encap3+4
Added:
1. BondXmitHashPolicy
2. conf param TransmitHashPolicy
Test conf:
[NetDev]
Name=bond1
Kind=bond
[Bond]
Mode=802.3ad
TransmitHashPolicy=layer2+3
test output:
cat /proc/net/bonding/bond1
Ethernet Channel Bonding Driver: v3.7.1 (April 27, 2011)
Bonding Mode: IEEE 802.3ad Dynamic link aggregation
Transmit Hash Policy: layer2+3 (2)
MII Status: up
MII Polling Interval (ms): 0
Up Delay (ms): 0
Down Delay (ms): 0
802.3ad info
LACP rate: slow
Min links: 0
Aggregator selection policy (ad_select): stable
bond bond1 has no active aggregator
[tomegun: dropped bond_ prefix from new Bond variable, drop repeated man-page section]
Diffstat (limited to 'man')
-rw-r--r-- | man/systemd.netdev.xml | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/man/systemd.netdev.xml b/man/systemd.netdev.xml index 0a2cbab093..ba212ec065 100644 --- a/man/systemd.netdev.xml +++ b/man/systemd.netdev.xml @@ -419,6 +419,22 @@ </para> </listitem> </varlistentry> + + <varlistentry> + <term><varname>TransmitHashPolicy=</varname></term> + <listitem> + <para>Selects the transmit hash policy to use for slave selection in + balance-xor, 802.3ad, and tlb modes. + <literal>layer2</literal> + <literal>layer3+4</literal> + <literal>layer2+3</literal> + <literal>encap2+3</literal> + <literal>802.3ad</literal> + <literal>encap3+4</literal> + </para> + </listitem> + </varlistentry> + </variablelist> </refsect1> |