[ovs-dev,v1] ofp-protocol: Changed the number of bits in OFPUTIL_P_ANY from 10 to 9.
diff mbox series

Message ID 1552501865-8268-1-git-send-email-ashishvarma.ovs@gmail.com
State New
Headers show
Series
  • [ovs-dev,v1] ofp-protocol: Changed the number of bits in OFPUTIL_P_ANY from 10 to 9.
Related show

Commit Message

Ashish Varma March 13, 2019, 6:31 p.m. UTC
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@gmail.com>
---
 include/openvswitch/ofp-protocol.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Comments

Ben Pfaff March 15, 2019, 11:07 p.m. UTC | #1
On Wed, Mar 13, 2019 at 11:31:05AM -0700, Ashish Varma wrote:
> 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@gmail.com>

Thanks, applied to master.

Patch
diff mbox series

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 | \