forked from M-Labs/artiq
firmware: reduce ethmac maximum burst size by one.
Empirically, this much reduces packet loss. I'm not really sure why, but it seems safe to do the change.
This commit is contained in:
parent
c0eb2ad0b7
commit
2231b16e0a
|
@ -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());
|
||||
limits.max_burst_size = Some(RX_BUFFERS.len() - 1);
|
||||
limits
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue