Message ID | 1552501865-8268-1-git-send-email-ashishvarma.ovs@gmail.com |
---|---|
State | Accepted |
Commit | 2115f115158ad1c46952186bcfa6de10d1e06632 |
Headers | show |
Series | [ovs-dev,v1] ofp-protocol: Changed the number of bits in OFPUTIL_P_ANY from 10 to 9. | expand |
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.
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 | \
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(-)