[ovs-dev] [PATCH v4 0/7] system-traffic: add 802.1ad test cases

Eric Garver e at erig.me
Fri Sep 23 19:16:22 UTC 2016


This series adds 802.1ad test cases for the check-* make targets. 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 already present in
upstream net-next tree.

Tested with v5 of Xiao's 802.1ad patch series.
Tested with; recent (4.8.0-rc4+) net-next kernel, upstream 4.7.3, and
upstream 3.19.8.
Tested with v1 of Eric Garver's "netdev-linux: double tagged packets
should use 0x88a8" patch.

v4:
 - alter vlan_limit test enough to work with userspace datapath on
   kernels < 3.14.

v3:
 - Add test case for vlan_limit. This is to verify backwards
   compatibility of dl_type.
 - Add double 0x8100 tag test.
 - Specify cvlans for dot1q-tunnel test and verify other VLANs filtered
 - Drop CVLAN MTU to 1492, SVLAN to 1496
 - Fix passing sed filters for userspace datapath tests.

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 (7):
  system-userspace-macros: allow passing sed args to
    OVS_TRAFFIC_VSWITCHD_STOP()
  system-common-macros: Add macros to check for and test 802.1ad.
  system-traffic: 802.1ad: Add datapath ping tests for CVLANs.
  system-traffic: 802.1ad: Add conntrack ping tests for CVLANs.
  system-traffic: 802.1ad: Add vlan_limit test case.
  system-traffic: 802.1ad: Add push/pop test cases.
  system-traffic: 802.1ad: Add dot1q-tunnel test case.

 tests/system-common-macros.at    |  32 +++-
 tests/system-traffic.at          | 380 +++++++++++++++++++++++++++++++++++++++
 tests/system-userspace-macros.at |   2 +-
 3 files changed, 412 insertions(+), 2 deletions(-)

-- 
2.5.5




More information about the dev mailing list