Package: ifenslave-2.6
Version: 2.5

The bonding option 'packets_per_slave' remains unobserved while configuring a bond interface.

I would like to introduce this possibility with the following patch:

--
--- ifenslave.if-pre-up.orig    2014-08-22 20:42:36.436616102 +0200
+++ ifenslave.if-pre-up    2014-08-22 21:01:48.967225890 +0200
@@ -138,6 +138,9 @@
# Mode should be set after miimon or arp_interval, to avoid a warning in syslog.
     sysfs_change_down mode "$IF_BOND_MODE"

+    # packets_per_slave allowed for mode balance-rr only.
+    sysfs packets_per_slave "$IF_BOND_PACKETS_PER_SLAVE"
+
# arp_validate must be after mode (because mode must be active-backup).
     sysfs arp_validate "$IF_BOND_ARP_VALIDATE"

--

An example of it's use follows:

auto bond0
iface bond0 inet dhcp
    bond-mode balance-rr
    bond-packets-per-slave 4
    bond-slaves eth0 eth1
    bond-miimon 100


Thank you,

John


--
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to