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>
This commit is contained in:

committed by
David S. Miller

父節點
9e5f5eebe7
當前提交
ef56becbb3
@@ -51,6 +51,7 @@ enum {
|
||||
BOND_OPT_LACP_RATE,
|
||||
BOND_OPT_MINLINKS,
|
||||
BOND_OPT_AD_SELECT,
|
||||
BOND_OPT_NUM_PEER_NOTIF,
|
||||
BOND_OPT_LAST
|
||||
};
|
||||
|
||||
@@ -136,4 +137,6 @@ int bond_option_min_links_set(struct bonding *bond,
|
||||
struct bond_opt_value *newval);
|
||||
int bond_option_ad_select_set(struct bonding *bond,
|
||||
struct bond_opt_value *newval);
|
||||
int bond_option_num_peer_notif_set(struct bonding *bond,
|
||||
struct bond_opt_value *newval);
|
||||
#endif /* _BOND_OPTIONS_H */
|
||||
|
Reference in New Issue
Block a user