]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit - net/Kconfig
net: Introduce generic failover module
authorSridhar Samudrala <sridhar.samudrala@intel.com>
Thu, 24 May 2018 16:55:13 +0000 (09:55 -0700)
committerDavid S. Miller <davem@davemloft.net>
Tue, 29 May 2018 02:59:54 +0000 (22:59 -0400)
commit30c8bd5aa8b2c78546c3e52337101b9c85879320
tree25da9be5c372249e23b95eeda081fdad34417dc4
parentcb1603948a0b80f27d2525bb7ac0d4bbb3849926
net: Introduce generic failover module

The failover module provides a generic interface for paravirtual drivers
to register a netdev and a set of ops with a failover instance. The ops
are used as event handlers that get called to handle netdev register/
unregister/link change/name change events on slave pci ethernet devices
with the same mac address as the failover netdev.

This enables paravirtual drivers to use a VF as an accelerated low latency
datapath. It also allows migration of VMs with direct attached VFs by
failing over to the paravirtual datapath when the VF is unplugged.

Signed-off-by: Sridhar Samudrala <sridhar.samudrala@intel.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Documentation/networking/failover.rst [new file with mode: 0644]
MAINTAINERS
include/linux/netdevice.h
include/net/failover.h [new file with mode: 0644]
net/Kconfig
net/core/Makefile
net/core/failover.c [new file with mode: 0644]