diff options
author | Nikolay Aleksandrov <nikolay@redhat.com> | 2014-01-22 14:53:37 +0100 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2014-01-22 15:38:44 -0800 |
commit | 3df011625135fa1c670cb8e24618fc7ca38e00b0 (patch) | |
tree | ea2b9dcd8d94be3cace8fc3bb73934989d601f09 /drivers/net/bonding/bond_options.h | |
parent | 24089ba1026a684d64bc0eeb6af634e26c9501c4 (diff) | |
download | lwn-3df011625135fa1c670cb8e24618fc7ca38e00b0.tar.gz lwn-3df011625135fa1c670cb8e24618fc7ca38e00b0.zip |
bonding: convert all_slaves_active to use the new option API
This patch adds the necessary changes so all_slaves_active would use
the new bonding option API.
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 | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/net/bonding/bond_options.h b/drivers/net/bonding/bond_options.h index 396d504214e4..09ee8c8bb19b 100644 --- a/drivers/net/bonding/bond_options.h +++ b/drivers/net/bonding/bond_options.h @@ -58,6 +58,7 @@ enum { BOND_OPT_USE_CARRIER, BOND_OPT_ACTIVE_SLAVE, BOND_OPT_QUEUE_ID, + BOND_OPT_ALL_SLAVES_ACTIVE, BOND_OPT_LAST }; @@ -156,4 +157,6 @@ int bond_option_active_slave_set(struct bonding *bond, struct bond_opt_value *newval); int bond_option_queue_id_set(struct bonding *bond, struct bond_opt_value *newval); +int bond_option_all_slaves_active_set(struct bonding *bond, + struct bond_opt_value *newval); #endif /* _BOND_OPTIONS_H */ |