virtio-net: Mention that VIRTIO_NET_F_HASH_REPORT requires VIRTIO_NET_F_CTRL_VQ
PATCH 1/1 virtio-net: Mention that VIRTIO_NET_F_HASH_REPORT requires VIRTIO_NET_F_CTRL_VQ
If the VIRTIO_NET_F_HASH_REPORT feature is negotiated, the driver may send VIRTIO_NET_CTRL_MQ_HASH_CONFIG commands, thus, the control VQ feature must be negotiated.
--- device-types/net/description.tex | 1 + 1 file changed, 1 insertion(+)
device-types/net/description.tex +1 -0
@@ -139,6 +139,7 @@ \subsubsection{Feature bit requirements}\label{sec:Device Types / Network Device \item[VIRTIO_NET_F_NOTF_COAL] Requires VIRTIO_NET_F_CTRL_VQ. \item[VIRTIO_NET_F_RSC_EXT] Requires VIRTIO_NET_F_HOST_TSO4 or VIRTIO_NET_F_HOST_TSO6. \item[VIRTIO_NET_F_RSS] Requires VIRTIO_NET_F_CTRL_VQ. +\item[VIRTIO_NET_F_HASH_REPORT] Requires VIRTIO_NET_F_CTRL_VQ. \end{description} \subsubsection{Legacy Interface: Feature bits}\label{sec:Device Types / Network Device / Feature bits / Legacy Interface: Feature bits}
Signature · 6 lines
2.34.1 --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
Quoted 5 lines · Alvaro Karsz
If the
VIRTIO_NET_F_HASH_REPORTfeature is negotiated, the driver may sendVIRTIO_NET_CTRL_MQ_HASH_CONFIGcommands, thus, the control VQ feature must be negotiated.Signed-off-by Alvaro Karsz <[email protected]>
Unfortunately we did not make this a dependency in 1.2.
So we can make it a SHOULD but not a MUST.
Quoted 23 lines
--- device-types/net/description.tex | 1 + 1 file changed, 1 insertion(+)device-types/net/description.tex +1
-0@@ -139,6 +139,7 @@ \subsubsection{Feature bit requirements}\label{sec:Device Types / Network Device \item[VIRTIO_NET_F_NOTF_COAL] Requires VIRTIO_NET_F_CTRL_VQ. \item[VIRTIO_NET_F_RSC_EXT] Requires VIRTIO_NET_F_HOST_TSO4 or VIRTIO_NET_F_HOST_TSO6. \item[VIRTIO_NET_F_RSS] Requires VIRTIO_NET_F_CTRL_VQ. +\item[VIRTIO_NET_F_HASH_REPORT] Requires VIRTIO_NET_F_CTRL_VQ. \end{description} \subsubsection{Legacy Interface: Feature bits}\label{sec:Device Types / Network Device / Feature bits / Legacy Interface: Feature bits}Signature · 6 lines
2.34.1 --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
This publicly archived list offers a means to provide input to the OASIS Virtual I/O Device (VIRTIO) TC.
In order to verify user consent to the Feedback License terms and to minimize spam in the list archive, subscription is required before posting.
Subscribe: [email protected]
Unsubscribe: [email protected]
List help: [email protected]
List archive: https://lists.oasis-open.org/archives/virtio-comment/
Feedback License: https://www.oasis-open.org/who/ipr/feedback_license.pdf
List Guidelines: https://www.oasis-open.org/policies-guidelines/mailing-lists
Committee: https://www.oasis-open.org/committees/virtio/
Join OASIS: https://www.oasis-open.org/join/
PATCH v2 1/1 virtio-net: Mention VIRTIO_NET_F_HASH_REPORT dependency on VIRTIO_NET_F_CTRL_VQ
In reply to Alvaro KarszIf the VIRTIO_NET_F_HASH_REPORT feature is negotiated, the driver may send VIRTIO_NET_CTRL_MQ_HASH_CONFIG commands, thus, the control VQ feature should be negotiated.
---
v2: Use SHOULD instead of Feature bit requirement, version 1.2 is already
out and doesn't include this depencency.
device-types/net/description.tex | 5 +++++ 1 file changed, 5 insertions(+)
device-types/net/description.tex +5 -0
@@ -256,6 +256,9 @@ \subsection{Device configuration layout}\label{sec:Device Types / Network Device \field{duplex} fields as long as VIRTIO_NET_S_LINK_UP is set in the \field{status}. +The device SHOULD offer VIRTIO_NET_F_HASH_REPORT only if it offers +VIRTIO_NET_F_CTRL_VQ as well. + \drivernormative{\subsubsection}{Device configuration layout}{Device Types / Network Device / Device configuration layout} A driver SHOULD negotiate VIRTIO_NET_F_MAC if the device offers it.
@@ -289,6 +292,8 @@ \subsection{Device configuration layout}\label{sec:Device Types / Network Device SHOULD re-read \field{speed} and \field{duplex} after a configuration change notification. +The driver SHOULD negotiate VIRTIO_NET_F_HASH_REPORT only if it negotiates VIRTIO_NET_F_CTRL_VQ. + \subsubsection{Legacy Interface: Device configuration layout}\label{sec:Device Types / Network Device / Device configuration layout / Legacy Interface: Device configuration layout} \label{sec:Device Types / Block Device / Feature bits / Device configuration layout / Legacy Interface: Device configuration layout} When using the legacy interface, transitional devices and drivers
Signature · 6 lines
2.34.1 --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
[virtio-dev] Re: [PATCH v2] virtio-net: Mention VIRTIO_NET_F_HASH_REPORT dependency on VIRTIO_NET_F_CTRL_VQ
Quoted 18 lines · Alvaro Karsz
If the
VIRTIO_NET_F_HASH_REPORTfeature is negotiated, the driver may sendVIRTIO_NET_CTRL_MQ_HASH_CONFIGcommands, thus, the control VQ feature should be negotiated.---
v2: Use SHOULD instead of Feature bit requirement, version 1.2 is already
out and doesn't include this depencency.Signed-off-by Alvaro Karsz <[email protected]>device-types/net/description.tex | 5 +++++ 1 file changed, 5 insertions(+)device-types/net/description.tex +0
-0
device-types/net/description.tex \subsection{Device configuration layout}\label{sec:Device Types / Network Device · line 261
Quoted 6 lines
device-types/net/description.tex +3
-0@@ -256,6 +256,9 @@ \subsection{Device configuration layout}\label{sec:Device Types / Network Device \field{duplex} fields as long as VIRTIO_NET_S_LINK_UP is set in the \field{status}. +The device SHOULD offer VIRTIO_NET_F_HASH_REPORT only if it offers +VIRTIO_NET_F_CTRL_VQ as well. +
That only is confusing. Either say if A then B or if not A then not be.
device-types/net/description.tex \subsection{Device configuration layout}\label{sec:Device Types / Network Device · line 296
Quoted 9 lines
device-types/net/description.tex +2
-0\drivernormative{\subsubsection}{Device configuration layout}{Device Types / Network Device / Device configuration layout} A driver SHOULD negotiate VIRTIO_NET_F_MAC if the device offers it.@@ -289,6 +292,8 @@ \subsection{Device configuration layout}\label{sec:Device Types / Network Device SHOULD re-read \field{speed} and \field{duplex} after a configuration change notification. +The driver SHOULD negotiate VIRTIO_NET_F_HASH_REPORT only if it negotiates VIRTIO_NET_F_CTRL_VQ. +
Same.
Quoted 5 lines
device-types/net/description.tex +0
-0\subsubsection{Legacy Interface: Device configuration layout}\label{sec:Device Types / Network Device / Device configuration layout / Legacy Interface: Device configuration layout} \label{sec:Device Types / Block Device / Feature bits / Device configuration layout / Legacy Interface: Device configuration layout} When using the legacy interface, transitional devices and driversSignature · 1 line
2.34.1
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]