mirror of
https://github.com/genodelabs/genode.git
synced 2024-12-30 02:28:54 +00:00
05d807db75
Split the netperf run script into 3 ones so that it can be used more easily in an automated run. netperf.run - use native nic driver (x86) or usb2.0 (arndale, panda) netperf_usb30.run - use native nic driver (x86) or usb3.0 netperf_bridge.run - use native nic driver (x86) or usb3.0 (arndale) and bridge Issue #794
20 lines
452 B
Plaintext
20 lines
452 B
Plaintext
#
|
|
# \brief Test using netperf with a native driver or if not available for
|
|
# the platform using usb 2.0 by default
|
|
# \author Alexander Boettcher
|
|
# \date 2013-07-08
|
|
#
|
|
|
|
if {[is_qemu_available]} {
|
|
puts "\nNetperf running on Qemu is not recommented.\n"
|
|
exit
|
|
}
|
|
|
|
# network configuration
|
|
set use_nic_bridge 0
|
|
set use_usb_11 "no"
|
|
set use_usb_20 "yes"
|
|
set use_usb_30 "no"
|
|
|
|
source ${genode_dir}/ports/run/netperf.inc
|