[ovs-discuss] Changing FLOW_MAX_MPLS_LABELS

Seyed Hossein Mortazavi mortazavi at ualberta.ca
Thu Dec 3 20:53:49 UTC 2015


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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://openvswitch.org/pipermail/ovs-discuss/attachments/20151203/7a200eb4/attachment-0002.html>


More information about the discuss mailing list