diff options
author | David S. Miller <davem@davemloft.net> | 2018-07-30 19:47:22 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2018-07-30 19:47:22 +0300 |
commit | 494f2e765d4ae855455bb2488fd3796a4e6e1235 (patch) | |
tree | dc9174d61c6f23f6421ae3ad1f37c50bdef8e59a /drivers/net | |
parent | 778c4d5c5b96a61c7981ad6d841071326a713845 (diff) | |
parent | 541c6ce30f6738a05a869606f50c14dea89d12e2 (diff) | |
download | linux-494f2e765d4ae855455bb2488fd3796a4e6e1235.tar.xz |
Merge branch 'selftests-mirror-to-gretap-with-team'
Petr Machata says:
====================
A test for mirror-to-gretap with team in UL packet path
This patchset adds a test for "tc action mirred mirror" where the
mirrored-to device is a gretap, and underlay path contains a team
device.
In patch #1 require_command() is added, which should henceforth be used
to declare dependence on a certain tool.
In patch #2, two new functions, team_create() and team_destroy(), are
added to lib.sh.
The newly-added test uses arping, which isn't necessarily available.
Therefore patch #3 introduces $ARPING, and a preexisting test is fixed
to require_command $ARPING.
In patches #4 and #5, two new tests are added. In both cases, a team
device is on egress path of a mirrored packet in a mirror-to-gretap
scenario. In the first one, the team device is in loadbalance mode, in
the second one it's in lacp mode. (The difference in modes necessitates
a different testing strategy, hence two test cases instead of just
parameterizing one.)
====================
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net')
0 files changed, 0 insertions, 0 deletions