summary refs log tree commit diff stats
path: root/include/standard-headers/linux/virtio_net.h
diff options
context:
space:
mode:
authorThomas Huth <thuth@redhat.com>2023-09-12 11:24:40 +0200
committerThomas Huth <thuth@redhat.com>2023-09-12 11:34:56 +0200
commitda3c22c74a3c6cbd26df40b2f6798a2d41be80ac (patch)
tree9e6945808b9c91a9e0df6a8bae1aefb2a054d3f5 /include/standard-headers/linux/virtio_net.h
parentef1535901a07f2e49fa25c8bcee7f0b73801d824 (diff)
downloadfocaccia-qemu-da3c22c74a3c6cbd26df40b2f6798a2d41be80ac.tar.gz
focaccia-qemu-da3c22c74a3c6cbd26df40b2f6798a2d41be80ac.zip
linux-headers: Update to Linux v6.6-rc1
This update contains the required header changes for the
"target/s390x: AP-passthrough for PV guests" patch from
Steffen Eiden.

Message-ID: <20230912093432.180041-1-thuth@redhat.com>
Signed-off-by: Thomas Huth <thuth@redhat.com>
Diffstat (limited to 'include/standard-headers/linux/virtio_net.h')
-rw-r--r--include/standard-headers/linux/virtio_net.h14
1 files changed, 14 insertions, 0 deletions
diff --git a/include/standard-headers/linux/virtio_net.h b/include/standard-headers/linux/virtio_net.h
index 2325485f2c..0f88417742 100644
--- a/include/standard-headers/linux/virtio_net.h
+++ b/include/standard-headers/linux/virtio_net.h
@@ -56,6 +56,7 @@
 #define VIRTIO_NET_F_MQ	22	/* Device supports Receive Flow
 					 * Steering */
 #define VIRTIO_NET_F_CTRL_MAC_ADDR 23	/* Set MAC address */
+#define VIRTIO_NET_F_VQ_NOTF_COAL 52	/* Device supports virtqueue notification coalescing */
 #define VIRTIO_NET_F_NOTF_COAL	53	/* Device supports notifications coalescing */
 #define VIRTIO_NET_F_GUEST_USO4	54	/* Guest can handle USOv4 in. */
 #define VIRTIO_NET_F_GUEST_USO6	55	/* Guest can handle USOv6 in. */
@@ -391,5 +392,18 @@ struct virtio_net_ctrl_coal_rx {
 };
 
 #define VIRTIO_NET_CTRL_NOTF_COAL_RX_SET		1
+#define VIRTIO_NET_CTRL_NOTF_COAL_VQ_SET		2
+#define VIRTIO_NET_CTRL_NOTF_COAL_VQ_GET		3
+
+struct virtio_net_ctrl_coal {
+	uint32_t max_packets;
+	uint32_t max_usecs;
+};
+
+struct  virtio_net_ctrl_coal_vq {
+	uint16_t vqn;
+	uint16_t reserved;
+	struct virtio_net_ctrl_coal coal;
+};
 
 #endif /* _LINUX_VIRTIO_NET_H */