diff options
author | David S. Miller <davem@davemloft.net> | 2018-06-30 20:34:09 +0900 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2018-06-30 20:34:09 +0900 |
commit | b0402f0113675ad78bc10c839f93a25348dd1f73 (patch) | |
tree | ce9cf2d62b46c3edcde81151e4e2db0ad3e155a0 /net/smc | |
parent | b330219cb21ddbb79d02e31cdb768cc1340e51db (diff) | |
parent | 4e74cc7c5d3f58cb0e2534cd68716c5746d52d07 (diff) |
Merge branch 'Fixes-for-running-mirror-to-gretap-tests-on-veth'
Petr Machata says:
====================
Fixes for running mirror-to-gretap tests on veth
The forwarding selftests infrastructure makes it possible to run the
individual tests on a purely software netdevices. Names of interfaces to
run the test with can be passed as command line arguments to a test.
lib.sh then creates veth pairs backing the interfaces if none exist in
the system.
However, the tests need to recognize that they might be run on a soft
device. Many mirror-to-gretap tests are buggy in this regard. This patch
set aims to fix the problems in running mirror-to-gretap tests on veth
devices.
In patch #1, a service function is split out of setup_wait().
In patch #2, installing a trap is made optional.
In patch #3, tc filters in several tests are tweaked to work with veth.
In patch #4, the logic for waiting for neighbor is fixed for veth.
====================
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/smc')
0 files changed, 0 insertions, 0 deletions