summaryrefslogtreecommitdiff
path: root/drivers/net/virtio_net.c
diff options
context:
space:
mode:
authorMichael S. Tsirkin <mst@redhat.com>2014-10-24 01:32:24 +0400
committerMichael S. Tsirkin <mst@redhat.com>2014-12-09 13:05:28 +0300
commit9465a7a6f12c2b5315c4070e50209a3b04eaf224 (patch)
treec38dd5edf330d78d4065d86225b5299300f036a8 /drivers/net/virtio_net.c
parent7e93a02fecea38e40083e82ac9b46b2477fa365e (diff)
downloadlinux-9465a7a6f12c2b5315c4070e50209a3b04eaf224.tar.xz
virtio_net: enable v1.0 support
Now that we have completed 1.0 support, enable it in our driver. Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Diffstat (limited to 'drivers/net/virtio_net.c')
-rw-r--r--drivers/net/virtio_net.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/net/virtio_net.c b/drivers/net/virtio_net.c
index b8bd7191572d..9ab3c50cab76 100644
--- a/drivers/net/virtio_net.c
+++ b/drivers/net/virtio_net.c
@@ -2004,6 +2004,7 @@ static unsigned int features[] = {
VIRTIO_NET_F_GUEST_ANNOUNCE, VIRTIO_NET_F_MQ,
VIRTIO_NET_F_CTRL_MAC_ADDR,
VIRTIO_F_ANY_LAYOUT,
+ VIRTIO_F_VERSION_1,
};
static struct virtio_driver virtio_net_driver = {