ofproto-dpif: Handle dest mirrors in compose_output_action().
authorEthan Jackson <ethan@nicira.com>
Thu, 20 Jun 2013 01:51:28 +0000 (18:51 -0700)
committerEthan Jackson <ethan@nicira.com>
Sun, 7 Jul 2013 10:58:43 +0000 (03:58 -0700)
commitcdf5d3a51e9ccd33ef77b5dcd9b03671f3352650
treeb7551d9a6698f44dde13c37d165eda941c3127bf
parentf1ce35146bfef05de5f342813fc8a8678eed96e8
ofproto-dpif: Handle dest mirrors in compose_output_action().

Before this patch, the mirroring code would retroactively insert
actions for destination mirrors after actions were translated.
This relied on converting datapath output actions into ofports
which doesn't work for tunnels and patch ports.  This patch
refactors the code to handle destination mirrors at output.

Signed-off-by: Ethan Jackson <ethan@nicira.com>
Acked-by: Ben Pfaff <blp@nicira.com>
ofproto/ofproto-dpif-xlate.c