Skip to contentSkip to conversation

virtio: update the comments for transport features

PATCH Superseded Tiwei Bie 2 participants 3 messages Jun 1, 2018 – Jun 7, 2018 virtio core

lore
Share & tools
lore

Tiwei Bie

author
#0 lore raw

PATCH v3 1/1 virtio: update the comments for transport features

The existing comments for transport features are outdated. So update them to address the latest changes in the spec.

---
This patch is generated on top of below patch:
https://lists.oasis-open.org/archives/virtio-dev/201805/msg00212.html

v3:
- Fix a typo in the commit message (Cornelia);

v2:
- Improve the comments (Cornelia);
- Improve the commit message;

 include/uapi/linux/virtio_config.h | 9 ++++++---
 1 file changed, 6 insertions(+), 3 deletions(-)
include/uapi/linux/virtio_config.h +6 -3
index b7c1f4e7d59e..449132c76b1c 100644
@@ -45,9 +45,12 @@
 /* We've given up on this device. */
 #define VIRTIO_CONFIG_S_FAILED		0x80
 
-/* Some virtio feature bits (currently bits 28 through 32) are reserved for the
- * transport being used (eg. virtio_ring), the rest are per-device feature
- * bits. */
+/*
+ * Virtio feature bits VIRTIO_TRANSPORT_F_START through
+ * VIRTIO_TRANSPORT_F_END are reserved for the transport
+ * being used (e.g. virtio_ring, virtio_pci etc.), the
+ * rest are per-device feature bits.
+ */
 #define VIRTIO_TRANSPORT_F_START	28
 #define VIRTIO_TRANSPORT_F_END		38
 
Signature · 1 line
2.17.0
Reviewed-by on v3 1/1
#1 lore raw
Quoted 13 lines · Tiwei Bie

The existing comments for transport features are outdated. So update them to address the latest changes in the spec.

---
This patch is generated on top of below patch:
https://lists.oasis-open.org/archives/virtio-dev/201805/msg00212.html

v3:
- Fix a typo in the commit message (Cornelia);

Quoted 6 lines

v2:
- Improve the comments (Cornelia);
- Improve the commit message;

 include/uapi/linux/virtio_config.h | 9 ++++++---
 1 file changed, 6 insertions(+), 3 deletions(-)

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

Reviewed-by on v3 1/1
#2 lore raw
In reply to Tiwei Bie
Quoted 13 lines · Tiwei Bie

The existing comments for transport features are outdated. So update them to address the latest changes in the spec.

---
This patch is generated on top of below patch:
https://lists.oasis-open.org/archives/virtio-dev/201805/msg00212.html

v3:
- Fix a typo in the commit message (Cornelia);

Quoted 6 lines

v2:
- Improve the comments (Cornelia);
- Improve the commit message;

 include/uapi/linux/virtio_config.h | 9 ++++++---
 1 file changed, 6 insertions(+), 3 deletions(-)