[PATCH net-next mlxsw 0/3] A test for mirror-to-gretap with LAG in UL packet path

Petr Machata petrm at mellanox.com
Thu Jun 7 02:01:31 AEST 2018


This patchset adds a test for "tc action mirred mirror" where the
mirrored-to device is a gretap, and underlay path contains a LAG device.

In patch #1, a new service function is split out of setup_wait().

In patch #2, two new functions, team_create() and team_destroy(), are
added to lib.sh.

In patch #3, the test is actually added.

Petr Machata (3):
  selftests: forwarding: lib: Split out setup_wait_dev()
  selftests: forwarding: lib: Support team devices
  selftests: forwarding: Test mirror-to-gretap w/ UL team

 tools/testing/selftests/net/forwarding/lib.sh      |  56 ++++-
 .../net/forwarding/mirror_gre_bridge_1q_lag.sh     | 246 +++++++++++++++++++++
 2 files changed, 291 insertions(+), 11 deletions(-)
 create mode 100755 tools/testing/selftests/net/forwarding/mirror_gre_bridge_1q_lag.sh

-- 
2.4.11



More information about the Linux-mlxsw mailing list