diff options
author | Sridhar Samudrala <sridhar.samudrala@intel.com> | 2018-05-24 09:55:13 -0700 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2018-05-28 22:59:54 -0400 |
commit | 30c8bd5aa8b2c78546c3e52337101b9c85879320 (patch) | |
tree | 25da9be5c372249e23b95eeda081fdad34417dc4 /net/Kconfig | |
parent | cb1603948a0b80f27d2525bb7ac0d4bbb3849926 (diff) | |
download | linux-rpi3-30c8bd5aa8b2c78546c3e52337101b9c85879320.tar.gz linux-rpi3-30c8bd5aa8b2c78546c3e52337101b9c85879320.tar.bz2 linux-rpi3-30c8bd5aa8b2c78546c3e52337101b9c85879320.zip |
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>
Diffstat (limited to 'net/Kconfig')
-rw-r--r-- | net/Kconfig | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/net/Kconfig b/net/Kconfig index ba554cedb615..f738a6f27665 100644 --- a/net/Kconfig +++ b/net/Kconfig @@ -432,6 +432,19 @@ config MAY_USE_DEVLINK config PAGE_POOL bool +config FAILOVER + tristate "Generic failover module" + help + 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 live + migration of VMs with direct attached VFs by failing over to the + paravirtual datapath when the VF is unplugged. + endif # if NET # Used by archs to tell that they support BPF JIT compiler plus which flavour. |