Skip to contentSkip to conversation

bonding: add lp_interval option support and simplify the code

PATCH In review Ding Tianhong 2 participants 2 messages Dec 21, 2013 – Dec 31, 2013

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

v2 cover bonding: add lp_interval option support and simplify the code

The option lp_interval could only be set by sysfs, so add support for loading module. and update the Documentation/networking/bonding.txt for this option.

Use micro BOND_NO_USE_ARP to simplify the code for mode check.

v2: according to the networking coding style, the patch 01/03 need to cleanup the
style problem, thanks scott for his advice. The bond_check_param() have too many duplicated code with bond sysfs, so I think when scott finish the bond_option_xxx_set(), the bond_check_param() should be modify to use the bond_option_xxx_set() function to simplify the code.

Ding Tianhong (3):
bonding: add option lp_interval for loading module
bonding: ust micro BOND_NO_USE_ARP to simplify the mode check
bonding: update Documentation/networking/bonding.txt for option
lp_interval

 Documentation/networking/bonding.txt | 10 ++++++++++
 drivers/net/bonding/bond_main.c      | 29 +++++++++++++++--------------
 2 files changed, 25 insertions(+), 14 deletions(-)
Signature · 1 line
1.8.0
maintainer
#1 lore raw

From: Ding Tianhong <[email protected]>
Date: Sat, 21 Dec 2013 14:39:47 +0800

Quoted 10 lines

The option lp_interval could only be set by sysfs, so add support for loading module. and update the Documentation/networking/bonding.txt for this option.

Use micro BOND_NO_USE_ARP to simplify the code for mode check.

v2: according to the networking coding style, the patch 01/03 need to cleanup the
style problem, thanks scott for his advice. The bond_check_param() have too many duplicated code with bond sysfs, so I think when scott finish the bond_option_xxx_set(), the bond_check_param() should be modify to use the bond_option_xxx_set() function to simplify the code.

Series applied, thanks.