summaryrefslogtreecommitdiffstats
path: root/drivers/net/bonding/bond_options.h
diff options
context:
space:
mode:
authorNikolay Aleksandrov2014-01-22 14:53:27 +0100
committerDavid S. Miller2014-01-23 00:38:42 +0100
commitd3131de76b1b1a4d95f145846bd61f96e72f0411 (patch)
treee78a441b8ece24edd7fb049d67a70a6836b282ca /drivers/net/bonding/bond_options.h
parentbonding: convert updelay to use the new option API (diff)
downloadkernel-qcow2-linux-d3131de76b1b1a4d95f145846bd61f96e72f0411.tar.gz
kernel-qcow2-linux-d3131de76b1b1a4d95f145846bd61f96e72f0411.tar.xz
kernel-qcow2-linux-d3131de76b1b1a4d95f145846bd61f96e72f0411.zip
bonding: convert lacp_rate to use the new option API
This patch adds the necessary changes so lacp_rate would use the new bonding option API. Also some trivial/style error fixes. 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 594046c3a608..7ee1a78abd8d 100644
--- a/drivers/net/bonding/bond_options.h
+++ b/drivers/net/bonding/bond_options.h
@@ -48,6 +48,7 @@ enum {
BOND_OPT_ARP_TARGETS,
BOND_OPT_DOWNDELAY,
BOND_OPT_UPDELAY,
+ BOND_OPT_LACP_RATE,
BOND_OPT_LAST
};
@@ -127,4 +128,6 @@ int bond_option_downdelay_set(struct bonding *bond,
struct bond_opt_value *newval);
int bond_option_updelay_set(struct bonding *bond,
struct bond_opt_value *newval);
+int bond_option_lacp_rate_set(struct bonding *bond,
+ struct bond_opt_value *newval);
#endif /* _BOND_OPTIONS_H */