summaryrefslogtreecommitdiff
path: root/lib/lacp.h
diff options
context:
space:
mode:
authorEthan Jackson <ethan@nicira.com>2011-04-14 15:24:18 -0700
committerEthan Jackson <ethan@nicira.com>2011-04-14 18:30:48 -0700
commit0f1a47f108ba6c599b252bc1b17ea59609d60e09 (patch)
treee432edd2fa36494493ab91703b7175047536a68c /lib/lacp.h
parent2bb82bf044a0e28ef4c9e65e425b8173a574d91d (diff)
downloadopenvswitch-0f1a47f108ba6c599b252bc1b17ea59609d60e09.tar.gz
lacp: Remove enabled flag.
The enabled flag in the LACP module was only used to set the Collecting and Distributing flags in the LACP protocol. It was intended to be set by the bonding code to mimic its enabled flag. The spec is relatively vague on the precise meaning of these flags, and most implementations do something completely different with them. For these reasons, it seems acceptable to remove the enabled flag for the sake of simplicity. A slave is now Collecting and Distributing if it is attached, or LACP couldn't be negotiated.
Diffstat (limited to 'lib/lacp.h')
-rw-r--r--lib/lacp.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/lib/lacp.h b/lib/lacp.h
index a48654234..38c8f6eb4 100644
--- a/lib/lacp.h
+++ b/lib/lacp.h
@@ -49,7 +49,6 @@ struct lacp_slave_settings {
void lacp_slave_register(struct lacp *, void *slave_,
const struct lacp_slave_settings *);
void lacp_slave_unregister(struct lacp *, const void *slave);
-void lacp_slave_enable(struct lacp *lacp, void *slave_, bool enabled);
void lacp_slave_carrier_changed(const struct lacp *, const void *slave);
bool lacp_slave_may_enable(const struct lacp *, const void *slave);
uint16_t lacp_slave_get_port_id(const struct lacp *, const void *slave);