Kconfig 21 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634
  1. # SPDX-License-Identifier: GPL-2.0-only
  2. #
  3. # Network device configuration
  4. #
  5. menuconfig NETDEVICES
  6. default y if UML
  7. depends on NET
  8. bool "Network device support"
  9. help
  10. You can say N here if you don't intend to connect your Linux box to
  11. any other computer at all.
  12. You'll have to say Y if your computer contains a network card that
  13. you want to use under Linux. If you are going to run SLIP or PPP over
  14. telephone line or null modem cable you need say Y here. Connecting
  15. two machines with parallel ports using PLIP needs this, as well as
  16. AX.25/KISS for sending Internet traffic over amateur radio links.
  17. See also "The Linux Network Administrator's Guide" by Olaf Kirch and
  18. Terry Dawson. Available at <http://www.tldp.org/guides.html>.
  19. If unsure, say Y.
  20. # All the following symbols are dependent on NETDEVICES - do not repeat
  21. # that for each of the symbols.
  22. if NETDEVICES
  23. config MII
  24. tristate
  25. config NET_CORE
  26. default y
  27. bool "Network core driver support"
  28. help
  29. You can say N here if you do not intend to use any of the
  30. networking core drivers (i.e. VLAN, bridging, bonding, etc.)
  31. if NET_CORE
  32. config BONDING
  33. tristate "Bonding driver support"
  34. depends on INET
  35. depends on IPV6 || IPV6=n
  36. depends on TLS || TLS_DEVICE=n
  37. help
  38. Say 'Y' or 'M' if you wish to be able to 'bond' multiple Ethernet
  39. Channels together. This is called 'Etherchannel' by Cisco,
  40. 'Trunking' by Sun, 802.3ad by the IEEE, and 'Bonding' in Linux.
  41. The driver supports multiple bonding modes to allow for both high
  42. performance and high availability operation.
  43. Refer to <file:Documentation/networking/bonding.rst> for more
  44. information.
  45. To compile this driver as a module, choose M here: the module
  46. will be called bonding.
  47. config DUMMY
  48. tristate "Dummy net driver support"
  49. help
  50. This is essentially a bit-bucket device (i.e. traffic you send to
  51. this device is consigned into oblivion) with a configurable IP
  52. address. It is most commonly used in order to make your currently
  53. inactive SLIP address seem like a real address for local programs.
  54. If you use SLIP or PPP, you might want to say Y here. It won't
  55. enlarge your kernel. What a deal. Read about it in the Network
  56. Administrator's Guide, available from
  57. <http://www.tldp.org/docs.html#guide>.
  58. To compile this driver as a module, choose M here: the module
  59. will be called dummy.
  60. config WIREGUARD
  61. tristate "WireGuard secure network tunnel"
  62. depends on NET && INET
  63. depends on IPV6 || !IPV6
  64. depends on !KMSAN # KMSAN doesn't support the crypto configs below
  65. select NET_UDP_TUNNEL
  66. select DST_CACHE
  67. select CRYPTO
  68. select CRYPTO_LIB_CURVE25519
  69. select CRYPTO_LIB_CHACHA20POLY1305
  70. select CRYPTO_CHACHA20_X86_64 if X86 && 64BIT
  71. select CRYPTO_POLY1305_X86_64 if X86 && 64BIT
  72. select CRYPTO_BLAKE2S_X86 if X86 && 64BIT
  73. select CRYPTO_CURVE25519_X86 if X86 && 64BIT
  74. select CRYPTO_CHACHA20_NEON if ARM || (ARM64 && KERNEL_MODE_NEON)
  75. select CRYPTO_POLY1305_NEON if ARM64 && KERNEL_MODE_NEON
  76. select CRYPTO_POLY1305_ARM if ARM
  77. select CRYPTO_BLAKE2S_ARM if ARM
  78. select CRYPTO_CURVE25519_NEON if ARM && KERNEL_MODE_NEON
  79. select CRYPTO_CHACHA_MIPS if CPU_MIPS32_R2
  80. select CRYPTO_POLY1305_MIPS if MIPS
  81. select CRYPTO_CHACHA_S390 if S390
  82. help
  83. WireGuard is a secure, fast, and easy to use replacement for IPSec
  84. that uses modern cryptography and clever networking tricks. It's
  85. designed to be fairly general purpose and abstract enough to fit most
  86. use cases, while at the same time remaining extremely simple to
  87. configure. See www.wireguard.com for more info.
  88. It's safe to say Y or M here, as the driver is very lightweight and
  89. is only in use when an administrator chooses to add an interface.
  90. config WIREGUARD_DEBUG
  91. bool "Debugging checks and verbose messages"
  92. depends on WIREGUARD
  93. help
  94. This will write log messages for handshake and other events
  95. that occur for a WireGuard interface. It will also perform some
  96. extra validation checks and unit tests at various points. This is
  97. only useful for debugging.
  98. Say N here unless you know what you're doing.
  99. config EQUALIZER
  100. tristate "EQL (serial line load balancing) support"
  101. help
  102. If you have two serial connections to some other computer (this
  103. usually requires two modems and two telephone lines) and you use
  104. SLIP (the protocol for sending Internet traffic over telephone
  105. lines) or PPP (a better SLIP) on them, you can make them behave like
  106. one double speed connection using this driver. Naturally, this has
  107. to be supported at the other end as well, either with a similar EQL
  108. Linux driver or with a Livingston Portmaster 2e.
  109. Say Y if you want this and read
  110. <file:Documentation/networking/eql.rst>. You may also want to read
  111. section 6.2 of the NET-3-HOWTO, available from
  112. <http://www.tldp.org/docs.html#howto>.
  113. To compile this driver as a module, choose M here: the module
  114. will be called eql. If unsure, say N.
  115. config NET_FC
  116. bool "Fibre Channel driver support"
  117. depends on SCSI && PCI
  118. help
  119. Fibre Channel is a high speed serial protocol mainly used to connect
  120. large storage devices to the computer; it is compatible with and
  121. intended to replace SCSI.
  122. If you intend to use Fibre Channel, you need to have a Fibre channel
  123. adaptor card in your computer; say Y here and to the driver for your
  124. adaptor below. You also should have said Y to "SCSI support" and
  125. "SCSI generic support".
  126. config IFB
  127. tristate "Intermediate Functional Block support"
  128. depends on NET_ACT_MIRRED || NFT_FWD_NETDEV
  129. select NET_REDIRECT
  130. help
  131. This is an intermediate driver that allows sharing of
  132. resources.
  133. To compile this driver as a module, choose M here: the module
  134. will be called ifb. If you want to use more than one ifb
  135. device at a time, you need to compile this driver as a module.
  136. Instead of 'ifb', the devices will then be called 'ifb0',
  137. 'ifb1' etc.
  138. Look at the iproute2 documentation directory for usage etc
  139. source "drivers/net/team/Kconfig"
  140. config MACVLAN
  141. tristate "MAC-VLAN support"
  142. help
  143. This allows one to create virtual interfaces that map packets to
  144. or from specific MAC addresses to a particular interface.
  145. Macvlan devices can be added using the "ip" command from the
  146. iproute2 package starting with the iproute2-2.6.23 release:
  147. "ip link add link <real dev> [ address MAC ] [ NAME ] type macvlan"
  148. To compile this driver as a module, choose M here: the module
  149. will be called macvlan.
  150. config MACVTAP
  151. tristate "MAC-VLAN based tap driver"
  152. depends on MACVLAN
  153. depends on INET
  154. select TAP
  155. help
  156. This adds a specialized tap character device driver that is based
  157. on the MAC-VLAN network interface, called macvtap. A macvtap device
  158. can be added in the same way as a macvlan device, using 'type
  159. macvtap', and then be accessed through the tap user space interface.
  160. To compile this driver as a module, choose M here: the module
  161. will be called macvtap.
  162. config IPVLAN_L3S
  163. depends on NETFILTER
  164. depends on IPVLAN
  165. def_bool y
  166. select NET_L3_MASTER_DEV
  167. config IPVLAN
  168. tristate "IP-VLAN support"
  169. depends on INET
  170. depends on IPV6 || !IPV6
  171. help
  172. This allows one to create virtual devices off of a main interface
  173. and packets will be delivered based on the dest L3 (IPv6/IPv4 addr)
  174. on packets. All interfaces (including the main interface) share L2
  175. making it transparent to the connected L2 switch.
  176. Ipvlan devices can be added using the "ip" command from the
  177. iproute2 package starting with the iproute2-3.19 release:
  178. "ip link add link <main-dev> [ NAME ] type ipvlan"
  179. To compile this driver as a module, choose M here: the module
  180. will be called ipvlan.
  181. config IPVTAP
  182. tristate "IP-VLAN based tap driver"
  183. depends on IPVLAN
  184. depends on INET
  185. select TAP
  186. help
  187. This adds a specialized tap character device driver that is based
  188. on the IP-VLAN network interface, called ipvtap. An ipvtap device
  189. can be added in the same way as a ipvlan device, using 'type
  190. ipvtap', and then be accessed through the tap user space interface.
  191. To compile this driver as a module, choose M here: the module
  192. will be called ipvtap.
  193. config VXLAN
  194. tristate "Virtual eXtensible Local Area Network (VXLAN)"
  195. depends on INET
  196. select NET_UDP_TUNNEL
  197. select GRO_CELLS
  198. help
  199. This allows one to create vxlan virtual interfaces that provide
  200. Layer 2 Networks over Layer 3 Networks. VXLAN is often used
  201. to tunnel virtual network infrastructure in virtualized environments.
  202. For more information see:
  203. http://tools.ietf.org/html/draft-mahalingam-dutt-dcops-vxlan-02
  204. To compile this driver as a module, choose M here: the module
  205. will be called vxlan.
  206. config GENEVE
  207. tristate "Generic Network Virtualization Encapsulation"
  208. depends on INET
  209. depends on IPV6 || !IPV6
  210. select NET_UDP_TUNNEL
  211. select GRO_CELLS
  212. help
  213. This allows one to create geneve virtual interfaces that provide
  214. Layer 2 Networks over Layer 3 Networks. GENEVE is often used
  215. to tunnel virtual network infrastructure in virtualized environments.
  216. For more information see:
  217. http://tools.ietf.org/html/draft-gross-geneve-02
  218. To compile this driver as a module, choose M here: the module
  219. will be called geneve.
  220. config BAREUDP
  221. tristate "Bare UDP Encapsulation"
  222. depends on INET
  223. depends on IPV6 || !IPV6
  224. select NET_UDP_TUNNEL
  225. select GRO_CELLS
  226. help
  227. This adds a bare UDP tunnel module for tunnelling different
  228. kinds of traffic like MPLS, IP, etc. inside a UDP tunnel.
  229. To compile this driver as a module, choose M here: the module
  230. will be called bareudp.
  231. config GTP
  232. tristate "GPRS Tunneling Protocol datapath (GTP-U)"
  233. depends on INET
  234. select NET_UDP_TUNNEL
  235. help
  236. This allows one to create gtp virtual interfaces that provide
  237. the GPRS Tunneling Protocol datapath (GTP-U). This tunneling protocol
  238. is used to prevent subscribers from accessing mobile carrier core
  239. network infrastructure. This driver requires a userspace software that
  240. implements the signaling protocol (GTP-C) to update its PDP context
  241. base, such as OpenGGSN <http://git.osmocom.org/openggsn/). This
  242. tunneling protocol is implemented according to the GSM TS 09.60 and
  243. 3GPP TS 29.060 standards.
  244. To compile this drivers as a module, choose M here: the module
  245. will be called gtp.
  246. config AMT
  247. tristate "Automatic Multicast Tunneling (AMT)"
  248. depends on INET && IP_MULTICAST
  249. depends on IPV6 || !IPV6
  250. select NET_UDP_TUNNEL
  251. help
  252. This allows one to create AMT(Automatic Multicast Tunneling)
  253. virtual interfaces that provide multicast tunneling.
  254. There are two roles, Gateway, and Relay.
  255. Gateway Encapsulates IGMP/MLD traffic from listeners to the Relay.
  256. Gateway Decapsulates multicast traffic from the Relay to Listeners.
  257. Relay Encapsulates multicast traffic from Sources to Gateway.
  258. Relay Decapsulates IGMP/MLD traffic from Gateway.
  259. To compile this drivers as a module, choose M here: the module
  260. will be called amt.
  261. config MACSEC
  262. tristate "IEEE 802.1AE MAC-level encryption (MACsec)"
  263. select CRYPTO
  264. select CRYPTO_AES
  265. select CRYPTO_GCM
  266. select GRO_CELLS
  267. help
  268. MACsec is an encryption standard for Ethernet.
  269. config NETCONSOLE
  270. tristate "Network console logging support"
  271. help
  272. If you want to log kernel messages over the network, enable this.
  273. See <file:Documentation/networking/netconsole.rst> for details.
  274. config NETCONSOLE_DYNAMIC
  275. bool "Dynamic reconfiguration of logging targets"
  276. depends on NETCONSOLE && SYSFS && CONFIGFS_FS && \
  277. !(NETCONSOLE=y && CONFIGFS_FS=m)
  278. help
  279. This option enables the ability to dynamically reconfigure target
  280. parameters (interface, IP addresses, port numbers, MAC addresses)
  281. at runtime through a userspace interface exported using configfs.
  282. See <file:Documentation/networking/netconsole.rst> for details.
  283. config NETPOLL
  284. def_bool NETCONSOLE
  285. select SRCU
  286. config NET_POLL_CONTROLLER
  287. def_bool NETPOLL
  288. config NTB_NETDEV
  289. tristate "Virtual Ethernet over NTB Transport"
  290. depends on NTB_TRANSPORT
  291. config RIONET
  292. tristate "RapidIO Ethernet over messaging driver support"
  293. depends on RAPIDIO
  294. config RIONET_TX_SIZE
  295. int "Number of outbound queue entries"
  296. depends on RIONET
  297. default "128"
  298. config RIONET_RX_SIZE
  299. int "Number of inbound queue entries"
  300. depends on RIONET
  301. default "128"
  302. config TUN
  303. tristate "Universal TUN/TAP device driver support"
  304. depends on INET
  305. select CRC32
  306. help
  307. TUN/TAP provides packet reception and transmission for user space
  308. programs. It can be viewed as a simple Point-to-Point or Ethernet
  309. device, which instead of receiving packets from a physical media,
  310. receives them from user space program and instead of sending packets
  311. via physical media writes them to the user space program.
  312. When a program opens /dev/net/tun, driver creates and registers
  313. corresponding net device tunX or tapX. After a program closed above
  314. devices, driver will automatically delete tunXX or tapXX device and
  315. all routes corresponding to it.
  316. Please read <file:Documentation/networking/tuntap.rst> for more
  317. information.
  318. To compile this driver as a module, choose M here: the module
  319. will be called tun.
  320. If you don't know what to use this for, you don't need it.
  321. config TAP
  322. tristate
  323. help
  324. This option is selected by any driver implementing tap user space
  325. interface for a virtual interface to re-use core tap functionality.
  326. config TUN_VNET_CROSS_LE
  327. bool "Support for cross-endian vnet headers on little-endian kernels"
  328. default n
  329. help
  330. This option allows TUN/TAP and MACVTAP device drivers in a
  331. little-endian kernel to parse vnet headers that come from a
  332. big-endian legacy virtio device.
  333. Userspace programs can control the feature using the TUNSETVNETBE
  334. and TUNGETVNETBE ioctls.
  335. Unless you have a little-endian system hosting a big-endian virtual
  336. machine with a legacy virtio NIC, you should say N.
  337. config VETH
  338. tristate "Virtual ethernet pair device"
  339. help
  340. This device is a local ethernet tunnel. Devices are created in pairs.
  341. When one end receives the packet it appears on its pair and vice
  342. versa.
  343. config VIRTIO_NET
  344. tristate "Virtio network driver"
  345. depends on VIRTIO
  346. select NET_FAILOVER
  347. help
  348. This is the virtual network driver for virtio. It can be used with
  349. QEMU based VMMs (like KVM or Xen). Say Y or M.
  350. config NLMON
  351. tristate "Virtual netlink monitoring device"
  352. help
  353. This option enables a monitoring net device for netlink skbs. The
  354. purpose of this is to analyze netlink messages with packet sockets.
  355. Thus applications like tcpdump will be able to see local netlink
  356. messages if they tap into the netlink device, record pcaps for further
  357. diagnostics, etc. This is mostly intended for developers or support
  358. to debug netlink issues. If unsure, say N.
  359. config NET_VRF
  360. tristate "Virtual Routing and Forwarding (Lite)"
  361. depends on IP_MULTIPLE_TABLES
  362. depends on NET_L3_MASTER_DEV
  363. depends on IPV6 || IPV6=n
  364. depends on IPV6_MULTIPLE_TABLES || IPV6=n
  365. help
  366. This option enables the support for mapping interfaces into VRF's. The
  367. support enables VRF devices.
  368. config VSOCKMON
  369. tristate "Virtual vsock monitoring device"
  370. depends on VHOST_VSOCK
  371. help
  372. This option enables a monitoring net device for vsock sockets. It is
  373. mostly intended for developers or support to debug vsock issues. If
  374. unsure, say N.
  375. config MHI_NET
  376. tristate "MHI network driver"
  377. depends on MHI_BUS
  378. help
  379. This is the network driver for MHI bus. It can be used with
  380. QCOM based WWAN modems for IP or QMAP/rmnet protocol (like SDX55).
  381. Say Y or M.
  382. endif # NET_CORE
  383. config SUNGEM_PHY
  384. tristate
  385. source "drivers/net/arcnet/Kconfig"
  386. source "drivers/atm/Kconfig"
  387. source "drivers/net/caif/Kconfig"
  388. source "drivers/net/dsa/Kconfig"
  389. source "drivers/net/ethernet/Kconfig"
  390. source "drivers/net/fddi/Kconfig"
  391. source "drivers/net/hippi/Kconfig"
  392. source "drivers/net/ipa/Kconfig"
  393. config NET_SB1000
  394. tristate "General Instruments Surfboard 1000"
  395. depends on PNP
  396. help
  397. This is a driver for the General Instrument (also known as
  398. NextLevel) SURFboard 1000 internal
  399. cable modem. This is an ISA card which is used by a number of cable
  400. TV companies to provide cable modem access. It's a one-way
  401. downstream-only cable modem, meaning that your upstream net link is
  402. provided by your regular phone modem.
  403. At present this driver only compiles as a module, so say M here if
  404. you have this card. The module will be called sb1000. Then read
  405. <file:Documentation/networking/device_drivers/cable/sb1000.rst> for
  406. information on how to use this module, as it needs special ppp
  407. scripts for establishing a connection. Further documentation
  408. and the necessary scripts can be found at:
  409. <http://www.jacksonville.net/~fventuri/>
  410. <http://home.adelphia.net/~siglercm/sb1000.html>
  411. <http://linuxpower.cx/~cable/>
  412. If you don't have this card, of course say N.
  413. source "drivers/net/phy/Kconfig"
  414. source "drivers/net/pse-pd/Kconfig"
  415. source "drivers/net/can/Kconfig"
  416. source "drivers/net/mctp/Kconfig"
  417. source "drivers/net/mdio/Kconfig"
  418. source "drivers/net/pcs/Kconfig"
  419. source "drivers/net/plip/Kconfig"
  420. source "drivers/net/ppp/Kconfig"
  421. source "drivers/net/slip/Kconfig"
  422. source "drivers/s390/net/Kconfig"
  423. source "drivers/net/usb/Kconfig"
  424. source "drivers/net/wireless/Kconfig"
  425. source "drivers/net/wan/Kconfig"
  426. source "drivers/net/ieee802154/Kconfig"
  427. source "drivers/net/wwan/Kconfig"
  428. config XEN_NETDEV_FRONTEND
  429. tristate "Xen network device frontend driver"
  430. depends on XEN
  431. select XEN_XENBUS_FRONTEND
  432. select PAGE_POOL
  433. default y
  434. help
  435. This driver provides support for Xen paravirtual network
  436. devices exported by a Xen network driver domain (often
  437. domain 0).
  438. The corresponding Linux backend driver is enabled by the
  439. CONFIG_XEN_NETDEV_BACKEND option.
  440. If you are compiling a kernel for use as Xen guest, you
  441. should say Y here. To compile this driver as a module, chose
  442. M here: the module will be called xen-netfront.
  443. config XEN_NETDEV_BACKEND
  444. tristate "Xen backend network device"
  445. depends on XEN_BACKEND
  446. help
  447. This driver allows the kernel to act as a Xen network driver
  448. domain which exports paravirtual network devices to other
  449. Xen domains. These devices can be accessed by any operating
  450. system that implements a compatible front end.
  451. The corresponding Linux frontend driver is enabled by the
  452. CONFIG_XEN_NETDEV_FRONTEND configuration option.
  453. The backend driver presents a standard network device
  454. endpoint for each paravirtual network device to the driver
  455. domain network stack. These can then be bridged or routed
  456. etc in order to provide full network connectivity.
  457. If you are compiling a kernel to run in a Xen network driver
  458. domain (often this is domain 0) you should say Y here. To
  459. compile this driver as a module, chose M here: the module
  460. will be called xen-netback.
  461. config VMXNET3
  462. tristate "VMware VMXNET3 ethernet driver"
  463. depends on PCI && INET
  464. depends on PAGE_SIZE_LESS_THAN_64KB
  465. help
  466. This driver supports VMware's vmxnet3 virtual ethernet NIC.
  467. To compile this driver as a module, choose M here: the
  468. module will be called vmxnet3.
  469. config FUJITSU_ES
  470. tristate "FUJITSU Extended Socket Network Device driver"
  471. depends on ACPI
  472. help
  473. This driver provides support for Extended Socket network device
  474. on Extended Partitioning of FUJITSU PRIMEQUEST 2000 E2 series.
  475. config USB4_NET
  476. tristate "Networking over USB4 and Thunderbolt cables"
  477. depends on USB4 && INET
  478. help
  479. Select this if you want to create network between two computers
  480. over a USB4 and Thunderbolt cables. The driver supports Apple
  481. ThunderboltIP protocol and allows communication with any host
  482. supporting the same protocol including Windows and macOS.
  483. To compile this driver a module, choose M here. The module will be
  484. called thunderbolt-net.
  485. source "drivers/net/hyperv/Kconfig"
  486. config NETDEVSIM
  487. tristate "Simulated networking device"
  488. depends on DEBUG_FS
  489. depends on INET
  490. depends on IPV6 || IPV6=n
  491. depends on PSAMPLE || PSAMPLE=n
  492. select NET_DEVLINK
  493. help
  494. This driver is a developer testing tool and software model that can
  495. be used to test various control path networking APIs, especially
  496. HW-offload related.
  497. To compile this driver as a module, choose M here: the module
  498. will be called netdevsim.
  499. config NET_FAILOVER
  500. tristate "Failover driver"
  501. select FAILOVER
  502. help
  503. This provides an automated failover mechanism via APIs to create
  504. and destroy a failover master netdev and manages a primary and
  505. standby slave netdevs that get registered via the generic failover
  506. infrastructure. This can be used by paravirtual drivers to enable
  507. an alternate low latency datapath. It also enables live migration of
  508. a VM with direct attached VF by failing over to the paravirtual
  509. datapath when the VF is unplugged.
  510. config NETDEV_LEGACY_INIT
  511. bool
  512. depends on ISA
  513. help
  514. Drivers that call netdev_boot_setup_check() should select this
  515. symbol, everything else no longer needs it.
  516. endif # NETDEVICES