summaryrefslogtreecommitdiffstats
path: root/include/uapi/linux/virtio_net.h
diff options
context:
space:
mode:
authorSridhar Samudrala2018-05-24 18:55:16 +0200
committerDavid S. Miller2018-05-29 04:59:54 +0200
commit9805069d14c1b0b66b1600ea60cfc08f94841bd8 (patch)
tree68c979334e224d34ea48a4ce465bf4fd4292c36e /include/uapi/linux/virtio_net.h
parentnet: Introduce net_failover driver (diff)
downloadkernel-qcow2-linux-9805069d14c1b0b66b1600ea60cfc08f94841bd8.tar.gz
kernel-qcow2-linux-9805069d14c1b0b66b1600ea60cfc08f94841bd8.tar.xz
kernel-qcow2-linux-9805069d14c1b0b66b1600ea60cfc08f94841bd8.zip
virtio_net: Introduce VIRTIO_NET_F_STANDBY feature bit
This feature bit can be used by hypervisor to indicate virtio_net device to act as a standby for another device with the same MAC address. VIRTIO_NET_F_STANDBY is defined as bit 62 as it is a device feature bit. Signed-off-by: Sridhar Samudrala <sridhar.samudrala@intel.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/uapi/linux/virtio_net.h')
-rw-r--r--include/uapi/linux/virtio_net.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/uapi/linux/virtio_net.h b/include/uapi/linux/virtio_net.h
index 5de6ed37695b..a3715a3224c1 100644
--- a/include/uapi/linux/virtio_net.h
+++ b/include/uapi/linux/virtio_net.h
@@ -57,6 +57,9 @@
* Steering */
#define VIRTIO_NET_F_CTRL_MAC_ADDR 23 /* Set MAC address */
+#define VIRTIO_NET_F_STANDBY 62 /* Act as standby for another device
+ * with the same MAC.
+ */
#define VIRTIO_NET_F_SPEED_DUPLEX 63 /* Device set linkspeed and duplex */
#ifndef VIRTIO_NET_NO_LEGACY