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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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 tap device if supported and allow setting
> > > UFO on virtio-net in the guest.
> > 
> > Hmm, we really need to detect whether the host has tuntap UFO support
> > before advertising it to the guest. Maybe in net_tap_fd_init() we should
> > toggle TUN_F_UFO back and forth and check for EINVAL?
> 
> Sure. Here is an updated patch that checks for UFO support in host.

Looks good to me, thanks

Acked-by: Mark McLoughlin <markmc@xxxxxxxxxx>

Cheers,
Mark.

--
To unsubscribe from this list: send the line "unsubscribe kvm" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [KVM ARM]     [KVM ia64]     [KVM ppc]     [Virtualization Tools]     [Spice Development]     [Libvirt]     [Libvirt Users]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite Questions]     [Linux Kernel]     [Linux SCSI]     [XFree86]
  Powered by Linux