diff options
author | Petr Machata | 2018-05-24 16:27:16 +0200 |
---|---|---|
committer | David S. Miller | 2018-05-25 04:26:19 +0200 |
commit | d5ea2bfc806a92bdeeed9a16e6dddfe44ebc37ec (patch) | |
tree | c706bb13409b86687687c5dcff5424efcba4fb9d /block/bio-integrity.c | |
parent | selftests: forwarding: Split mirror_gre_topo_lib.sh (diff) | |
download | kernel-qcow2-linux-d5ea2bfc806a92bdeeed9a16e6dddfe44ebc37ec.tar.gz kernel-qcow2-linux-d5ea2bfc806a92bdeeed9a16e6dddfe44ebc37ec.tar.xz kernel-qcow2-linux-d5ea2bfc806a92bdeeed9a16e6dddfe44ebc37ec.zip |
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 'block/bio-integrity.c')
0 files changed, 0 insertions, 0 deletions