[ovs-dev] [PATCH 3/4] tests: Fix MPLS test cases.

Ben Pfaff blp at nicira.com
Tue Feb 11 18:01:07 UTC 2014


On Fri, Feb 07, 2014 at 04:39:54PM -0800, Joe Stringer wrote:
> The "userspace" MPLS test case was checking the same things as the
> "drop" test case, rather than checking to see that packets were being
> sent to userspace. This patch makes the testsuite consistent with itself.
> 
> Signed-off-by: Joe Stringer <joestringer at nicira.com>
> ---
> I'm not sure what the intended behaviour is here. At the moment we seem
> to send packets with <= 3 LSEs to userspace, and drop packets with > 4
> LSEs. If that's intended, this patch matches that. If not, we should
> probably change the behaviour and these tests.

That's the expected behavior for the moment, although I would only
expect packets to get dropped with >4 LSEs if one attempts to push or
pop an MPLS header.



More information about the dev mailing list