]> git.proxmox.com Git - mirror_qemu.git/commit - include/hw/i386/pc.h
virtio-net: dynamic network offloads configuration
authorDmitry Fleytman <dfleytma@redhat.com>
Mon, 20 May 2013 08:18:14 +0000 (11:18 +0300)
committerAnthony Liguori <aliguori@us.ibm.com>
Wed, 22 May 2013 12:40:10 +0000 (07:40 -0500)
commit644c98587d4ccc09e7592e1688e4e7fa363c5a75
tree48e373419e0ab0570d48778567194a827354cf49
parent2b220025993e76d4116781ca91a4fabc5ad9c722
virtio-net: dynamic network offloads configuration

Virtio-net driver currently negotiates network offloads
on startup via features mechanism and have no ability to
disable and re-enable offloads later.
This patch introduced a new control command that allows
to configure device network offloads state dynamically.
The patch also introduces a new feature flag
VIRTIO_NET_F_CTRL_GUEST_OFFLOADS.

Signed-off-by: Dmitry Fleytman <dfleytma@redhat.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Message-id: 20130520081814.GA8162@redhat.com
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
hw/net/virtio-net.c
include/hw/i386/pc.h
include/hw/virtio/virtio-net.h