Re: [RFCv2 00/12] Introduce host-side virtio queue and CAIF Virtio.
From: Rusty Russell <hidden>
Date: 2013-01-10 22:48:33
Also in:
virtualization
From: Rusty Russell <hidden>
Date: 2013-01-10 22:48:33
Also in:
virtualization
"Michael S. Tsirkin" [off-list ref] writes:
On Thu, Jan 10, 2013 at 09:00:55PM +1030, Rusty Russell wrote:quoted
Not sure why vhost/net doesn't built a packet and feed it in netif_rx_ni(). This is what tun seems to do, and with this code it should be fairly optimal.Because we want to use NAPI.
Not quite what I was asking; it was more a question of why we're using a raw socket, when we trivially have a complete skb already which we should be able to feed to Linux like any network packet. And that path is pretty well optimized... Cheers, Rusty.