forked from M-Labs/artiq
1
0
Fork 0

Revert "firmware: reduce ethmac maximum burst size by one."

This reverts commit 2231b16e0a.

Only made a difference with TRACE log level to UART, i.e. only
because UART was the bottleneck.
This commit is contained in:
whitequark 2017-08-30 15:22:20 +00:00
parent 39ecbc0d68
commit f26e698f31
1 changed files with 1 additions and 1 deletions

View File

@ -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
}