mirror of
https://github.com/slsdetectorgroup/slsDetectorPackage.git
synced 2025-04-24 23:30:03 +02:00
m3: virtual servers for switching to 1 giga (stop server does not know dr)
This commit is contained in:
parent
ae58e9f0f4
commit
b421a73c3d
@ -1592,7 +1592,14 @@ int enableTenGigabitEthernet(int val) {
|
||||
else {
|
||||
bus_w(addr, bus_r(addr) & (~PKT_CONFIG_1G_INTERFACE_MSK));
|
||||
}
|
||||
updatePacketizing();
|
||||
// stop server does not know dr in virtual mode
|
||||
#ifdef VIRTUAL
|
||||
if (isControlServer) {
|
||||
#endif
|
||||
updatePacketizing();
|
||||
#ifdef VIRTUAL
|
||||
}
|
||||
#endif
|
||||
}
|
||||
int oneG = ((bus_r(addr) & PKT_CONFIG_1G_INTERFACE_MSK) >>
|
||||
PKT_CONFIG_1G_INTERFACE_OFST);
|
||||
|
Loading…
x
Reference in New Issue
Block a user