aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/bonding/bond_options.h
diff options
context:
space:
mode:
authorNikolay Aleksandrov <nikolay@redhat.com>2014-01-22 08:53:33 -0500
committerDavid S. Miller <davem@davemloft.net>2014-01-22 18:38:43 -0500
commit388d3a6d4aa356b885bcd023c185060df9ea2484 (patch)
tree4d48b059fc62aac5d47907eca55cc1f10379636c /drivers/net/bonding/bond_options.h
parent180222f08861d8206b3ff1c6392101e29d4ae161 (diff)
bonding: convert primary_reselect to use the new option API
This patch adds the necessary changes so primary_reselect 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.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/net/bonding/bond_options.h b/drivers/net/bonding/bond_options.h
index 6ff831030545..1de315cd3bb6 100644
--- a/drivers/net/bonding/bond_options.h
+++ b/drivers/net/bonding/bond_options.h
@@ -54,6 +54,7 @@ enum {
54 BOND_OPT_NUM_PEER_NOTIF, 54 BOND_OPT_NUM_PEER_NOTIF,
55 BOND_OPT_MIIMON, 55 BOND_OPT_MIIMON,
56 BOND_OPT_PRIMARY, 56 BOND_OPT_PRIMARY,
57 BOND_OPT_PRIMARY_RESELECT,
57 BOND_OPT_LAST 58 BOND_OPT_LAST
58}; 59};
59 60
@@ -144,4 +145,6 @@ int bond_option_num_peer_notif_set(struct bonding *bond,
144int bond_option_miimon_set(struct bonding *bond, struct bond_opt_value *newval); 145int bond_option_miimon_set(struct bonding *bond, struct bond_opt_value *newval);
145int bond_option_primary_set(struct bonding *bond, 146int bond_option_primary_set(struct bonding *bond,
146 struct bond_opt_value *newval); 147 struct bond_opt_value *newval);
148int bond_option_primary_reselect_set(struct bonding *bond,
149 struct bond_opt_value *newval);
147#endif /* _BOND_OPTIONS_H */ 150#endif /* _BOND_OPTIONS_H */