[ovs-dev] [PATCH v1] ofp-protocol: Changed the number of bits in OFPUTIL_P_ANY from 10 to 9.
Ashish Varma
ashishvarma.ovs at gmail.com
Wed Mar 13 18:31:05 UTC 2019
The removal of support for OpenFlow 1.6 (draft) resulted in the removal of
"OFPUTIL_P_OF16_OXM 1 << 9". OFPUTIL_P_ANY which represets all protocols will
now have only 9 valid bits.
Signed-off-by: Ashish Varma <ashishvarma.ovs at gmail.com>
---
include/openvswitch/ofp-protocol.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/include/openvswitch/ofp-protocol.h b/include/openvswitch/ofp-protocol.h
index 3f4e645..7873fdd 100644
--- a/include/openvswitch/ofp-protocol.h
+++ b/include/openvswitch/ofp-protocol.h
@@ -97,7 +97,7 @@ enum ofputil_protocol {
#define OFPUTIL_P_OF15_UP OFPUTIL_P_OF15_OXM
/* All protocols. */
-#define OFPUTIL_P_ANY ((1 << 10) - 1)
+#define OFPUTIL_P_ANY ((1 << 9) - 1)
/* Protocols in which a specific table may be specified in flow_mods. */
#define OFPUTIL_P_TID (OFPUTIL_P_OF10_STD_TID | \
--
2.7.4
More information about the dev
mailing list