diff options
author | Sridhar Samudrala <sridhar.samudrala@intel.com> | 2018-05-24 19:55:16 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2018-05-29 05:59:54 +0300 |
commit | 9805069d14c1b0b66b1600ea60cfc08f94841bd8 (patch) | |
tree | 68c979334e224d34ea48a4ce465bf4fd4292c36e /include/uapi/linux | |
parent | cfc80d9a11635404a40199a1c9471c96890f3f74 (diff) | |
download | linux-9805069d14c1b0b66b1600ea60cfc08f94841bd8.tar.xz |
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')
-rw-r--r-- | include/uapi/linux/virtio_net.h | 3 |
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 |