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

Add VIRTIO_NET_F_MRG_RXBUF to virtio-net #4658

Draft
wants to merge 10 commits into
base: main
Choose a base branch
from

Conversation

ShadowCurse
Copy link
Contributor

Changes

Add VIRTIO_NET_F_MRG_RXBUF to virtio-net

fixes: #1314

Reason

Better performance and guest memory utilization.

License Acceptance

By submitting this pull request, I confirm that my contribution is made under
the terms of the Apache 2.0 license. For more information on following Developer
Certificate of Origin and signing off your commits, please check
CONTRIBUTING.md.

PR Checklist

  • If a specific issue led to this PR, this PR closes the issue.
  • The description of changes is clear and encompassing.
  • Any required documentation changes (code and docs) are included in this
    PR.
  • API changes follow the Runbook for Firecracker API changes.
  • User-facing changes are mentioned in CHANGELOG.md.
  • All added/changed functionality is tested.
  • New TODOs link to an issue.
  • Commits meet
    contribution quality standards.

  • This functionality cannot be added in rust-vmm.

Add yet another function to convert numbers

Signed-off-by: Egor Lazarchuk <[email protected]>
@ShadowCurse ShadowCurse self-assigned this Jun 28, 2024
@ShadowCurse ShadowCurse force-pushed the net_mrg_buf branch 4 times, most recently from f183b2f to 0588bff Compare July 1, 2024 17:43
Add info about queue len and actual size to the
message.

Signed-off-by: Egor Lazarchuk <[email protected]>
Add method to use readv syscall to read
from the tap into iov.

Signed-off-by: Egor Lazarchuk <[email protected]>
These methods will be accessed by the next commit.

Signed-off-by: Egor Lazarchuk <[email protected]>
Add new path for virtio-net if VIRTIO_NET_F_MRG_RXBUF
feature is negotiated.

Signed-off-by: Egor Lazarchuk <[email protected]>
Signed-off-by: Egor Lazarchuk <[email protected]>
Signed-off-by: Egor Lazarchuk <[email protected]>
Signed-off-by: Egor Lazarchuk <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Virtio-net: implement support of VIRTIO_NET_F_MRG_RXBUF
1 participant