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.
Showing the changes to include/uapi/linux (1 of 2 files). Show all
Unified · Split
| @@ -57,6 +57,9 @@ · 56 unmodified lines | |||
| 57 | * Steering */ | 57 | * Steering */ |
| 58 | #define VIRTIO_NET_F_CTRL_MAC_ADDR 23 /* Set MAC address */ | 58 | #define VIRTIO_NET_F_CTRL_MAC_ADDR 23 /* Set MAC address */ |
| 59 | 59 | ||
| 60 | #define VIRTIO_NET_F_STANDBY 62 /* Act as standby for another device | ||
| 61 | * with the same MAC. | ||
| 62 | */ | ||
| 60 | #define VIRTIO_NET_F_SPEED_DUPLEX 63 /* Device set linkspeed and duplex */ | 63 | #define VIRTIO_NET_F_SPEED_DUPLEX 63 /* Device set linkspeed and duplex */ |
| 61 | 64 | ||
| 62 | #ifndef VIRTIO_NET_NO_LEGACY | 65 | #ifndef VIRTIO_NET_NO_LEGACY |