diff options
author | Nikolay Aleksandrov <nikolay@redhat.com> | 2014-01-22 14:53:28 +0100 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2014-01-22 15:38:43 -0800 |
commit | 633ddc9e9bafd168861dee1000b2c6ff725e85c5 (patch) | |
tree | 39cbf28f3a4ead04ce544e94c9e24ab7668aafdb /drivers/net/bonding/bond_options.h | |
parent | d3131de76b1b1a4d95f145846bd61f96e72f0411 (diff) | |
download | lwn-633ddc9e9bafd168861dee1000b2c6ff725e85c5.tar.gz lwn-633ddc9e9bafd168861dee1000b2c6ff725e85c5.zip |
bonding: convert min_links to use the new option API
This patch adds the necessary changes so min_links 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 7ee1a78abd8d..cc8edef812c4 100644 --- a/drivers/net/bonding/bond_options.h +++ b/drivers/net/bonding/bond_options.h @@ -49,6 +49,7 @@ enum { BOND_OPT_DOWNDELAY, BOND_OPT_UPDELAY, BOND_OPT_LACP_RATE, + BOND_OPT_MINLINKS, BOND_OPT_LAST }; @@ -130,4 +131,6 @@ int bond_option_updelay_set(struct bonding *bond, struct bond_opt_value *newval); int bond_option_lacp_rate_set(struct bonding *bond, struct bond_opt_value *newval); +int bond_option_min_links_set(struct bonding *bond, + struct bond_opt_value *newval); #endif /* _BOND_OPTIONS_H */ |