|
From: | Luke Gorrie |
Subject: | Re: [Qemu-devel] snabbswitch integration with QEMU for userspace ethernet I/O |
Date: | Tue, 28 May 2013 12:10:50 +0200 |
vhost_net is about connecting the a virtio-net speaking process to atun-like device. The problem you are trying to solve is connecting a
virtio-net speaking process to Snabb Switch.
Either you need to replace vhost or you need a tun-like device
interface.
Replacing vhost would mean that your switch implements virtio-net,
shares guest RAM with the guest, and shares the ioeventfd and irqfd
which are used to signal with the guest.
At that point your switch is similar to the virtio-net data plane work that Ping Fan Liu is working
on but your switch is in a separate process rather than a thread.
How does your switch talk to hardware? If you have userspace NIC
drivers that bypass the Linux network stack then the approach I
mentioned fits well.
[Prev in Thread] | Current Thread | [Next in Thread] |