All of lore.kernel.org
 help / color / mirror / Atom feed
* [virtio-dev] [PATCH v3] virtio-net: Mention VIRTIO_NET_F_HASH_REPORT dependency on VIRTIO_NET_F_CTRL_VQ
@ 2023-02-06  8:02 Alvaro Karsz
  2023-02-06 22:02 ` [virtio-comment] " Parav Pandit
                   ` (2 more replies)
  0 siblings, 3 replies; 13+ messages in thread
From: Alvaro Karsz @ 2023-02-06  8:02 UTC (permalink / raw)
  To: virtio-comment, virtio-dev; +Cc: jasowang, mst, Alvaro Karsz

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 should be negotiated.

---
v2: Use SHOULD instead of Feature bit requirement, version 1.2 is already
    out and doesn't include this depencency.

v3: Explain the dependency in a less confusing way.

Signed-off-by: Alvaro Karsz <alvaro.karsz@solid-run.com>

 device-types/net/description.tex | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/device-types/net/description.tex b/device-types/net/description.tex
index 700a1cb..1741c79 100644
--- a/device-types/net/description.tex
+++ b/device-types/net/description.tex
@@ -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 NOT offer VIRTIO_NET_F_HASH_REPORT if it
+does not offer VIRTIO_NET_F_CTRL_VQ.
+
 \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,9 @@ \subsection{Device configuration layout}\label{sec:Device Types / Network Device
 SHOULD re-read \field{speed} and \field{duplex} after a
 configuration change notification.
 
+A driver SHOULD NOT negotiate VIRTIO_NET_F_HASH_REPORT if it
+does not negotiate 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
-- 
2.34.1


---------------------------------------------------------------------
To unsubscribe, e-mail: virtio-dev-unsubscribe@lists.oasis-open.org
For additional commands, e-mail: virtio-dev-help@lists.oasis-open.org


^ permalink raw reply related	[flat|nested] 13+ messages in thread

end of thread, other threads:[~2023-02-20 14:25 UTC | newest]

Thread overview: 13+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-02-06  8:02 [virtio-dev] [PATCH v3] virtio-net: Mention VIRTIO_NET_F_HASH_REPORT dependency on VIRTIO_NET_F_CTRL_VQ Alvaro Karsz
2023-02-06 22:02 ` [virtio-comment] " Parav Pandit
2023-02-07  7:54   ` Alvaro Karsz
2023-02-07 14:12   ` [virtio-comment] " Michael S. Tsirkin
2023-02-08 10:42     ` [virtio-dev] " Alvaro Karsz
2023-02-10 11:38 ` Alvaro Karsz
2023-02-10 18:42   ` [virtio-dev] " Parav Pandit
2023-02-11  9:12     ` Alvaro Karsz
2023-02-11 14:03       ` Parav Pandit
2023-02-12  9:38         ` Michael S. Tsirkin
2023-02-14  0:50           ` [virtio-comment] " Parav Pandit
2023-02-20 14:21 ` [virtio-dev] " Cornelia Huck
2023-02-20 14:25   ` Alvaro Karsz

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.