diff options
author | Petr Machata <petrm@mellanox.com> | 2018-05-24 16:27:16 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2018-05-24 22:26:19 -0400 |
commit | d5ea2bfc806a92bdeeed9a16e6dddfe44ebc37ec (patch) | |
tree | c706bb13409b86687687c5dcff5424efcba4fb9d /sound/firewire/lib.c | |
parent | 74ed089d48a483374656ce7e4f006d758a3a6228 (diff) | |
download | op-kernel-dev-d5ea2bfc806a92bdeeed9a16e6dddfe44ebc37ec.zip op-kernel-dev-d5ea2bfc806a92bdeeed9a16e6dddfe44ebc37ec.tar.gz |
selftests: forwarding: mirror_gre_lib: Extract generic functions
For non-GRE mirroring tests, a functions along the lines of
do_test_span_gre_dir_ips() and test_span_gre_dir_ips() are necessary,
but such that they don't assume tunnels are involved. Extract the code
from mirror_gre_lib.sh to mirror_lib.sh and convert to just use a given
device without assuming it's named "h3-$tundev". Convert the two
above-mentioned functions to wrappers that pass along the correct device
name.
Add test_span_dir() and fail_test_span_dir() to round up the API for use
by following patches.
Signed-off-by: Petr Machata <petrm@mellanox.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'sound/firewire/lib.c')
0 files changed, 0 insertions, 0 deletions