ofproto: Make NXAST_RESUBMIT take header modifications into account.
authorBen Pfaff <blp@nicira.com>
Tue, 13 Apr 2010 17:12:25 +0000 (10:12 -0700)
committerBen Pfaff <blp@nicira.com>
Tue, 13 Apr 2010 17:12:25 +0000 (10:12 -0700)
commit999f0d4588503af5a7645ed2f64764bd48c29b9b
tree6cb733a7ebee642cb18f5e1068033bcdc33a91e2
parente18fe8a220f268624e5b670d6adcf2d4080866aa
ofproto: Make NXAST_RESUBMIT take header modifications into account.

Until now, the NXAST_RESUBMIT action has always looked up the original
flow except for the updated in_port.  This commit changes the semantics to
instead look up the flow as modified by any preceding actions that affect
it, e.g. if OFPAT_SET_VLAN_VID precedes NXAST_RESUBMIT, then NXAST_RESUBMIT
now looks up the flow with the modified VLAN, not the original (as well as
the modified in_port).

Also, document how NXAST_RESUBMIT is supposed to work.

Suggested-by: Paul Ingram <paul@nicira.com>
include/openflow/nicira-ext.h
ofproto/ofproto.c