virtio: update the comments for transport features
PATCH 1/1 virtio: update the comments for transport features
---
This patch is generated on top of below patch:
https://lists.oasis-open.org/archives/virtio-dev/201805/msg00212.html
include/uapi/linux/virtio_config.h | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-)
include/uapi/linux/virtio_config.h +6 -3
@@ -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. */ +/* +* Some virtio feature bits (currently 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 · 6 lines
2.17.0 --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
Quoted 14 lines · On Fri, 1 Jun 2018 18:22:17 +0800 Tiwei Bie <[email protected]> wrote:
Suggested-by Michael S. Tsirkin <[email protected]>Signed-off-by Tiwei Bie <[email protected]>---
This patch is generated on top of below patch:
https://lists.oasis-open.org/archives/virtio-dev/201805/msg00212.htmlinclude/uapi/linux/virtio_config.h | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-)include/uapi/linux/virtio_config.h +0
-0
include/uapi/linux/virtio_config.h line 50
Quoted 9 lines
include/uapi/linux/virtio_config.h +3
-3@@ -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. */ +/* +* Some virtio feature bits (currently bits VIRTIO_TRANSPORT_F_START +* through VIRTIO_TRANSPORT_F_END) are reserved for the transport being
It will always be bits up to VIRTIO_TRANSPORT_F_END, no? So you can drop the "currently"?
Or reword as "Virtio feature bits VIRTIO_TRANSPORT_F_START through VIRTIO_TRANSPORT_F_END are reserved..."?
Quoted 6 lines
include/uapi/linux/virtio_config.h +3
-0+* 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
Quoted 14 lines · On Fri, 1 Jun 2018 18:22:17 +0800 Tiwei Bie <[email protected]> wrote:
Suggested-by Michael S. Tsirkin <[email protected]>Signed-off-by Tiwei Bie <[email protected]>---
This patch is generated on top of below patch:
https://lists.oasis-open.org/archives/virtio-dev/201805/msg00212.htmlinclude/uapi/linux/virtio_config.h | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-)include/uapi/linux/virtio_config.h +0
-0
include/uapi/linux/virtio_config.h line 50
Quoted 9 lines
include/uapi/linux/virtio_config.h +3
-3@@ -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. */ +/* +* Some virtio feature bits (currently bits VIRTIO_TRANSPORT_F_START +* through VIRTIO_TRANSPORT_F_END) are reserved for the transport being
It will always be bits up to VIRTIO_TRANSPORT_F_END, no? So you can drop the "currently"?
Or reword as "Virtio feature bits VIRTIO_TRANSPORT_F_START through VIRTIO_TRANSPORT_F_END are reserved..."?
Quoted 6 lines
include/uapi/linux/virtio_config.h +3
-0+* 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
Quoted 30 lines · Cornelia Huck
Quoted 14 lines · On Fri, 1 Jun 2018 18:22:17 +0800 Tiwei Bie <[email protected]> wrote:
Suggested-by Michael S. Tsirkin <[email protected]>Signed-off-by Tiwei Bie <[email protected]>---
This patch is generated on top of below patch:
https://lists.oasis-open.org/archives/virtio-dev/201805/msg00212.htmlinclude/uapi/linux/virtio_config.h | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-)include/uapi/linux/virtio_config.h +0
-0include/uapi/linux/virtio_config.h line 50
Quoted 9 lines
include/uapi/linux/virtio_config.h +3
-3@@ -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. */ +/* +* Some virtio feature bits (currently bits VIRTIO_TRANSPORT_F_START +* through VIRTIO_TRANSPORT_F_END) are reserved for the transport being It will always be bits up to
VIRTIO_TRANSPORT_F_END, no? So you can drop the "currently"?
Quoted 2 lines
Or reword as "Virtio feature bits
VIRTIO_TRANSPORT_F_STARTthroughVIRTIO_TRANSPORT_F_ENDare reserved..."?
I will do it. Thanks for the suggestion!
Best regards,
Tiwei Bie
Quoted 30 lines · Cornelia Huck
Quoted 14 lines · On Fri, 1 Jun 2018 18:22:17 +0800 Tiwei Bie <[email protected]> wrote:
Suggested-by Michael S. Tsirkin <[email protected]>Signed-off-by Tiwei Bie <[email protected]>---
This patch is generated on top of below patch:
https://lists.oasis-open.org/archives/virtio-dev/201805/msg00212.htmlinclude/uapi/linux/virtio_config.h | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-)include/uapi/linux/virtio_config.h +0
-0include/uapi/linux/virtio_config.h line 50
Quoted 9 lines
include/uapi/linux/virtio_config.h +3
-3@@ -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. */ +/* +* Some virtio feature bits (currently bits VIRTIO_TRANSPORT_F_START +* through VIRTIO_TRANSPORT_F_END) are reserved for the transport being It will always be bits up to
VIRTIO_TRANSPORT_F_END, no? So you can drop the "currently"?
Quoted 2 lines
Or reword as "Virtio feature bits
VIRTIO_TRANSPORT_F_STARTthroughVIRTIO_TRANSPORT_F_ENDare reserved..."?
I will do it. Thanks for the suggestion!
Best regards,
Tiwei Bie