2013-07-08 08:58:40 +00:00
|
|
|
#
|
|
|
|
# \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
|
|
|
|
#
|
|
|
|
|
2019-04-24 13:09:49 +00:00
|
|
|
# our nightly test infrastructure currently support usb 3.0 on our x86 64bit machine only
|
|
|
|
assert_spec x86_64
|
|
|
|
|
|
|
|
if {[have_include "power_on/qemu"] || [have_include "power_on/linux"]} {
|
|
|
|
puts stderr "\nNetperf USB3.0 running on Qemu/Linux is not supported.\n"
|
2013-07-08 08:58:40 +00:00
|
|
|
exit 0
|
|
|
|
}
|
|
|
|
|
|
|
|
# network configuration
|
|
|
|
set use_nic_bridge 0
|
2015-02-20 12:39:10 +00:00
|
|
|
set use_wifi_driver 0
|
2019-04-24 13:09:49 +00:00
|
|
|
set use_usb_driver 1
|
|
|
|
set use_lxip 1
|
2015-05-06 14:13:04 +00:00
|
|
|
|
2014-05-07 09:48:19 +00:00
|
|
|
source ${genode_dir}/repos/ports/run/netperf.inc
|