Joe, Thanks for further review. I'll add the changes you have below to the series.
I'll take a look at the "check-system-userspace" failure. The "802.1ad - push/pop outer tag" test fails on at least one of my setups. On Thu, Aug 04, 2016 at 05:53:59PM -0700, Joe Stringer wrote: > Thanks for updating the series. > > With the incremental patch below this is looking pretty reliable for > check-kmod/check-kernel on the platforms I can test on, although > there's still some issue with "make check-system-userspace". It seems > like the userspace datapath cannot receive double-tagged packets from > AF_PACKET properly; it's unclear where the issue is yet. > > diff --git a/tests/system-traffic.at b/tests/system-traffic.at > index ff67be997370..694eeb5f4665 100644 > --- a/tests/system-traffic.at > +++ b/tests/system-traffic.at > @@ -85,6 +85,8 @@ ADD_SVLAN(p1, at_ns1, 4094, "10.255.2.2/24") > ADD_CVLAN(p0.4094, at_ns0, 100, "10.2.2.1/24") > ADD_CVLAN(p1.4094, at_ns1, 100, "10.2.2.2/24") > > +OVS_WAIT_UNTIL([ip netns exec at_ns0 ping -c 1 10.2.2.2]) > + > NS_CHECK_EXEC([at_ns0], [ping -q -c 3 -i 0.3 -w 2 10.2.2.2 | > FORMAT_PING], [0], [dnl > 3 packets transmitted, 3 received, 0% packet loss, time 0ms > ]) > @@ -176,7 +178,7 @@ ADD_CVLAN(p1.4094, at_ns1, 100, "fc00:1::2/96") > dnl Linux seems to take a little time to get its IPv6 stack in order. Without > dnl waiting, we get occasional failures due to the following error: > dnl "connect: Cannot assign requested address" > -OVS_WAIT_UNTIL([ip netns exec at_ns0 ping6 -c 1 fc00::2]) > +OVS_WAIT_UNTIL([ip netns exec at_ns0 ping6 -c 1 fc00:1::2]) > > NS_CHECK_EXEC([at_ns0], [ping6 -q -c 3 -i 0.3 -w 2 fc00:1::2 | > FORMAT_PING], [0], [dnl > 3 packets transmitted, 3 received, 0% packet loss, time 0ms > > > > On 2 August 2016 at 08:20, Eric Garver <e...@erig.me> wrote: > > This series adds 6 test cases to the "check-kernel" make target for > > 802.1ad. It is meant as a counterpart to the 802.1ad work currently > > going on and being discussed on the dev list. > > > > User space support for 802.1ad is being worked on by Xiao Liang (based > > on Thomas F Herbert's work). > > > > Kernel support is being worked on by myself (also based on Tom's work). > > I will post (and CC ovs-dev) the kernel series once net-next opens again > > for new content. If there is interest I can post that series to ovs-dev > > for discussion in the mean time. > > > > These patches have been tested with Xiao's most recent series and my yet > > to be posted kernel series. > > > > Update v2: > > - Properly skip tests on older versions of OVS and kernel > > - Set CVLAN mtu to 1496 to allow tests to pass on older kernels > > > > Eric Garver (5): > > check-kernel: Add macros to check for and test 802.1ad. > > check-kernel: 802.1ad: Add datapath ping tests for CVLANs. > > check-kernel: 802.1ad: Add conntrack ping tests for CVLANs. > > check-kernel: 802.1ad: Add push/pop test case. > > check-kernel: 802.1ad: Add dot1q-tunnel test case. > > > > tests/system-common-macros.at | 30 ++++- > > tests/system-traffic.at | 268 > > ++++++++++++++++++++++++++++++++++++++++++ > > 2 files changed, 297 insertions(+), 1 deletion(-) > > > > -- > > 2.5.5 > > > > _______________________________________________ > > dev mailing list > > dev@openvswitch.org > > http://openvswitch.org/mailman/listinfo/dev > _______________________________________________ > dev mailing list > dev@openvswitch.org > http://openvswitch.org/mailman/listinfo/dev _______________________________________________ dev mailing list dev@openvswitch.org http://openvswitch.org/mailman/listinfo/dev