mirror of
https://github.com/genodelabs/genode.git
synced 2025-04-07 11:27:29 +00:00
netperf: use disjoint mac addresses for platforms
This commit is contained in:
parent
3bc93d1242
commit
fd344eb273
@ -34,6 +34,14 @@ if {!$use_wifi_driver} {
|
||||
set wifi_psk ""
|
||||
}
|
||||
|
||||
set bridge_mac "02:02:02:02:02:00"
|
||||
|
||||
# autopilot: configure disjoint mac-address ranges for x86_32, x86_64, and others
|
||||
if {[get_cmd_switch --autopilot]} {
|
||||
if {[have_spec x86_32]} { set bridge_mac "02:02:02:02:32:00" }
|
||||
if {[have_spec x86_64]} { set bridge_mac "02:02:02:02:64:00" }
|
||||
}
|
||||
|
||||
#
|
||||
# Build
|
||||
#
|
||||
@ -134,7 +142,7 @@ append_if $use_nic_bridge config {
|
||||
<start name="nic_bridge">
|
||||
<resource name="RAM" quantum="5M"/>
|
||||
<provides><service name="Nic"/></provides>
|
||||
<config>}
|
||||
<config mac="} $bridge_mac {">}
|
||||
append_if [expr $use_nic_bridge && [have_spec linux]] config "
|
||||
<policy label_prefix=\"netserver_genode\" ip_addr=\"$lx_ip_addr\"/>"
|
||||
append_if $use_nic_bridge config {
|
||||
|
Loading…
x
Reference in New Issue
Block a user