[ovs-dev] [PATCH 01/19] ofp-util: Add OFPUTIL_P_OF12, NXPIF_OPENFLOW12 and NXFF_OPENFLOW12

Ben Pfaff blp at nicira.com
Thu Jun 14 05:58:56 UTC 2012


On Thu, Jun 14, 2012 at 08:51:49AM +0900, Simon Horman wrote:
> Add OFPUTIL_P_OF12, NXPIF_OPENFLOW12 and NXFF_OPENFLOW12 for Open Flow 1.2
> 
> OFPUTIL_P_OF12_TID and in turn OFPUTIL_P_OF12_ANY is not provided as
> OFPUTIL_P_OF12 supports the use of table ids in modify flow messages.
> 
> Signed-off-by: Simon Horman <horms at verge.net.au>

This introduces some new warnings:

../lib/ofp-util.c: In function ‘ofputil_encode_flow_mod’:
../lib/ofp-util.c:1777: error: enumeration value ‘OFPUTIL_P_OF12’ not handled in switch
../lib/ofp-util.c: In function ‘ofputil_encode_flow_stats_request’:
../lib/ofp-util.c:1939: error: enumeration value ‘OFPUTIL_P_OF12’ not handled in switch
../lib/ofp-util.c: In function ‘ofputil_encode_flow_removed’:
../lib/ofp-util.c:2297: error: enumeration value ‘OFPUTIL_P_OF12’ not handled in switch

I usually build with -Werror so that's bad...



More information about the dev mailing list