^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1) .. SPDX-License-Identifier: GPL-2.0
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 2)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 3) ========
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 4) FAILOVER
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 5) ========
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 6)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 7) Overview
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 8) ========
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 9)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 10) The failover module provides a generic interface for paravirtual drivers
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 11) to register a netdev and a set of ops with a failover instance. The ops
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 12) are used as event handlers that get called to handle netdev register/
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 13) unregister/link change/name change events on slave pci ethernet devices
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 14) with the same mac address as the failover netdev.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 15)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 16) This enables paravirtual drivers to use a VF as an accelerated low latency
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 17) datapath. It also allows live migration of VMs with direct attached VFs by
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 18) failing over to the paravirtual datapath when the VF is unplugged.