ethox icon indicating copy to clipboard operation
ethox copied to clipboard

Padding of small Ethernet frames

Open ackxolotl opened this issue 6 years ago • 2 comments

Small Ethernet frames (i.e. smaller than 42/46 bytes) should perhaps be padded to the minimum frame length:

https://en.wikipedia.org/wiki/Ethernet_frame#Payload

ackxolotl avatar Jul 29 '19 15:07 ackxolotl

Is there any interface that requires the stack to perform the padding?

On a real NIC the driver would be expected to pad the packet (ixy.rs enables padding in hardware)

emmericp avatar Aug 06 '19 11:08 emmericp

Me and @ackxolotl talked about that already and reached the same conclusion, ie. that the nic would be expected to pad automatically. However, it could be desirable to make that transformation in the stack similar to checksums. Might want to change the label to enhancement to reflect this.

197g avatar Aug 06 '19 13:08 197g