ofproto: Centralize action checking, doing it at decode time.
authorBen Pfaff <blp@nicira.com>
Sat, 2 Nov 2013 04:45:28 +0000 (21:45 -0700)
committerBen Pfaff <blp@nicira.com>
Sat, 2 Nov 2013 05:23:23 +0000 (22:23 -0700)
commit7e9f8266a4b6a951d3b8c0892d0874f4c9d44b3f
treee84fda1795cabaacee6e519f4c0e6919e1afc910
parent0e19706066f34523854cbce50c05c367e700c451
ofproto: Centralize action checking, doing it at decode time.

Jarno pointed out that modify_flows__() didn't really need to check every
instance of the flow separately.  After some further investigation I
decided that this was even more of an improvement.

CC: Jarno Rajahalme <jrajahalme@nicira.com>
Signed-off-by: Ben Pfaff <blp@nicira.com>
Acked-by: Jarno Rajahalme <jrajahalme@nicira.com>
lib/ofp-actions.c
lib/ofp-actions.h
lib/ofp-parse.c
lib/ofp-print.c
lib/ofp-util.c
lib/ofp-util.h
ofproto/ofproto.c
utilities/ovs-ofctl.c