bonding: convert primary to use the new option API
This patch adds the necessary changes so primary would use the new bonding option API. 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

부모
b98d9c66e1
커밋
180222f088
@@ -53,6 +53,7 @@ enum {
|
||||
BOND_OPT_AD_SELECT,
|
||||
BOND_OPT_NUM_PEER_NOTIF,
|
||||
BOND_OPT_MIIMON,
|
||||
BOND_OPT_PRIMARY,
|
||||
BOND_OPT_LAST
|
||||
};
|
||||
|
||||
@@ -141,4 +142,6 @@ int bond_option_ad_select_set(struct bonding *bond,
|
||||
int bond_option_num_peer_notif_set(struct bonding *bond,
|
||||
struct bond_opt_value *newval);
|
||||
int bond_option_miimon_set(struct bonding *bond, struct bond_opt_value *newval);
|
||||
int bond_option_primary_set(struct bonding *bond,
|
||||
struct bond_opt_value *newval);
|
||||
#endif /* _BOND_OPTIONS_H */
|
||||
|
Reference in New Issue
Block a user