Skip to content

Commit 52e0c1b

Browse files
committed
Is it really just the traffic identifier?
1 parent cf6b1f5 commit 52e0c1b

File tree

1 file changed

+6
-10
lines changed

1 file changed

+6
-10
lines changed

SpiNNaker-allocserv/src/main/java/uk/ac/manchester/spinnaker/alloc/web/SpallocServiceAPIImplBuilder.java

+6-10
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,6 @@
6363
import uk.ac.manchester.spinnaker.machine.board.PhysicalCoords;
6464
import uk.ac.manchester.spinnaker.machine.board.TriadCoords;
6565
import uk.ac.manchester.spinnaker.machine.tags.IPTag;
66-
import uk.ac.manchester.spinnaker.machine.tags.TrafficIdentifier;
6766
import uk.ac.manchester.spinnaker.utils.validation.IPAddress;
6867

6968
/**
@@ -324,15 +323,12 @@ public void fastDataWrite(@ValidX int gatherX, @ValidY int gatherY,
324323
@ValidX int x, @ValidY int y, long address, byte[] bytes,
325324
AsyncResponse response) {
326325
bgAction(response, () -> {
327-
// var fdi = j.getFastDataIn(
328-
// new CoreLocation(gatherX, gatherY, gatherP),
329-
// new IPTag(ethAddress, iptag, ethX, ethY, "localhost",
330-
// null, true, TrafficIdentifier.BUFFERED.label));
331-
// fdi.fastWrite(new ChipLocation(x, y),
332-
// new MemoryLocation(address), wrap(bytes));
333-
var txrx = j.getTransceiver();
334-
txrx.writeMemory(new ChipLocation(gatherX + x, gatherY + y),
335-
new MemoryLocation(address), bytes);
326+
var fdi = j.getFastDataIn(
327+
new CoreLocation(gatherX, gatherY, gatherP),
328+
new IPTag(ethAddress, iptag, ethX, ethY, "localhost",
329+
null, true, "DATA_SPEED_UP"));
330+
fdi.fastWrite(new ChipLocation(x, y),
331+
new MemoryLocation(address), wrap(bytes));
336332
return accepted().build();
337333
});
338334
}

0 commit comments

Comments
 (0)