Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

gnu_linux: MMAP cannot handle properly VLANs (including MTU) #9

Open
msune opened this issue May 14, 2014 · 2 comments
Open

gnu_linux: MMAP cannot handle properly VLANs (including MTU) #9

msune opened this issue May 14, 2014 · 2 comments

Comments

@msune
Copy link
Contributor

msune commented May 14, 2014

There seems to be two different issues with PF_PACKET TX/RX rings:

  • There is no proper way to recover the ether_type of the original frame from the struct tpacket2_hdr, so only 0x8100 can be assumed
  • TX ring does not handle properly MTU with VLANs; e.g. with an MTU of 1500, only up to 1514 packets are accepted instead of 1518.
@msune msune added bug labels May 14, 2014
@msune msune changed the title ioport_mmap cannot handle properly VLANs (including MTU) gnu_linux::ioport_mmap cannot handle properly VLANs (including MTU) May 14, 2014
@msune msune added this to the Unscheduled milestone May 21, 2014
@msune msune added the wontfix label May 21, 2014
@msune
Copy link
Contributor Author

msune commented May 21, 2014

Marking as won't fix, as apparently there is no proper way of doing it in PACKET_MMAP. Leaving issue open for reference.

@msune
Copy link
Contributor Author

msune commented Mar 1, 2015

msune pushed a commit to msune/xdpd that referenced this issue May 12, 2015
@msune msune changed the title gnu_linux::ioport_mmap cannot handle properly VLANs (including MTU) gnu_linux:: MMAP cannot handle properly VLANs (including MTU) Jul 28, 2015
@msune msune changed the title gnu_linux:: MMAP cannot handle properly VLANs (including MTU) gnu_linux: MMAP cannot handle properly VLANs (including MTU) Jul 28, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant