1*4882a593Smuzhiyun.. SPDX-License-Identifier: GPL-2.0 2*4882a593Smuzhiyun 3*4882a593Smuzhiyun======== 4*4882a593SmuzhiyunFAILOVER 5*4882a593Smuzhiyun======== 6*4882a593Smuzhiyun 7*4882a593SmuzhiyunOverview 8*4882a593Smuzhiyun======== 9*4882a593Smuzhiyun 10*4882a593SmuzhiyunThe failover module provides a generic interface for paravirtual drivers 11*4882a593Smuzhiyunto register a netdev and a set of ops with a failover instance. The ops 12*4882a593Smuzhiyunare used as event handlers that get called to handle netdev register/ 13*4882a593Smuzhiyununregister/link change/name change events on slave pci ethernet devices 14*4882a593Smuzhiyunwith the same mac address as the failover netdev. 15*4882a593Smuzhiyun 16*4882a593SmuzhiyunThis enables paravirtual drivers to use a VF as an accelerated low latency 17*4882a593Smuzhiyundatapath. It also allows live migration of VMs with direct attached VFs by 18*4882a593Smuzhiyunfailing over to the paravirtual datapath when the VF is unplugged. 19