Skip to content

feat(network): support multi-queue TAP devices - #894

Open
Rucha0901 wants to merge 1 commit into
urunc-dev:mainfrom
Rucha0901:feat/multi-queue-tap-support
Open

feat(network): support multi-queue TAP devices#894
Rucha0901 wants to merge 1 commit into
urunc-dev:mainfrom
Rucha0901:feat/multi-queue-tap-support

Conversation

@Rucha0901

Copy link
Copy Markdown

Description

This PR adds multi-queue TAP device support for high-throughput container networking scenarios when running with QEMU and Cloud Hypervisor.

Key changes:

  • Added urunc.io/net-queues annotation support and net_queues field in monitor configuration.
  • Modified createTapDevice to allocate multiple queue file descriptors and set netlink.TUNTAP_MULTI_QUEUE flag when queues > 1.
  • Updated TAP ownership and permissions (TUNSETOWNER, TUNSETGROUP) across all allocated queue FDs.
  • Propagated queue parameters to QEMU (-netdev tap,...,queues=N and virtio-net mq=on,vectors=2N+2) and Cloud Hypervisor (--net tap=...,num_queues=N).

Related issues

How was this tested?

  • Ran unit tests (make unittest) covering multi-queue parameter propagation in QEMU, Cloud Hypervisor, and urunc config.
  • Verified compilation across supported packages.

LLM usage

  • N/A

Checklist

  • I have read the contribution guide.
  • The linter passes locally (make lint).
  • The e2e tests of at least one tool pass locally.
  • If LLMs were used: I have read the llm policy.

Introduce multi-queue TAP device support for high-throughput container
networking scenarios when using QEMU and Cloud Hypervisor.

- Add urunc.io/net-queues annotation and net_queues config parsing
- Update createTapDevice to set multiqueue flags and multi-FD setup
- Propagate queue parameters to QEMU and Cloud Hypervisor CLI builders

Fixes: urunc-dev#893
Signed-off-by: Rucha0901 <imt_2025071@iiitm.ac.in>
@netlify

netlify Bot commented Aug 3, 2026

Copy link
Copy Markdown

Deploy Preview for urunc ready!

Name Link
🔨 Latest commit 18c1188
🔍 Latest deploy log https://app.netlify.com/projects/urunc/deploys/6a70d21790094d0008a7a0de
😎 Deploy Preview https://deploy-preview-894--urunc.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

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.

Multi-Queue TAP Device Support for High-Throughput Networking

1 participant