From 4325b374f84e59226851636df946f2500d0bfeba Mon Sep 17 00:00:00 2001 From: Nikolay Aleksandrov Date: Wed, 22 Jan 2014 14:53:39 +0100 Subject: bonding: convert lp_interval to use the new option API This patch adds the necessary changes so lp_interval would use the new bonding option API. Signed-off-by: Nikolay Aleksandrov Signed-off-by: David S. Miller --- drivers/net/bonding/bond_options.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'drivers/net/bonding/bond_options.h') diff --git a/drivers/net/bonding/bond_options.h b/drivers/net/bonding/bond_options.h index f0c2cbb0347..eb3a773cb5a 100644 --- a/drivers/net/bonding/bond_options.h +++ b/drivers/net/bonding/bond_options.h @@ -60,6 +60,7 @@ enum { BOND_OPT_QUEUE_ID, BOND_OPT_ALL_SLAVES_ACTIVE, BOND_OPT_RESEND_IGMP, + BOND_OPT_LP_INTERVAL, BOND_OPT_LAST }; @@ -162,4 +163,6 @@ int bond_option_all_slaves_active_set(struct bonding *bond, struct bond_opt_value *newval); int bond_option_resend_igmp_set(struct bonding *bond, struct bond_opt_value *newval); +int bond_option_lp_interval_set(struct bonding *bond, + struct bond_opt_value *newval); #endif /* _BOND_OPTIONS_H */ -- cgit v1.2.3-70-g09d2