Kconfig

CONFIG_NETDEVICES Network device support

On

You can say N here if you don't intend to connect your Linux box to any other computer at all.

You'll have to say Y if your computer contains a network card that you want to use under Linux. If you are going to run SLIP or PPP over telephone line or null modem cable you need say Y here. Connecting two machines with parallel ports using PLIP needs this, as well as AX.25/KISS for sending Internet traffic over amateur radio links.

See also "The Linux Network Administrator's Guide" by Olaf Kirch and Terry Dawson. Available at <http://www.tldp.org/guides.html>.

If unsure, say Y.

If NETDEVICES

CONFIG_MII

  • Off
  • Module
  • Built in

CONFIG_NET_CORE Network core driver support

On

You can say N here if you do not intend to use any of the networking core drivers (i.e. VLAN, bridging, bonding, etc.)

If NET_CORE

CONFIG_BONDING Bonding driver support

  • Off
  • Module
  • Built in

Say 'Y' or 'M' if you wish to be able to 'bond' multiple Ethernet Channels together. This is called 'Etherchannel' by Cisco, 'Trunking' by Sun, 802.3ad by the IEEE, and 'Bonding' in Linux.

The driver supports multiple bonding modes to allow for both high performance and high availability operation.

Refer to <file:Documentation/networking/bonding.rst> for more information.

To compile this driver as a module, choose M here: the module will be called bonding.

CONFIG_DUMMY Dummy net driver support

  • Off
  • Module
  • Built in

This is essentially a bit-bucket device (i.e. traffic you send to this device is consigned into oblivion) with a configurable IP address. It is most commonly used in order to make your currently inactive SLIP address seem like a real address for local programs. If you use SLIP or PPP, you might want to say Y here. It won't enlarge your kernel. What a deal. Read about it in the Network Administrator's Guide, available from <http://www.tldp.org/docs.html#guide>.

To compile this driver as a module, choose M here: the module will be called dummy.

CONFIG_WIREGUARD WireGuard secure network tunnel

  • Off
  • Module
  • Built in

WireGuard is a secure, fast, and easy to use replacement for IPSec that uses modern cryptography and clever networking tricks. It's designed to be fairly general purpose and abstract enough to fit most use cases, while at the same time remaining extremely simple to configure. See www.wireguard.com for more info.

It's safe to say Y or M here, as the driver is very lightweight and is only in use when an administrator chooses to add an interface.

If WIREGUARD

CONFIG_WIREGUARD_DEBUG Debugging checks and verbose messages

On

This will write log messages for handshake and other events that occur for a WireGuard interface. It will also perform some extra validation checks and unit tests at various points. This is only useful for debugging.

Say N here unless you know what you're doing.

CONFIG_OVPN OpenVPN data channel offload

  • Off
  • Module
  • Built in

This module enhances the performance of the OpenVPN userspace software by offloading the data channel processing to kernelspace.

CONFIG_EQUALIZER EQL (serial line load balancing) support

  • Off
  • Module
  • Built in

If you have two serial connections to some other computer (this usually requires two modems and two telephone lines) and you use SLIP (the protocol for sending Internet traffic over telephone lines) or PPP (a better SLIP) on them, you can make them behave like one double speed connection using this driver. Naturally, this has to be supported at the other end as well, either with a similar EQL Linux driver or with a Livingston Portmaster 2e.

Say Y if you want this and read <file:Documentation/networking/eql.rst>. You may also want to read section 6.2 of the NET-3-HOWTO, available from <http://www.tldp.org/docs.html#howto>.

To compile this driver as a module, choose M here: the module will be called eql. If unsure, say N.

CONFIG_NET_FC Fibre Channel driver support

On

Fibre Channel is a high speed serial protocol mainly used to connect large storage devices to the computer; it is compatible with and intended to replace SCSI.

If you intend to use Fibre Channel, you need to have a Fibre channel adaptor card in your computer; say Y here and to the driver for your adaptor below. You also should have said Y to "SCSI support" and "SCSI generic support".

CONFIG_IFB Intermediate Functional Block support

  • Off
  • Module
  • Built in

This is an intermediate driver that allows sharing of resources. To compile this driver as a module, choose M here: the module will be called ifb. If you want to use more than one ifb device at a time, you need to compile this driver as a module. Instead of 'ifb', the devices will then be called 'ifb0', 'ifb1' etc. Look at the iproute2 documentation directory for usage etc

Includedrivers/net/team/Kconfig Open file

CONFIG_MACVLAN MAC-VLAN support

  • Off
  • Module
  • Built in

This allows one to create virtual interfaces that map packets to or from specific MAC addresses to a particular interface.

Macvlan devices can be added using the "ip" command from the iproute2 package starting with the iproute2-2.6.23 release:

"ip link add link <real dev> [ address MAC ] [ NAME ] type macvlan"

To compile this driver as a module, choose M here: the module will be called macvlan.

If MACVLAN

CONFIG_MACVTAP MAC-VLAN based tap driver

  • Off
  • Module
  • Built in

This adds a specialized tap character device driver that is based on the MAC-VLAN network interface, called macvtap. A macvtap device can be added in the same way as a macvlan device, using 'type macvtap', and then be accessed through the tap user space interface.

To compile this driver as a module, choose M here: the module will be called macvtap.

CONFIG_IPVLAN IP-VLAN support

  • Off
  • Module
  • Built in

This allows one to create virtual devices off of a main interface and packets will be delivered based on the dest L3 (IPv6/IPv4 addr) on packets. All interfaces (including the main interface) share L2 making it transparent to the connected L2 switch.

Ipvlan devices can be added using the "ip" command from the iproute2 package starting with the iproute2-3.19 release:

"ip link add link <main-dev> [ NAME ] type ipvlan"

To compile this driver as a module, choose M here: the module will be called ipvlan.

If IPVLAN

CONFIG_IPVTAP IP-VLAN based tap driver

  • Off
  • Module
  • Built in

This adds a specialized tap character device driver that is based on the IP-VLAN network interface, called ipvtap. An ipvtap device can be added in the same way as a ipvlan device, using 'type ipvtap', and then be accessed through the tap user space interface.

To compile this driver as a module, choose M here: the module will be called ipvtap.

CONFIG_VXLAN Virtual eXtensible Local Area Network (VXLAN)

  • Off
  • Module
  • Built in
This allows one to create vxlan virtual interfaces that provide
Layer 2 Networks over Layer 3 Networks. VXLAN is often used
to tunnel virtual network infrastructure in virtualized environments.
For more information see:
  http://tools.ietf.org/html/draft-mahalingam-dutt-dcops-vxlan-02

To compile this driver as a module, choose M here: the module will be called vxlan.

CONFIG_GENEVE Generic Network Virtualization Encapsulation

  • Off
  • Module
  • Built in
This allows one to create geneve virtual interfaces that provide
Layer 2 Networks over Layer 3 Networks. GENEVE is often used
to tunnel virtual network infrastructure in virtualized environments.
For more information see:
  http://tools.ietf.org/html/draft-gross-geneve-02

To compile this driver as a module, choose M here: the module will be called geneve.

CONFIG_GTP GPRS Tunneling Protocol datapath (GTP-U)

  • Off
  • Module
  • Built in

This allows one to create gtp virtual interfaces that provide the GPRS Tunneling Protocol datapath (GTP-U). This tunneling protocol is used to prevent subscribers from accessing mobile carrier core network infrastructure. This driver requires a userspace software that implements the signaling protocol (GTP-C) to update its PDP context base, such as OpenGGSN <http://git.osmocom.org/openggsn/). This tunneling protocol is implemented according to the GSM TS 09.60 and 3GPP TS 29.060 standards.

To compile this drivers as a module, choose M here: the module will be called gtp.

CONFIG_PFCP Packet Forwarding Control Protocol (PFCP)

  • Off
  • Module
  • Built in

This allows one to create PFCP virtual interfaces that allows to set up software and hardware offload of PFCP packets. Note that this module does not support PFCP protocol in the kernel space. There is no support for parsing any PFCP messages.

To compile this drivers as a module, choose M here: the module will be called pfcp.

CONFIG_AMT Automatic Multicast Tunneling (AMT)

  • Off
  • Module
  • Built in

This allows one to create AMT(Automatic Multicast Tunneling) virtual interfaces that provide multicast tunneling. There are two roles, Gateway, and Relay. Gateway Encapsulates IGMP/MLD traffic from listeners to the Relay. Gateway Decapsulates multicast traffic from the Relay to Listeners. Relay Encapsulates multicast traffic from Sources to Gateway. Relay Decapsulates IGMP/MLD traffic from Gateway.

To compile this drivers as a module, choose M here: the module will be called amt.

CONFIG_NETCONSOLE_DYNAMIC Dynamic reconfiguration of logging targets

On

This option enables the ability to dynamically reconfigure target parameters (interface, IP addresses, port numbers, MAC addresses) at runtime through a userspace interface exported using configfs. See <file:Documentation/networking/netconsole.rst> for details.

If NETCONSOLE

If NETCONSOLE_EXTENDED_LOG

CONFIG_NETCONSOLE_PREPEND_RELEASE Prepend kernel release version in the message by default

On

Set kernel release to be prepended to each netconsole message by default. If this option is set, the kernel release is prepended into the first field of every netconsole message, so, the netconsole server/peer can easily identify what kernel release is logging each message. See <file:Documentation/networking/netconsole.rst> for details.

If RIONET

CONFIG_TUN Universal TUN/TAP device driver support

  • Off
  • Module
  • Built in

TUN/TAP provides packet reception and transmission for user space programs. It can be viewed as a simple Point-to-Point or Ethernet device, which instead of receiving packets from a physical media, receives them from user space program and instead of sending packets via physical media writes them to the user space program.

When a program opens /dev/net/tun, driver creates and registers corresponding net device tunX or tapX. After a program closed above devices, driver will automatically delete tunXX or tapXX device and all routes corresponding to it.

Please read <file:Documentation/networking/tuntap.rst> for more information.

To compile this driver as a module, choose M here: the module will be called tun.

If you don't know what to use this for, you don't need it.

CONFIG_TAP

  • Off
  • Module
  • Built in

This option is selected by any driver implementing tap user space interface for a virtual interface to re-use core tap functionality.

CONFIG_TUN_VNET_CROSS_LE Support for cross-endian vnet headers on little-endian kernels

On

This option allows TUN/TAP and MACVTAP device drivers in a little-endian kernel to parse vnet headers that come from a big-endian legacy virtio device.

Userspace programs can control the feature using the TUNSETVNETBE and TUNGETVNETBE ioctls.

Unless you have a little-endian system hosting a big-endian virtual machine with a legacy virtio NIC, you should say N.

CONFIG_VETH Virtual ethernet pair device

  • Off
  • Module
  • Built in

This device is a local ethernet tunnel. Devices are created in pairs. When one end receives the packet it appears on its pair and vice versa.

CONFIG_NLMON Virtual netlink monitoring device

  • Off
  • Module
  • Built in

This option enables a monitoring net device for netlink skbs. The purpose of this is to analyze netlink messages with packet sockets. Thus applications like tcpdump will be able to see local netlink messages if they tap into the netlink device, record pcaps for further diagnostics, etc. This is mostly intended for developers or support to debug netlink issues. If unsure, say N.

CONFIG_NETKIT BPF-programmable network device

On

The netkit device is a virtual networking device where BPF programs can be attached to the device(s) transmission routine in order to implement the driver's internal logic. The device can be configured to operate in L3 or L2 mode. If unsure, say N.

CONFIG_VSOCKMON Virtual vsock monitoring device

  • Off
  • Module
  • Built in

This option enables a monitoring net device for vsock sockets. It is mostly intended for developers or support to debug vsock issues. If unsure, say N.

CONFIG_MHI_NET MHI network driver

  • Off
  • Module
  • Built in

This is the network driver for MHI bus. It can be used with QCOM based WWAN modems for IP or QMAP/rmnet protocol (like SDX55). Say Y or M.

CONFIG_SUNGEM_PHY

  • Off
  • Module
  • Built in
Includedrivers/net/arcnet/Kconfig Open file
Includedrivers/atm/Kconfig Open file
Includedrivers/net/dsa/Kconfig Open file
Includedrivers/net/ethernet/Kconfig Open file
Includedrivers/net/fddi/Kconfig Open file
Includedrivers/net/ipa/Kconfig Open file
Includedrivers/net/phy/Kconfig Open file
Includedrivers/net/pse-pd/Kconfig Open file
Includedrivers/net/can/Kconfig Open file
Includedrivers/net/mctp/Kconfig Open file
Includedrivers/net/mdio/Kconfig Open file
Includedrivers/net/pcs/Kconfig Open file
Includedrivers/net/plip/Kconfig Open file
Includedrivers/net/ppp/Kconfig Open file
Includedrivers/net/slip/Kconfig Open file
Includedrivers/s390/net/Kconfig Open file
Includedrivers/net/usb/Kconfig Open file
Includedrivers/net/wireless/Kconfig Open file
Includedrivers/net/wan/Kconfig Open file
Includedrivers/net/ieee802154/Kconfig Open file
Includedrivers/net/wwan/Kconfig Open file

CONFIG_XEN_NETDEV_FRONTEND Xen network device frontend driver

  • Off
  • Module
  • Built in

This driver provides support for Xen paravirtual network devices exported by a Xen network driver domain (often domain 0).

The corresponding Linux backend driver is enabled by the CONFIG_XEN_NETDEV_BACKEND option.

If you are compiling a kernel for use as Xen guest, you should say Y here. To compile this driver as a module, chose M here: the module will be called xen-netfront.

CONFIG_XEN_NETDEV_BACKEND Xen backend network device

  • Off
  • Module
  • Built in

This driver allows the kernel to act as a Xen network driver domain which exports paravirtual network devices to other Xen domains. These devices can be accessed by any operating system that implements a compatible front end.

The corresponding Linux frontend driver is enabled by the CONFIG_XEN_NETDEV_FRONTEND configuration option.

The backend driver presents a standard network device endpoint for each paravirtual network device to the driver domain network stack. These can then be bridged or routed etc in order to provide full network connectivity.

If you are compiling a kernel to run in a Xen network driver domain (often this is domain 0) you should say Y here. To compile this driver as a module, chose M here: the module will be called xen-netback.

CONFIG_FUJITSU_ES FUJITSU Extended Socket Network Device driver

  • Off
  • Module
  • Built in

This driver provides support for Extended Socket network device on Extended Partitioning of FUJITSU PRIMEQUEST 2000 E2 series.

Includedrivers/net/thunderbolt/Kconfig Open file
Includedrivers/net/hyperv/Kconfig Open file

CONFIG_NETDEVSIM Simulated networking device

  • Off
  • Module
  • Built in

This driver is a developer testing tool and software model that can be used to test various control path networking APIs, especially HW-offload related.

To compile this driver as a module, choose M here: the module will be called netdevsim.

CONFIG_NET_FAILOVER Failover driver

  • Off
  • Module
  • Built in

This 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. This can be used by paravirtual drivers to enable an alternate low latency datapath. It also enables live migration of a VM with direct attached VF by failing over to the paravirtual datapath when the VF is unplugged.