[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [PATCH v5] virtio-net: dynamic network offloads configu
From: |
Paolo Bonzini |
Subject: |
Re: [Qemu-devel] [PATCH v5] virtio-net: dynamic network offloads configuration |
Date: |
Mon, 20 May 2013 12:52:57 +0200 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/20130311 Thunderbird/17.0.4 |
Il 20/05/2013 10:18, Michael S. Tsirkin ha scritto:
> diff --git a/include/hw/virtio/virtio-net.h b/include/hw/virtio/virtio-net.h
> index beeead7..b315ac9 100644
> --- a/include/hw/virtio/virtio-net.h
> +++ b/include/hw/virtio/virtio-net.h
> @@ -31,6 +31,8 @@
> /* The feature bitmap for virtio net */
> #define VIRTIO_NET_F_CSUM 0 /* Host handles pkts w/ partial csum
> */
> #define VIRTIO_NET_F_GUEST_CSUM 1 /* Guest handles pkts w/ partial
> csum */
> +#define VIRTIO_NET_F_CTRL_GUEST_OFFLOADS 2 /* Control channel offload
> + * configuration support */
Any reason not to use 22?
Is there any hidden reason why bits 2..4 are not used in the spec?
Paolo