162306a36Sopenharmony_ci.. SPDX-License-Identifier: GPL-2.0 262306a36Sopenharmony_ci 362306a36Sopenharmony_ci======== 462306a36Sopenharmony_ciFAILOVER 562306a36Sopenharmony_ci======== 662306a36Sopenharmony_ci 762306a36Sopenharmony_ciOverview 862306a36Sopenharmony_ci======== 962306a36Sopenharmony_ci 1062306a36Sopenharmony_ciThe failover module provides a generic interface for paravirtual drivers 1162306a36Sopenharmony_cito register a netdev and a set of ops with a failover instance. The ops 1262306a36Sopenharmony_ciare used as event handlers that get called to handle netdev register/ 1362306a36Sopenharmony_ciunregister/link change/name change events on slave pci ethernet devices 1462306a36Sopenharmony_ciwith the same mac address as the failover netdev. 1562306a36Sopenharmony_ci 1662306a36Sopenharmony_ciThis enables paravirtual drivers to use a VF as an accelerated low latency 1762306a36Sopenharmony_cidatapath. It also allows live migration of VMs with direct attached VFs by 1862306a36Sopenharmony_cifailing over to the paravirtual datapath when the VF is unplugged. 19