]> git.proxmox.com Git - qemu.git/commit
virtio-net: enable mrg buf header in tap on linux
authorMichael S. Tsirkin <mst@redhat.com>
Mon, 24 Sep 2012 19:05:03 +0000 (21:05 +0200)
committerMichael S. Tsirkin <mst@redhat.com>
Mon, 29 Oct 2012 16:25:23 +0000 (18:25 +0200)
commitff3a8066e651230d255e6eea340e2d48e7da4aeb
tree0283914ee59ad2cd61ea53694d1b467109dcdc5f
parent6e371ab867d48c16e6a9ee32cefcea48692a4deb
virtio-net: enable mrg buf header in tap on linux

Modern linux supports arbitrary header size,
which makes it possible to pass mrg buf header
to tap directly without iovec mangling.
Use this capability when it is there.

This removes the need to deal with it in
vhost-net as we do now.

Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
hw/vhost_net.c
hw/virtio-net.c