bonding: add lp_interval option support and simplify the code
Subsystems (2)
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
David Miller
maintainerFrom: Ding Tianhong <[email protected]>
Date: Sat, 21 Dec 2013 14:39:47 +0800
Quoted 10 lines
The option
lp_intervalcould only be set by sysfs, so add support for loading module. and update theDocumentation/networking/bonding.txtfor this option.Use micro
BOND_NO_USE_ARPto 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. Thebond_check_param()have too many duplicated code with bond sysfs, so I think when scott finish thebond_option_xxx_set(), thebond_check_param()should be modify to use thebond_option_xxx_set()function to simplify the code.
Series applied, thanks.