All of lore.kernel.org
 help / color / mirror / Atom feed
* [virtio-dev] [PATCH] content: Introduce VIRTIO_NET_F_STANDBY feature
@ 2018-07-19 21:29 Sridhar Samudrala
  2018-07-20  7:44 ` Cornelia Huck
  2018-07-20  8:41 ` Siwei Liu
  0 siblings, 2 replies; 8+ messages in thread
From: Sridhar Samudrala @ 2018-07-19 21:29 UTC (permalink / raw)
  To: mst, virtio-dev; +Cc: Sridhar, "Samudrala <sridhar.samudrala"

VIRTIO_NET_F_STANDBY feature enables hypervisor to indicate virtio_net
driver to act as a standby for another device with the same MAC address.

Signed-off-by: Sridhar Samudrala <sridhar.samudrala@intel.com
---
 content.tex | 10 ++++++++++
 1 file changed, 10 insertions(+)

diff --git a/content.tex b/content.tex
index be18234..010b6ee 100644
--- a/content.tex
+++ b/content.tex
@@ -2525,6 +2525,9 @@ features.
 
 \item[VIRTIO_NET_F_CTRL_MAC_ADDR(23)] Set MAC address through control
     channel.
+
+\item[VIRTIO_NET_F_STANDBY(62)] Driver acts as standby for another
+    device with the same MAC
 \end{description}
 
 \subsubsection{Feature bit requirements}\label{sec:Device Types / Network Device / Feature bits / Feature bit requirements}
@@ -2636,6 +2639,13 @@ If the driver negotiates VIRTIO_NET_F_MTU, it MUST NOT transmit packets of
 size exceeding the value of \field{mtu} (plus low level ethernet header length)
 with \field{gso_type} NONE or ECN.
 
+A driver SHOULD negotiate VIRTIO_NET_F_STANDBY feature if the device offers it.
+
+If the driver negotiates VIRTIO_NET_F_STANDBY, it should act as a standby for
+another device with the same MAC address when available. The hypervisor can
+hot-plug a primary device with same MAC address if the feature is successfully
+negotiated with the driver.
+
 \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.14.4


---------------------------------------------------------------------
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] 8+ messages in thread

end of thread, other threads:[~2018-07-23  9:31 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-07-19 21:29 [virtio-dev] [PATCH] content: Introduce VIRTIO_NET_F_STANDBY feature Sridhar Samudrala
2018-07-20  7:44 ` Cornelia Huck
2018-07-22 15:37   ` Michael S. Tsirkin
2018-07-23  9:03     ` Cornelia Huck
2018-07-23  9:22       ` Michael S. Tsirkin
2018-07-23  9:30         ` Cornelia Huck
2018-07-20  8:41 ` Siwei Liu
2018-07-20  9:14   ` Cornelia Huck

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.