mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-12-15 15:26:41 +07:00
cfc80d9a11
The net_failover driver provides an automated failover mechanism via APIs to create and destroy a failover master netdev and manages a primary and standby slave netdevs that get registered via the generic failover infrastructure. The failover netdev acts a master device and controls 2 slave devices. The original paravirtual interface gets registered as 'standby' slave netdev and a passthru/vf device with the same MAC gets registered as 'primary' slave netdev. Both 'standby' and 'failover' netdevs are associated with the same 'pci' device. The user accesses the network interface via 'failover' netdev. The 'failover' netdev chooses 'primary' netdev as default for transmits when it is available with link up and running. This can be used by paravirtual drivers to enable an alternate low latency datapath. It also enables hypervisor controlled live migration of a VM with direct attached VF 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>
82 lines
2.2 KiB
Makefile
82 lines
2.2 KiB
Makefile
# SPDX-License-Identifier: GPL-2.0
|
|
#
|
|
# Makefile for the Linux network device drivers.
|
|
#
|
|
|
|
#
|
|
# Networking Core Drivers
|
|
#
|
|
obj-$(CONFIG_BONDING) += bonding/
|
|
obj-$(CONFIG_IPVLAN) += ipvlan/
|
|
obj-$(CONFIG_IPVTAP) += ipvlan/
|
|
obj-$(CONFIG_DUMMY) += dummy.o
|
|
obj-$(CONFIG_EQUALIZER) += eql.o
|
|
obj-$(CONFIG_IFB) += ifb.o
|
|
obj-$(CONFIG_MACSEC) += macsec.o
|
|
obj-$(CONFIG_MACVLAN) += macvlan.o
|
|
obj-$(CONFIG_MACVTAP) += macvtap.o
|
|
obj-$(CONFIG_MII) += mii.o
|
|
obj-$(CONFIG_MDIO) += mdio.o
|
|
obj-$(CONFIG_NET) += Space.o loopback.o
|
|
obj-$(CONFIG_NETCONSOLE) += netconsole.o
|
|
obj-y += phy/
|
|
obj-$(CONFIG_RIONET) += rionet.o
|
|
obj-$(CONFIG_NET_TEAM) += team/
|
|
obj-$(CONFIG_TUN) += tun.o
|
|
obj-$(CONFIG_TAP) += tap.o
|
|
obj-$(CONFIG_VETH) += veth.o
|
|
obj-$(CONFIG_VIRTIO_NET) += virtio_net.o
|
|
obj-$(CONFIG_VXLAN) += vxlan.o
|
|
obj-$(CONFIG_GENEVE) += geneve.o
|
|
obj-$(CONFIG_GTP) += gtp.o
|
|
obj-$(CONFIG_NLMON) += nlmon.o
|
|
obj-$(CONFIG_NET_VRF) += vrf.o
|
|
obj-$(CONFIG_VSOCKMON) += vsockmon.o
|
|
|
|
#
|
|
# Networking Drivers
|
|
#
|
|
obj-$(CONFIG_ARCNET) += arcnet/
|
|
obj-$(CONFIG_DEV_APPLETALK) += appletalk/
|
|
obj-$(CONFIG_CAIF) += caif/
|
|
obj-$(CONFIG_CAN) += can/
|
|
obj-$(CONFIG_NET_DSA) += dsa/
|
|
obj-$(CONFIG_ETHERNET) += ethernet/
|
|
obj-$(CONFIG_FDDI) += fddi/
|
|
obj-$(CONFIG_HIPPI) += hippi/
|
|
obj-$(CONFIG_HAMRADIO) += hamradio/
|
|
obj-$(CONFIG_PLIP) += plip/
|
|
obj-$(CONFIG_PPP) += ppp/
|
|
obj-$(CONFIG_PPP_ASYNC) += ppp/
|
|
obj-$(CONFIG_PPP_BSDCOMP) += ppp/
|
|
obj-$(CONFIG_PPP_DEFLATE) += ppp/
|
|
obj-$(CONFIG_PPP_MPPE) += ppp/
|
|
obj-$(CONFIG_PPP_SYNC_TTY) += ppp/
|
|
obj-$(CONFIG_PPPOE) += ppp/
|
|
obj-$(CONFIG_PPPOL2TP) += ppp/
|
|
obj-$(CONFIG_PPTP) += ppp/
|
|
obj-$(CONFIG_SLIP) += slip/
|
|
obj-$(CONFIG_SLHC) += slip/
|
|
obj-$(CONFIG_NET_SB1000) += sb1000.o
|
|
obj-$(CONFIG_SUNGEM_PHY) += sungem_phy.o
|
|
obj-$(CONFIG_WAN) += wan/
|
|
obj-$(CONFIG_WLAN) += wireless/
|
|
obj-$(CONFIG_WIMAX) += wimax/
|
|
obj-$(CONFIG_IEEE802154) += ieee802154/
|
|
|
|
obj-$(CONFIG_VMXNET3) += vmxnet3/
|
|
obj-$(CONFIG_XEN_NETDEV_FRONTEND) += xen-netfront.o
|
|
obj-$(CONFIG_XEN_NETDEV_BACKEND) += xen-netback/
|
|
|
|
obj-$(CONFIG_USB_NET_DRIVERS) += usb/
|
|
|
|
obj-$(CONFIG_HYPERV_NET) += hyperv/
|
|
obj-$(CONFIG_NTB_NETDEV) += ntb_netdev.o
|
|
|
|
obj-$(CONFIG_FUJITSU_ES) += fjes/
|
|
|
|
thunderbolt-net-y += thunderbolt.o
|
|
obj-$(CONFIG_THUNDERBOLT_NET) += thunderbolt-net.o
|
|
obj-$(CONFIG_NETDEVSIM) += netdevsim/
|
|
obj-$(CONFIG_NET_FAILOVER) += net_failover.o
|