summaryrefslogtreecommitdiffstats
path: root/include/standard-headers/linux/virtio_net.h
diff options
context:
space:
mode:
authorJason Wang2020-09-07 12:49:01 +0200
committerMichael S. Tsirkin2020-09-29 08:14:29 +0200
commite6546342a830e520d14ef03aa95677611de0d90c (patch)
treef38e8e0ec5e46909c0cea34b9bbefaf1852a965b /include/standard-headers/linux/virtio_net.h
parentMerge remote-tracking branch 'remotes/alistair/tags/pull-register-20200927' i... (diff)
downloadqemu-e6546342a830e520d14ef03aa95677611de0d90c.tar.gz
qemu-e6546342a830e520d14ef03aa95677611de0d90c.tar.xz
qemu-e6546342a830e520d14ef03aa95677611de0d90c.zip
linux headers: sync to 5.9-rc4
Update against Linux 5.9-rc4. Cc: Cornelia Huck <cohuck@redhat.com> Cc: Paolo Bonzini <pbonzini@redhat.com> Signed-off-by: Jason Wang <jasowang@redhat.com> Message-Id: <20200907104903.31551-2-jasowang@redhat.com> Reviewed-by: Michael S. Tsirkin <mst@redhat.com> Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Diffstat (limited to 'include/standard-headers/linux/virtio_net.h')
-rw-r--r--include/standard-headers/linux/virtio_net.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/include/standard-headers/linux/virtio_net.h b/include/standard-headers/linux/virtio_net.h
index a90f79e1b1..e0a070518f 100644
--- a/include/standard-headers/linux/virtio_net.h
+++ b/include/standard-headers/linux/virtio_net.h
@@ -87,14 +87,14 @@ struct virtio_net_config {
/* The config defining mac address (if VIRTIO_NET_F_MAC) */
uint8_t mac[ETH_ALEN];
/* See VIRTIO_NET_F_STATUS and VIRTIO_NET_S_* above */
- uint16_t status;
+ __virtio16 status;
/* Maximum number of each of transmit and receive queues;
* see VIRTIO_NET_F_MQ and VIRTIO_NET_CTRL_MQ.
* Legal values are between 1 and 0x8000
*/
- uint16_t max_virtqueue_pairs;
+ __virtio16 max_virtqueue_pairs;
/* Default maximum transmit unit advice */
- uint16_t mtu;
+ __virtio16 mtu;
/*
* speed, in units of 1Mb. All values 0 to INT_MAX are legal.
* Any other value stands for unknown.