Re: [PATCH qemu-kvm] Enable UFO on virtio-net and tap devices

2009-10-13 Thread Marcelo Tosatti
On Fri, Oct 09, 2009 at 08:11:28AM +0100, Mark McLoughlin wrote: > On Thu, 2009-10-08 at 15:31 -0700, Sridhar Samudrala wrote: > > On Thu, 2009-10-08 at 11:07 +0100, Mark McLoughlin wrote: > > > On Wed, 2009-10-07 at 14:50 -0700, Sridhar Samudrala wrote: > > > > linux 2.6.32 includes UDP fragmentat

Re: [PATCH qemu-kvm] Enable UFO on virtio-net and tap devices

2009-10-09 Thread Mark McLoughlin
On Thu, 2009-10-08 at 15:31 -0700, Sridhar Samudrala wrote: > On Thu, 2009-10-08 at 11:07 +0100, Mark McLoughlin wrote: > > On Wed, 2009-10-07 at 14:50 -0700, Sridhar Samudrala wrote: > > > linux 2.6.32 includes UDP fragmentation offload support in software. > > > So we can enable UFO on the host

Re: [PATCH qemu-kvm] Enable UFO on virtio-net and tap devices

2009-10-08 Thread Sridhar Samudrala
On Thu, 2009-10-08 at 11:07 +0100, Mark McLoughlin wrote: > On Wed, 2009-10-07 at 14:50 -0700, Sridhar Samudrala wrote: > > linux 2.6.32 includes UDP fragmentation offload support in software. > > So we can enable UFO on the host tap device if supported and allow setting > > UFO on virtio-net in t

Re: [PATCH qemu-kvm] Enable UFO on virtio-net and tap devices

2009-10-08 Thread Mark McLoughlin
On Wed, 2009-10-07 at 14:50 -0700, Sridhar Samudrala wrote: > linux 2.6.32 includes UDP fragmentation offload support in software. > So we can enable UFO on the host tap device if supported and allow setting > UFO on virtio-net in the guest. Hmm, we really need to detect whether the host has tunt

[PATCH qemu-kvm] Enable UFO on virtio-net and tap devices

2009-10-07 Thread Sridhar Samudrala
linux 2.6.32 includes UDP fragmentation offload support in software. So we can enable UFO on the host tap device if supported and allow setting UFO on virtio-net in the guest. This improves UDP stream performance significantly between guest to host and inter-guest. TUN_F_UFO is a new #define add