ofproto/bond: Implement bond megaflow using recirculation
authorAndy Zhou <azhou@nicira.com>
Wed, 5 Mar 2014 23:27:31 +0000 (15:27 -0800)
committerAndy Zhou <azhou@nicira.com>
Tue, 8 Apr 2014 02:55:30 +0000 (19:55 -0700)
commitadcf00ba35a0ce9cf2f1a84bce44559eab1f83a1
tree3753019bf3e165c3deb87f7b1def580b7deffadd
parentebed9f7859a2a051d7bb59d7d73775f0c5c0edd7
ofproto/bond: Implement bond megaflow using recirculation

Infrastructure to enable megaflow support for bond ports using
recirculation. This patch adds the following features:
* Generate RECIRC action when bond can benefit from recirculation.
* Populate post recirculation rules in a hidden table. Currently table 254.
* Uses post recirculation rules for bond rebalancing
* A recirculation implementation in dpif-netdev.

The goal of this patch is to be able to megaflow bond outputs and
thus greatly improve performance. However, this patch does not
actually improve the megaflow generation. It is left for a later commit.

Signed-off-by: Andy Zhou <azhou@nicira.com>
Acked-by: Ben Pfaff <blp@nicira.com>
20 files changed:
lib/dpif-netdev.c
lib/flow.c
lib/match.c
lib/match.h
lib/odp-execute.c
lib/ofp-parse.c
lib/ofp-print.c
lib/ofp-util.h
ofproto/bond.c
ofproto/bond.h
ofproto/ofproto-dpif-xlate.c
ofproto/ofproto-dpif-xlate.h
ofproto/ofproto-dpif.c
ofproto/ofproto-dpif.h
ofproto/ofproto-provider.h
ofproto/ofproto.c
ofproto/ofproto.h
tests/classifier.at
tests/lacp.at
tests/ofproto-dpif.at