Nevermind, I just kept increased it 4 bytes at a time until it worked(compiled) at 232.
BUILD_ASSERT_DECL(offsetof(struct flow, igmp_group_ip4) + sizeof(uint32_t) == sizeof(struct flow_tnl) + 232 && FLOW_WC_SEQ == 31); On Thu, Dec 3, 2015 at 3:53 PM, Seyed Hossein Mortazavi < [email protected]> wrote: > Hi, > > I want to change this parameter: > #define FLOW_MAX_MPLS_LABELS 3 > to 7. > > Following this post: > http://permalink.gmane.org/gmane.linux.network.openvswitch.general/8249 > > I realize that I also need to change an assert: > > BUILD_ASSERT_DECL(offsetof(struct flow, igmp_group_ip4) + > sizeof(uint32_t) == sizeof(struct flow_tnl) + 216 && FLOW_WC_SEQ == 31); > > What should I put instead of 216? In the previous post it mentioned + 176 + > (4 * > > ROUND_UP(FLOW_MAX_MPLS_LABELS, 2)) but that was for the time where there was > a 192 instead of 216. > > - Seyed Hossein Mortazavi > > > -- Seyed Hossein Mortazavi Computer Science MS Student, University of Alberta
_______________________________________________ discuss mailing list [email protected] http://openvswitch.org/mailman/listinfo/discuss
