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

virtio/net_device: Fix bug with mergeable rx buffers #935

Merged
merged 1 commit into from
Jul 13, 2016

Conversation

lukego
Copy link
Member

@lukego lukego commented Jun 8, 2016

Snabb could over-report the size of jumbo packets delivered to the VM under certain circumstances.

This was detected when using jumbo frames with VMs that were bootstrapped with nix. Could not be reproduced with Ubuntu guests.

I resisted the urge to refactor the virtio device code more because this will be faster and safer once we complete some related work with Hydra for testing many software combinations.

Snabb could over-report the size of jumbo packets delivered to the
VM under certain circumstances.
@wingo
Copy link
Contributor

wingo commented Jun 8, 2016

Interesting! Note that Igalia@df8e83c implies that this code is running in all cases, whether or not MRG_RXBUF is negotiated, if QEMU first negotiated to have MRG_RXBUF on.

@lukego
Copy link
Member Author

lukego commented Jun 10, 2016

I fast-tracked this change onto next to support @domenkozar's CI efforts i.e. to try and run the NFV test suite using VM images that were bootstrapped via Nix expressions. (The change is already landed on max-next.)

@eugeneia eugeneia merged commit 4eb21b6 into snabbco:master Jul 13, 2016
dpino added a commit to dpino/snabb that referenced this pull request Sep 12, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants