diff options
author | Nikolay Aleksandrov <nikolay@redhat.com> | 2014-01-22 14:53:40 +0100 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2014-01-22 15:38:44 -0800 |
commit | 0e2e5b66e9de377d69f50a456fdd60462889c64f (patch) | |
tree | db584c17b8682818e68913a57b7005b2afa01cfe /drivers/net/bonding/bond_options.h | |
parent | 4325b374f84e59226851636df946f2500d0bfeba (diff) | |
download | lwn-0e2e5b66e9de377d69f50a456fdd60462889c64f.tar.gz lwn-0e2e5b66e9de377d69f50a456fdd60462889c64f.zip |
bonding: convert slaves to use the new option API
This patch adds the necessary changes so slaves would use
the new bonding option API. Also move the option to its own set function
in bond_options.c and fix some style errors.
Signed-off-by: Nikolay Aleksandrov <nikolay@redhat.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/bonding/bond_options.h')
-rw-r--r-- | drivers/net/bonding/bond_options.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/net/bonding/bond_options.h b/drivers/net/bonding/bond_options.h index eb3a773cb5a8..433d37f6940b 100644 --- a/drivers/net/bonding/bond_options.h +++ b/drivers/net/bonding/bond_options.h @@ -61,6 +61,7 @@ enum { BOND_OPT_ALL_SLAVES_ACTIVE, BOND_OPT_RESEND_IGMP, BOND_OPT_LP_INTERVAL, + BOND_OPT_SLAVES, BOND_OPT_LAST }; @@ -165,4 +166,5 @@ int bond_option_resend_igmp_set(struct bonding *bond, struct bond_opt_value *newval); int bond_option_lp_interval_set(struct bonding *bond, struct bond_opt_value *newval); +int bond_option_slaves_set(struct bonding *bond, struct bond_opt_value *newval); #endif /* _BOND_OPTIONS_H */ |