---------- Forwarded message ---------- From: Shao-You Wu 吳少友 <[email protected]> Date: 2015-05-27 13:30 GMT+08:00 Subject: Re: [ovs-discuss] Multiple MPLS label pushing? To: Pravin Shelar <[email protected]>
Hi Pravin Shelar, I succeeded in rebuilding, but OVS still cannot support >3 MPLS stack. Thanks for your reply. 2015-05-27 5:02 GMT+08:00 Pravin Shelar <[email protected]>: > > > On Fri, May 22, 2015 at 6:09 AM, Shao-You Wu 吳少友 < > [email protected]> wrote: > >> Hi all, >> >> I've tried to push/pop MPLS labels on the packets, but currently, ovs >> only supports "3 MPLS label pushing". >> I need longer MPLS label stack. >> >> ------------------- >> Related code segments in "lib/flow.h": >> #L76 >> /* Maximum number of supported MPLS labels. */ >> #define FLOW_MAX_MPLS_LABELS 3 >> #L158 >> BUILD_ASSERT_DECL(offsetof(struct flow, igmp_group_ip4) + sizeof(uint32_t >> ) == sizeof(struct flow_tnl) + 192 >> ------------------- >> >> I changed FLOW_MAX_MPLS_LABELS from 3 to another bigger value (saying, >> 9), >> added additional 24 bytes ( (9-3)x4 = 24 ) in the end of line 158, >> and re-built the ovs. >> >> Unfortunately, it still supports only 3 stacked MPLS labels. >> Does anyone knows what else I should do? >> > > What error do you see after the rebuild? > >
_______________________________________________ discuss mailing list [email protected] http://openvswitch.org/mailman/listinfo/discuss
