genode/repos/ports/run/netperf_lwip_usb30.run
Martin Stein fe46d50ab3 netperf tests: test nic_router throughput
Adds two new netperf tests, netperf_lxip_router and netperf_lwip_router
who test the TCP throughput of the NIC router when routed with a tcp-forward
rule and NAT.

Issue #2624
2018-02-09 13:26:03 +01:00

27 lines
735 B
Plaintext

#
# \brief Test using netperf with a native driver or if not available for
# the platform using usb 3.0 by default
# \author Alexander Boettcher
# \date 2013-07-08
#
if {[have_spec omap4]} {
puts stderr "\nTest requires 1 Gbit network interface - not supported for omap4\n"
exit 0
}
# network configuration
set use_nic_bridge 0
set use_nic_router 0
set use_wifi_driver 0
# force usage of usb for nova, known to work with usb30 network adapter
if {[have_spec nova] && [have_spec x86_64]} { set use_usb_driver 1 }
set use_usb_11 "no"
set use_usb_20 "no"
set use_usb_30 "yes"
source ${genode_dir}/repos/ports/run/netperf_lwip.inc
source ${genode_dir}/repos/ports/run/netperf.inc