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
|
|
|
|
#
|
|
|
|
|
|
|
|
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
|
2017-12-19 14:18:08 +00:00
|
|
|
set use_nic_router 0
|
2015-02-20 12:39:10 +00:00
|
|
|
set use_wifi_driver 0
|
2015-05-06 14:13:04 +00:00
|
|
|
|
|
|
|
# force usage of usb for nova, known to work with usb30 network adapter
|
2017-10-12 15:11:02 +00:00
|
|
|
if {[have_spec nova] && [have_spec x86_64]} { set use_usb_driver 1 }
|
2015-05-06 14:13:04 +00:00
|
|
|
|
2013-07-08 08:58:40 +00:00
|
|
|
set use_usb_11 "no"
|
|
|
|
set use_usb_20 "no"
|
|
|
|
set use_usb_30 "yes"
|
|
|
|
|
2014-05-07 09:48:19 +00:00
|
|
|
source ${genode_dir}/repos/ports/run/netperf_lwip.inc
|
|
|
|
source ${genode_dir}/repos/ports/run/netperf.inc
|