X-Git-Url: http://git.onelab.eu/?p=sliver-openvswitch.git;a=blobdiff_plain;f=ofproto%2Fbond.h;h=0d9a67a2aebaccc4134dac53170a6860a2f6db7d;hp=e5ceb45a73de6cf444c010c5866481f7285d1def;hb=60cda7d69b0bfd242045d346f2cd169836a3d78e;hpb=9e4e33db91d28bf570a05db32db46a1952f91684 diff --git a/ofproto/bond.h b/ofproto/bond.h index e5ceb45a7..0d9a67a2a 100644 --- a/ofproto/bond.h +++ b/ofproto/bond.h @@ -96,7 +96,7 @@ void *bond_choose_output_slave(struct bond *, const struct flow *, /* Rebalancing. */ void bond_account(struct bond *, const struct flow *, uint16_t vlan, uint64_t n_bytes); -bool bond_rebalance(struct bond *); +void bond_rebalance(struct bond *); /* Recirculation * @@ -104,9 +104,9 @@ bool bond_rebalance(struct bond *); * * When recirculation is used, each bond port is assigned with a unique * recirc_id. The output action to the bond port will be replaced by - * a RECIRC action. + * a Hash action, followed by a RECIRC action. * - * ... actions= ... RECIRC(L4_HASH, recirc_id) .... + * ... actions= ... HASH(hash(L4)), RECIRC(recirc_id) .... * * On handling first output packet, 256 post recirculation flows are installed: * @@ -118,5 +118,4 @@ bool bond_rebalance(struct bond *); void bond_update_post_recirc_rules(struct bond *, const bool force); bool bond_may_recirc(const struct bond *, uint32_t *recirc_id, uint32_t *hash_bias); -void bond_recirculation_account(struct bond *); #endif /* bond.h */