mirror of https://github.com/m-labs/artiq.git
firmware: fix ethmac MTU value.
1500 is the maximum payload size, not maximum frame size.
This commit is contained in:
parent
737c1044a4
commit
20f43d5792
|
@ -25,7 +25,7 @@ impl Device for EthernetDevice {
|
|||
|
||||
fn limits(&self) -> DeviceLimits {
|
||||
let mut limits = DeviceLimits::default();
|
||||
limits.max_transmission_unit = 1500;
|
||||
limits.max_transmission_unit = 1514;
|
||||
limits.max_burst_size = Some(RX_BUFFERS.len());
|
||||
limits
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue