From f26e698f31e32067ddd84aea7c6c2c075120ebd3 Mon Sep 17 00:00:00 2001 From: whitequark Date: Wed, 30 Aug 2017 15:22:20 +0000 Subject: [PATCH] Revert "firmware: reduce ethmac maximum burst size by one." This reverts commit 2231b16e0aec002cd955a64a9ccc795f3c402c00. Only made a difference with TRACE log level to UART, i.e. only because UART was the bottleneck. --- artiq/firmware/runtime/ethmac.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/artiq/firmware/runtime/ethmac.rs b/artiq/firmware/runtime/ethmac.rs index c31e64ad7..23047bab0 100644 --- a/artiq/firmware/runtime/ethmac.rs +++ b/artiq/firmware/runtime/ethmac.rs @@ -26,7 +26,7 @@ impl Device for EthernetDevice { fn limits(&self) -> DeviceLimits { let mut limits = DeviceLimits::default(); limits.max_transmission_unit = 1500; - limits.max_burst_size = Some(RX_BUFFERS.len() - 1); + limits.max_burst_size = Some(RX_BUFFERS.len()); limits }