Re: [libvirt] [PATCH] kvm/virtio: Set IFF_VNET_HDR when setting up tap fds

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

 



On Wed, Aug 13, 2008 at 03:53:27PM +0100, Mark McLoughlin wrote:
> By enabling this flag on the tap fds we create, we greatly increase
> the achievable throughput with virtio_net.
> 
> However, we need to be careful to only set the flag when a) KVM has
> support for this ABI and b) the value of the flag is queryable using
> the TUNGETIFF ioctl.

This suggests to me that QEMU should be a the one enabling this
flag, not libvirt. Its going to need todo this anyway for the
scenario where QEMU allocates the TAP fd, so it might as well
enable it for pre-allocated TAP fds passed in from external
apps.

Daniel
-- 
|: Red Hat, Engineering, London   -o-   http://people.redhat.com/berrange/ :|
|: http://libvirt.org  -o-  http://virt-manager.org  -o-  http://ovirt.org :|
|: http://autobuild.org       -o-         http://search.cpan.org/~danberr/ :|
|: GnuPG: 7D3B9505  -o-  F3C9 553F A1DA 4AC2 5648 23C1 B3DF F742 7D3B 9505 :|

--
Libvir-list mailing list
Libvir-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libvir-list

[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]