dpif: Wildcard bond output port with recirculation
authorAndy Zhou <azhou@nicira.com>
Tue, 8 Apr 2014 04:49:07 +0000 (21:49 -0700)
committerAndy Zhou <azhou@nicira.com>
Wed, 9 Apr 2014 03:08:42 +0000 (20:08 -0700)
commit54ecb5a2331ca95264879252e413becaba130573
tree8efc4a6d99e6db11c9553b08d09f21734d0aa024
parent43f31ef528f5e4b4751036ce2ef90ea1334bbe3f
dpif: Wildcard bond output port with recirculation

This patch took advantage of the recirculation infrastructure
introduced in commit adcf00ba35a0, allowing megaflows to be generated
when the flow output to bond ports.

Without recirculation, it is necessary flows output to Bond ports
in balance_tcp mode to unmask all hash fields. With recirculation,
masking of hash fields is no longer required as kernel
now hashes each packet and redirects packets based on the hash value
using recirculation.

This patch removes the masking requirements when recirculation is
in use. Datapaths do not support recirculation are still supported,
but without the benefits of megaflow.

Signed-off-by: Andy Zhou <azhou@nicira.com>
Acked-by: Ben Pfaff <blp@nicira.com>
ofproto/ofproto-dpif-xlate.c
tests/ofproto-dpif.at