gre01.sh 523 B

1234567891011121314151617
  1. #!/bin/sh
  2. # SPDX-License-Identifier: GPL-2.0-or-later
  3. # Copyright (c) 2018 Petr Vorel <pvorel@suse.cz>
  4. # Copyright (c) 2015-2019 Oracle and/or its affiliates.
  5. # Author: Alexey Kodanev <alexey.kodanev@oracle.com>
  6. #
  7. # It requires remote host. Test will setup IPv4 and IPv6 virtual
  8. # tunnel between two hosts, then will compare TCP performance
  9. # with and without GRE using ping or netstress test.
  10. TST_NEEDS_TMPDIR=1
  11. TST_TESTFUNC=virt_netperf_msg_sizes
  12. TST_SETUP=virt_gre_setup
  13. TST_CLEANUP=virt_cleanup
  14. . virt_lib.sh
  15. tst_run