Skip to content

Padding of small Ethernet frames #12

Open
@ackxolotl

Description

@ackxolotl

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

Activity

emmericp

emmericp commented on Aug 6, 2019

@emmericp
Contributor

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)

HeroicKatora

HeroicKatora commented on Aug 6, 2019

@HeroicKatora
Owner

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.

added
enhancementNew feature or request
and removed
bugSomething isn't working
on Sep 25, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      Padding of small Ethernet frames · Issue #12 · HeroicKatora/ethox