diff options
author | Susant Sahani <susant@redhat.com> | 2014-07-21 18:52:14 +0530 |
---|---|---|
committer | Tom Gundersen <teg@jklm.no> | 2014-07-21 20:35:21 +0200 |
commit | fb1021a26db14b199c50e3eed77a1daa371f282e (patch) | |
tree | 577bf14218bdf5132809ae05a2230ca6928e5aa7 /man | |
parent | 227cdf2c7ca0ab10af60674f929c4beeedb1ae67 (diff) |
networkd: bond add support for lacp rate
LacpduTransmitRate
option specifies the rate in which link partner to transmit
LACPDU packets in 802.3ad mode. Possible values
slow : Request partner to transmit LACPDUs every 30 seconds
fast : Request partner to transmit LACPDUs every 1 second
The default is slow.
chages:
1. Added enum bond_lacp_rate_table
2. gperf LacpduTransmitRate
Test:
conf file:
[NetDev]
Name=bond1
Kind=bond
[Bond]
Mode=802.3ad
LacpduTransmitRate=fast
test:
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: fast
Min links: 0
Aggregator selection policy (ad_select): stable
bond bond1 has no active aggregator
[tomegun: renamed from LacpduTransmitRate to LACPTransmitRate, manpage fixes and
dropped bond_ prefix from variables]
Diffstat (limited to 'man')
-rw-r--r-- | man/systemd.netdev.xml | 42 |
1 files changed, 27 insertions, 15 deletions
diff --git a/man/systemd.netdev.xml b/man/systemd.netdev.xml index ba212ec065..cea416f94f 100644 --- a/man/systemd.netdev.xml +++ b/man/systemd.netdev.xml @@ -408,14 +408,15 @@ <varlistentry> <term><varname>Mode=</varname></term> <listitem> - <para>Specifies one of the bonding policies. The default is balance-rr (round robin). - <literal>balance-rr</literal> - <literal>active-backup</literal> - <literal>balance-xor</literal> - <literal>broadcast</literal> - <literal>802.3ad</literal> - <literal>balance-tlb</literal> - <literal>balance-alb</literal> + <para>Specifies one of the bonding policies. The default is + <literal>balance-rr</literal> (round robin). Possible values are + <literal>balance-rr</literal>, + <literal>active-backup</literal>, + <literal>balance-xor</literal>, + <literal>broadcast</literal>, + <literal>802.3ad</literal>, + <literal>balance-tlb</literal>, and + <literal>balance-alb</literal>. </para> </listitem> </varlistentry> @@ -424,17 +425,28 @@ <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> + balance-xor, 802.3ad, and tlb modes. Possible values are + <literal>layer2</literal>, + <literal>layer3+4</literal>, + <literal>layer2+3</literal>, + <literal>encap2+3</literal>, + <literal>802.3ad</literal>, and + <literal>encap3+4</literal>. </para> </listitem> </varlistentry> + <varlistentry> + <term><varname>LACPTransmitRate=</varname></term> + <listitem> + <para>Specifies the rate with which link partner + transmits Link Aggregation Control Protocol Data Unit packets + in 802.3ad mode. Possible values are + <literal>slow</literal>, which requests partner to transmit LACPDUs every 30 seconds, and + <literal>fast</literal>, which requests partner to transmit LACPDUs every second. + The default value is <literal>slow</literal>.</para> + </listitem> + </varlistentry> </variablelist> </refsect1> |