[ovs-dev] [PATCH] bridge: Eject NORMAL flows from datapath after bridge flush.
Ben Pfaff
blp at nicira.com
Thu Oct 22 13:58:14 UTC 2009
Jesse Gross <jesse at nicira.com> writes:
> During a bridge flush we clear the learning table and revalidate all
> flows. When revalidating NORMAL flows we consult the empty learning
> table and install flows that flood packets. This means that existing
> flows can continue as is but flooding packets because we don't learn
> the MAC addresses as the flows never come to userspace. The problem
> is worse with bonding because we can receive one of the flooded
> packets back on a bond slave and learn that port, causing us to send
> traffic to the wrong location.
This seems like a reasonable stopgap. We have the opportunity to
do better:
- We shouldn't need to flush the bridge in so many cases.
- We ought to feed flow stats back into the learning
table.
More information about the dev
mailing list