Skip to contentSkip to conversation

virtio: Add definition for VIRTIO_F_NOTIFICATION_DATA feature flag

PATCH Jason Wang 1 participant 1 message Feb 22, 2022 1 message not in the archive virtio core

lore
Share & tools
lore

A message that is not in the archive (sent off-list or not yet received): [email protected]

Jason Wang

author Acked-by
#1 lore raw
Quoted 7 lines · Eli Cohen

This is required by iproute2 to display the capabilities of a vdpa based virtio device.

v0 -> v1:
Avoid modifying mcdi_pcol.h

Quoted 20 lines
---
 include/uapi/linux/virtio_config.h | 6 ++++++
 1 file changed, 6 insertions(+)
include/uapi/linux/virtio_config.h +6 -1
index b5eda06f0d57..30eb76dcdcad 100644
@@ -92,4 +92,10 @@
  * Does the device support Single Root I/O Virtualization?
  */
 #define VIRTIO_F_SR_IOV                        37
+
+/* When negotiated, indicates that the driver can pass extra data beyond
+ * virtqueue identification when sending notifications
+ */
+#define VIRTIO_F_NOTIFICATION_DATA     38
+
 #endif /* _UAPI_LINUX_VIRTIO_CONFIG_H */
--
Quoted 2 lines

2.35.1

_______________________________________________
Virtualization mailing list
[email protected]
https://lists.linuxfoundation.org/mailman/listinfo/virtualization