summaryrefslogtreecommitdiff
path: root/net/core/Makefile
diff options
context:
space:
mode:
authorSridhar Samudrala <sridhar.samudrala@intel.com>2018-05-24 19:55:13 +0300
committerDavid S. Miller <davem@davemloft.net>2018-05-29 05:59:54 +0300
commit30c8bd5aa8b2c78546c3e52337101b9c85879320 (patch)
tree25da9be5c372249e23b95eeda081fdad34417dc4 /net/core/Makefile
parentcb1603948a0b80f27d2525bb7ac0d4bbb3849926 (diff)
downloadlinux-30c8bd5aa8b2c78546c3e52337101b9c85879320.tar.xz
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/core/Makefile')
-rw-r--r--net/core/Makefile1
1 files changed, 1 insertions, 0 deletions
diff --git a/net/core/Makefile b/net/core/Makefile
index 7080417f8bc8..80175e6a2eb8 100644
--- a/net/core/Makefile
+++ b/net/core/Makefile
@@ -31,3 +31,4 @@ obj-$(CONFIG_DST_CACHE) += dst_cache.o
obj-$(CONFIG_HWBM) += hwbm.o
obj-$(CONFIG_NET_DEVLINK) += devlink.o
obj-$(CONFIG_GRO_CELLS) += gro_cells.o
+obj-$(CONFIG_FAILOVER) += failover.o