From fb1021a26db14b199c50e3eed77a1daa371f282e Mon Sep 17 00:00:00 2001 From: Susant Sahani Date: Mon, 21 Jul 2014 18:52:14 +0530 Subject: 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] --- man/systemd.netdev.xml | 42 +++++++++++++++++++++++++++--------------- 1 file changed, 27 insertions(+), 15 deletions(-) (limited to 'man') 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 @@ Mode= - Specifies one of the bonding policies. The default is balance-rr (round robin). - balance-rr - active-backup - balance-xor - broadcast - 802.3ad - balance-tlb - balance-alb + Specifies one of the bonding policies. The default is + balance-rr (round robin). Possible values are + balance-rr, + active-backup, + balance-xor, + broadcast, + 802.3ad, + balance-tlb, and + balance-alb. @@ -424,17 +425,28 @@ TransmitHashPolicy= Selects the transmit hash policy to use for slave selection in - balance-xor, 802.3ad, and tlb modes. - layer2 - layer3+4 - layer2+3 - encap2+3 - 802.3ad - encap3+4 + balance-xor, 802.3ad, and tlb modes. Possible values are + layer2, + layer3+4, + layer2+3, + encap2+3, + 802.3ad, and + encap3+4. + + LACPTransmitRate= + + Specifies the rate with which link partner + transmits Link Aggregation Control Protocol Data Unit packets + in 802.3ad mode. Possible values are + slow, which requests partner to transmit LACPDUs every 30 seconds, and + fast, which requests partner to transmit LACPDUs every second. + The default value is slow. + + -- cgit v1.2.3-54-g00ecf