diff options
author | Nikolay Aleksandrov <nikolay@redhat.com> | 2014-01-22 08:53:30 -0500 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2014-01-22 18:38:43 -0500 |
commit | ef56becbb37251f0371ad94210f50dc90e18830a (patch) | |
tree | d657b18b30389725142a2df35c8ba2ddefaae636 /drivers/net/bonding/bond_options.h | |
parent | 9e5f5eebe765b340af0318dba261e5de0f2aaf32 (diff) |
bonding: convert num_peer_notif to use the new option API
This patch adds the necessary changes so num_peer_notif would use
the new bonding option API.
When the auto-sysfs generation is done an alias should be added for
this option as there're currently 2 entries in sysfs for it.
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 53df1762d80f..014a359460e5 100644 --- a/drivers/net/bonding/bond_options.h +++ b/drivers/net/bonding/bond_options.h | |||
@@ -51,6 +51,7 @@ enum { | |||
51 | BOND_OPT_LACP_RATE, | 51 | BOND_OPT_LACP_RATE, |
52 | BOND_OPT_MINLINKS, | 52 | BOND_OPT_MINLINKS, |
53 | BOND_OPT_AD_SELECT, | 53 | BOND_OPT_AD_SELECT, |
54 | BOND_OPT_NUM_PEER_NOTIF, | ||
54 | BOND_OPT_LAST | 55 | BOND_OPT_LAST |
55 | }; | 56 | }; |
56 | 57 | ||
@@ -136,4 +137,6 @@ int bond_option_min_links_set(struct bonding *bond, | |||
136 | struct bond_opt_value *newval); | 137 | struct bond_opt_value *newval); |
137 | int bond_option_ad_select_set(struct bonding *bond, | 138 | int bond_option_ad_select_set(struct bonding *bond, |
138 | struct bond_opt_value *newval); | 139 | struct bond_opt_value *newval); |
140 | int bond_option_num_peer_notif_set(struct bonding *bond, | ||
141 | struct bond_opt_value *newval); | ||
139 | #endif /* _BOND_OPTIONS_H */ | 142 | #endif /* _BOND_OPTIONS_H */ |