content: document SR-IOV driver requirements
PATCH v3 1/1 content: document SR-IOV driver requirements
Document the driver requirements for the VIRTIO_F_SR_IOV feature bit.
---
v2:
- Fix the commit message (MST);
- Improve the wording (MST);
- Drop unnecessary parts (MST);
v3:
- status -> device status (MST);
content.tex | 15 +++++++++++++++ 1 file changed, 15 insertions(+)
content.tex +15 -0
@@ -5387,6 +5387,21 @@ A driver SHOULD accept VIRTIO_F_IO_BARRIER if it is offered. If VIRTIO_F_IO_BARRIER has been negotiated, a driver MUST use the barriers suitable for hardware devices. +If VIRTIO_F_SR_IOV has been negotiated, a driver MAY enable +virtual functions through the device's PCI SR-IOV capability +structure. A driver MUST NOT negotiate VIRTIO_F_SR_IOV if +the device does not have a PCI SR-IOV capability structure +or is not a PCI device. A driver MUST negotiate +VIRTIO_F_SR_IOV and complete the feature negotiation +(including checking the FEATURES_OK \field{device status} +bit) before enabling virtual functions through the device's +PCI SR-IOV capability structure. After once successfully +negotiating VIRTIO_F_SR_IOV, the driver MAY enable virtual +functions through the device's PCI SR-IOV capability +structure even if the device or the system has been fully +or partially reset, and even without re-negotiating +VIRTIO_F_SR_IOV after the reset. + \devicenormative{\section}{Reserved Feature Bits}{Reserved Feature Bits} A device MUST offer VIRTIO_F_VERSION_1. A device MAY fail to operate further
Signature · 6 lines
2.17.0 --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
Quoted 34 lines · On Tue, 12 Jun 2018 13:18:00 +0800 Tiwei Bie <[email protected]> wrote:
Document the driver requirements for the
VIRTIO_F_SR_IOVfeature bit.Suggested-by Michael S. Tsirkin <[email protected]>Signed-off-by Tiwei Bie <[email protected]>---
v2:
- Fix the commit message (MST);
- Improve the wording (MST);
- Drop unnecessary parts (MST);v3:
- status -> device status (MST);content.tex | 15 +++++++++++++++ 1 file changed, 15 insertions(+)content.tex +8
-0@@ -5387,6 +5387,21 @@ A driver SHOULD accept VIRTIO_F_IO_BARRIER if it is offered. If VIRTIO_F_IO_BARRIER has been negotiated, a driver MUST use the barriers suitable for hardware devices. +If VIRTIO_F_SR_IOV has been negotiated, a driver MAY enable +virtual functions through the device's PCI SR-IOV capability +structure. A driver MUST NOT negotiate VIRTIO_F_SR_IOV if +the device does not have a PCI SR-IOV capability structure +or is not a PCI device. A driver MUST negotiate +VIRTIO_F_SR_IOV and complete the feature negotiation +(including checking the FEATURES_OK \field{device status} +bit) before enabling virtual functions through the device's
content.tex A driver SHOULD accept VIRTIO_F_IO_BARRIER if it is offered. · line 5407
Quoted 10 lines
content.tex +7
-0+PCI SR-IOV capability structure. After once successfully +negotiating VIRTIO_F_SR_IOV, the driver MAY enable virtual +functions through the device's PCI SR-IOV capability +structure even if the device or the system has been fully +or partially reset, and even without re-negotiating +VIRTIO_F_SR_IOV after the reset. + \devicenormative{\section}{Reserved Feature Bits}{Reserved Feature Bits} A device MUST offer VIRTIO_F_VERSION_1. A device MAY fail to operate further
I still think we should mention somewhere that this "enable just once" mechanism is useful for e.g. resuming; but this is fine as-is.
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
Quoted 12 lines · Tiwei Bie
Document the driver requirements for the
VIRTIO_F_SR_IOVfeature bit.Suggested-by Michael S. Tsirkin <[email protected]>Signed-off-by Tiwei Bie <[email protected]>---
v2:
- Fix the commit message (MST);
- Improve the wording (MST);
- Drop unnecessary parts (MST);
Quoted 5 lines
v3:
- status -> device status (MST);content.tex | 15 +++++++++++++++ 1 file changed, 15 insertions(+)
Please start the voting on this proposal. Thanks!
Best regards,
Tiwei Bie
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
Quoted 16 lines · Tiwei Bie
Quoted 15 lines · Tiwei Bie
Document the driver requirements for the
VIRTIO_F_SR_IOVfeature bit.Suggested-by Michael S. Tsirkin <[email protected]>Signed-off-by Tiwei Bie <[email protected]>---
v2:
- Fix the commit message (MST);
- Improve the wording (MST);
- Drop unnecessary parts (MST);v3:
- status -> device status (MST);
Quoted 7 lines
Quoted 2 lines
content.tex | 15 +++++++++++++++ 1 file changed, 15 insertions(+)Please start the voting on this proposal. Thanks!
Best regards,
Tiwei Bie
Sure. Given conferences I think we'll do a 3 week voting period.
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]