On 3 May 2017 at 14:29, Алексей Болдырев <devel-net-ne-vleza...@yandex.ru> wrote: > As I understand it, it's enough to just set the variable in the source > #define FLOW_MAX_MPLS_LABELS 3 > on > #define FLOW_MAX_MPLS_LABELS 7 > Or is there somehow still pitfalls?
You'll probably need to update the BUILD_ASSERT_DECL for the offset of igmp_group_ip4, and for extra safety increment FLOW_WC_SEQ and inspect each other place that has BUILD_ASSERT_DECL statements relying on that FLOW_WC_SEQ. Changing FLOW_WC_SEQ will introduce compiler warnings/failures so you can step through each location, take a look if it's relevant and update the BUILD_ASSERT_DECL. At a glance it seems like even with that bump, OVS userspace is only detecting support for 3 labels so you might need to update something kernel-side as well.