On Fri, Mar 22, 2019 at 06:26:01PM +0800, solomon wrote:
> --- a/include/openflow/openflow-1.1.h
> +++ b/include/openflow/openflow-1.1.h
> @@ -531,10 +531,12 @@ OFP_ASSERT(sizeof(struct ofp11_group_stats_request) == 
> 8);
>  
>  /* Used in group stats replies. */
>  struct ofp11_bucket_counter {
> +    ovs_be32 bucket_id;
> +    uint8_t pad2[4];
>      ovs_be64 packet_count;   /* Number of packets processed by bucket. */
>      ovs_be64 byte_count;     /* Number of bytes processed by bucket. */
>  };
> -OFP_ASSERT(sizeof(struct ofp11_bucket_counter) == 16);
> +OFP_ASSERT(sizeof(struct ofp11_bucket_counter) == 24);

You can't change OpenFlow 1.1.  It is specified by the Open Networking
Foundation and if you try to change it, then that will break everything
that OVS tries to talk to.
_______________________________________________
dev mailing list
[email protected]
https://mail.openvswitch.org/mailman/listinfo/ovs-dev

Reply via email to