diff options
author | Ethan Jackson <ethan@nicira.com> | 2013-08-01 18:23:13 -0700 |
---|---|---|
committer | Ethan Jackson <ethan@nicira.com> | 2013-08-02 14:41:24 -0700 |
commit | 4a1b8f30e5956655b59200d673964b9f3f9ad711 (patch) | |
tree | 9efc36990c43c2713af2f86a2f3213a9184d3ec7 /lib/bond.h | |
parent | 30618594b6c68497b56443de81a7f19e57e3e898 (diff) |
bond: Stop using tags.
This patch transitions bonding away from using tags as required by
future patches.
Signed-off-by: Ethan Jackson <ethan@nicira.com>
Acked-by: Ben Pfaff <blp@nicira.com>
Diffstat (limited to 'lib/bond.h')
-rw-r--r-- | lib/bond.h | 11 |
1 files changed, 4 insertions, 7 deletions
@@ -21,7 +21,6 @@ #include <stdint.h> #include "packets.h" -#include "tag.h" struct flow; struct netdev; @@ -69,7 +68,7 @@ void bond_slave_register(struct bond *, void *slave_, struct netdev *); void bond_slave_set_netdev(struct bond *, void *slave_, struct netdev *); void bond_slave_unregister(struct bond *, const void *slave); -void bond_run(struct bond *, struct tag_set *, enum lacp_status); +bool bond_run(struct bond *, enum lacp_status); void bond_wait(struct bond *); void bond_slave_set_may_enable(struct bond *, void *slave_, bool may_enable); @@ -87,15 +86,13 @@ enum bond_verdict { BV_DROP_IF_MOVED /* Drop if we've learned a different port. */ }; enum bond_verdict bond_check_admissibility(struct bond *, const void *slave_, - const uint8_t eth_dst[ETH_ADDR_LEN], - tag_type *); + const uint8_t dst[ETH_ADDR_LEN]); void *bond_choose_output_slave(struct bond *, const struct flow *, - struct flow_wildcards *, uint16_t vlan, - tag_type *); + struct flow_wildcards *, uint16_t vlan); /* Rebalancing. */ void bond_account(struct bond *, const struct flow *, uint16_t vlan, uint64_t n_bytes); -void bond_rebalance(struct bond *, struct tag_set *); +void bond_rebalance(struct bond *); #endif /* bond.h */ |