From 57d54b249ff04f70177b31fae0c10ac6677148ee Mon Sep 17 00:00:00 2001 From: Christian Poessinger Date: Sun, 10 Jul 2022 23:01:09 +0200 Subject: bond: T4522: add ability to specify mii monitor interval via CLI Linux Kernel supports to specify the MII link monitoring frequency in milliseconds. This determines how often the link state of each slave is inspected for link failures. A value of zero disables MII link monitoring. A value of 100 is a good starting point. The default value is 100. set interfaces bonding bond0 mii-mon-interval (cherry picked from commit 4315c8fa5bb090e2b7edd6bda205041623e2511d) --- interface-definitions/interfaces-bonding.xml.in | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) (limited to 'interface-definitions') diff --git a/interface-definitions/interfaces-bonding.xml.in b/interface-definitions/interfaces-bonding.xml.in index 5a4f08bef..307dd7558 100644 --- a/interface-definitions/interfaces-bonding.xml.in +++ b/interface-definitions/interfaces-bonding.xml.in @@ -92,6 +92,23 @@ #include #include #include + + + Specifies the MII link monitoring frequency in milliseconds + + u32:0 + Disable MII link monitoring + + + u32:50-1000 + MII link monitoring frequency in milliseconds + + + + + + 100 + Minimum number of member interfaces required up before enabling bond -- cgit v1.2.3