OSDN Git Service

selftests: forwarding: mirror_lib: Move here do_test_span_vlan_dir_ips()
authorPetr Machata <petrm@mellanox.com>
Thu, 31 May 2018 17:52:09 +0000 (19:52 +0200)
committerDavid S. Miller <davem@davemloft.net>
Fri, 1 Jun 2018 18:11:01 +0000 (14:11 -0400)
commit900530f3f8731606a8dfb847b7e0d467250f9665
tree0b0bee058e2796681ab09ee375e9eeb239f3bf4c
parent2004a9bcb8ff2ceeea722441d445cd6e0755c2c4
selftests: forwarding: mirror_lib: Move here do_test_span_vlan_dir_ips()

Move the function do_test_span_vlan_dir_ips() from mirror_vlan.sh test
to a library file mirror_lib.sh to allow reuse. Fill in other entry
points similar to other testing functions in mirror_lib.sh, they will be
useful in following patches.

Signed-off-by: Petr Machata <petrm@mellanox.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
tools/testing/selftests/net/forwarding/mirror_lib.sh
tools/testing/selftests/net/forwarding/mirror_vlan.sh