Kconfig 18 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532
  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. ---help---
  37. Say 'Y' or 'M' if you wish to be able to 'bond' multiple Ethernet
  38. Channels together. This is called 'Etherchannel' by Cisco,
  39. 'Trunking' by Sun, 802.3ad by the IEEE, and 'Bonding' in Linux.
  40. The driver supports multiple bonding modes to allow for both high
  41. performance and high availability operation.
  42. Refer to <file:Documentation/networking/bonding.txt> for more
  43. information.
  44. To compile this driver as a module, choose M here: the module
  45. will be called bonding.
  46. config DUMMY
  47. tristate "Dummy net driver support"
  48. ---help---
  49. This is essentially a bit-bucket device (i.e. traffic you send to
  50. this device is consigned into oblivion) with a configurable IP
  51. address. It is most commonly used in order to make your currently
  52. inactive SLIP address seem like a real address for local programs.
  53. If you use SLIP or PPP, you might want to say Y here. It won't
  54. enlarge your kernel. What a deal. Read about it in the Network
  55. Administrator's Guide, available from
  56. <http://www.tldp.org/docs.html#guide>.
  57. To compile this driver as a module, choose M here: the module
  58. will be called dummy.
  59. config EQUALIZER
  60. tristate "EQL (serial line load balancing) support"
  61. ---help---
  62. If you have two serial connections to some other computer (this
  63. usually requires two modems and two telephone lines) and you use
  64. SLIP (the protocol for sending Internet traffic over telephone
  65. lines) or PPP (a better SLIP) on them, you can make them behave like
  66. one double speed connection using this driver. Naturally, this has
  67. to be supported at the other end as well, either with a similar EQL
  68. Linux driver or with a Livingston Portmaster 2e.
  69. Say Y if you want this and read
  70. <file:Documentation/networking/eql.txt>. You may also want to read
  71. section 6.2 of the NET-3-HOWTO, available from
  72. <http://www.tldp.org/docs.html#howto>.
  73. To compile this driver as a module, choose M here: the module
  74. will be called eql. If unsure, say N.
  75. config NET_FC
  76. bool "Fibre Channel driver support"
  77. depends on SCSI && PCI
  78. help
  79. Fibre Channel is a high speed serial protocol mainly used to connect
  80. large storage devices to the computer; it is compatible with and
  81. intended to replace SCSI.
  82. If you intend to use Fibre Channel, you need to have a Fibre channel
  83. adaptor card in your computer; say Y here and to the driver for your
  84. adaptor below. You also should have said Y to "SCSI support" and
  85. "SCSI generic support".
  86. config IFB
  87. tristate "Intermediate Functional Block support"
  88. depends on NET_CLS_ACT
  89. select NET_REDIRECT
  90. ---help---
  91. This is an intermediate driver that allows sharing of
  92. resources.
  93. To compile this driver as a module, choose M here: the module
  94. will be called ifb. If you want to use more than one ifb
  95. device at a time, you need to compile this driver as a module.
  96. Instead of 'ifb', the devices will then be called 'ifb0',
  97. 'ifb1' etc.
  98. Look at the iproute2 documentation directory for usage etc
  99. source "drivers/net/team/Kconfig"
  100. config MACVLAN
  101. tristate "MAC-VLAN support"
  102. ---help---
  103. This allows one to create virtual interfaces that map packets to
  104. or from specific MAC addresses to a particular interface.
  105. Macvlan devices can be added using the "ip" command from the
  106. iproute2 package starting with the iproute2-2.6.23 release:
  107. "ip link add link <real dev> [ address MAC ] [ NAME ] type macvlan"
  108. To compile this driver as a module, choose M here: the module
  109. will be called macvlan.
  110. config MACVTAP
  111. tristate "MAC-VLAN based tap driver"
  112. depends on MACVLAN
  113. depends on INET
  114. select TAP
  115. help
  116. This adds a specialized tap character device driver that is based
  117. on the MAC-VLAN network interface, called macvtap. A macvtap device
  118. can be added in the same way as a macvlan device, using 'type
  119. macvtap', and then be accessed through the tap user space interface.
  120. To compile this driver as a module, choose M here: the module
  121. will be called macvtap.
  122. config IPVLAN_L3S
  123. depends on NETFILTER
  124. depends on IPVLAN
  125. def_bool y
  126. select NET_L3_MASTER_DEV
  127. config IPVLAN
  128. tristate "IP-VLAN support"
  129. depends on INET
  130. depends on IPV6 || !IPV6
  131. ---help---
  132. This allows one to create virtual devices off of a main interface
  133. and packets will be delivered based on the dest L3 (IPv6/IPv4 addr)
  134. on packets. All interfaces (including the main interface) share L2
  135. making it transparent to the connected L2 switch.
  136. Ipvlan devices can be added using the "ip" command from the
  137. iproute2 package starting with the iproute2-3.19 release:
  138. "ip link add link <main-dev> [ NAME ] type ipvlan"
  139. To compile this driver as a module, choose M here: the module
  140. will be called ipvlan.
  141. config IPVTAP
  142. tristate "IP-VLAN based tap driver"
  143. depends on IPVLAN
  144. depends on INET
  145. select TAP
  146. ---help---
  147. This adds a specialized tap character device driver that is based
  148. on the IP-VLAN network interface, called ipvtap. An ipvtap device
  149. can be added in the same way as a ipvlan device, using 'type
  150. ipvtap', and then be accessed through the tap user space interface.
  151. To compile this driver as a module, choose M here: the module
  152. will be called ipvtap.
  153. config VXLAN
  154. tristate "Virtual eXtensible Local Area Network (VXLAN)"
  155. depends on INET
  156. select NET_UDP_TUNNEL
  157. select GRO_CELLS
  158. ---help---
  159. This allows one to create vxlan virtual interfaces that provide
  160. Layer 2 Networks over Layer 3 Networks. VXLAN is often used
  161. to tunnel virtual network infrastructure in virtualized environments.
  162. For more information see:
  163. http://tools.ietf.org/html/draft-mahalingam-dutt-dcops-vxlan-02
  164. To compile this driver as a module, choose M here: the module
  165. will be called vxlan.
  166. config GENEVE
  167. tristate "Generic Network Virtualization Encapsulation"
  168. depends on INET
  169. depends on IPV6 || !IPV6
  170. select NET_UDP_TUNNEL
  171. select GRO_CELLS
  172. ---help---
  173. This allows one to create geneve virtual interfaces that provide
  174. Layer 2 Networks over Layer 3 Networks. GENEVE is often used
  175. to tunnel virtual network infrastructure in virtualized environments.
  176. For more information see:
  177. http://tools.ietf.org/html/draft-gross-geneve-02
  178. To compile this driver as a module, choose M here: the module
  179. will be called geneve.
  180. config GTP
  181. tristate "GPRS Tunneling Protocol datapath (GTP-U)"
  182. depends on INET
  183. select NET_UDP_TUNNEL
  184. ---help---
  185. This allows one to create gtp virtual interfaces that provide
  186. the GPRS Tunneling Protocol datapath (GTP-U). This tunneling protocol
  187. is used to prevent subscribers from accessing mobile carrier core
  188. network infrastructure. This driver requires a userspace software that
  189. implements the signaling protocol (GTP-C) to update its PDP context
  190. base, such as OpenGGSN <http://git.osmocom.org/openggsn/). This
  191. tunneling protocol is implemented according to the GSM TS 09.60 and
  192. 3GPP TS 29.060 standards.
  193. To compile this drivers as a module, choose M here: the module
  194. wil be called gtp.
  195. config MACSEC
  196. tristate "IEEE 802.1AE MAC-level encryption (MACsec)"
  197. select CRYPTO
  198. select CRYPTO_AES
  199. select CRYPTO_GCM
  200. select GRO_CELLS
  201. ---help---
  202. MACsec is an encryption standard for Ethernet.
  203. config NETCONSOLE
  204. tristate "Network console logging support"
  205. ---help---
  206. If you want to log kernel messages over the network, enable this.
  207. See <file:Documentation/networking/netconsole.txt> for details.
  208. config NETCONSOLE_DYNAMIC
  209. bool "Dynamic reconfiguration of logging targets"
  210. depends on NETCONSOLE && SYSFS && CONFIGFS_FS && \
  211. !(NETCONSOLE=y && CONFIGFS_FS=m)
  212. help
  213. This option enables the ability to dynamically reconfigure target
  214. parameters (interface, IP addresses, port numbers, MAC addresses)
  215. at runtime through a userspace interface exported using configfs.
  216. See <file:Documentation/networking/netconsole.txt> for details.
  217. config NETPOLL
  218. def_bool NETCONSOLE
  219. select SRCU
  220. config NET_POLL_CONTROLLER
  221. def_bool NETPOLL
  222. config NTB_NETDEV
  223. tristate "Virtual Ethernet over NTB Transport"
  224. depends on NTB_TRANSPORT
  225. config RIONET
  226. tristate "RapidIO Ethernet over messaging driver support"
  227. depends on RAPIDIO
  228. config RIONET_TX_SIZE
  229. int "Number of outbound queue entries"
  230. depends on RIONET
  231. default "128"
  232. config RIONET_RX_SIZE
  233. int "Number of inbound queue entries"
  234. depends on RIONET
  235. default "128"
  236. config TUN
  237. tristate "Universal TUN/TAP device driver support"
  238. depends on INET
  239. select CRC32
  240. ---help---
  241. TUN/TAP provides packet reception and transmission for user space
  242. programs. It can be viewed as a simple Point-to-Point or Ethernet
  243. device, which instead of receiving packets from a physical media,
  244. receives them from user space program and instead of sending packets
  245. via physical media writes them to the user space program.
  246. When a program opens /dev/net/tun, driver creates and registers
  247. corresponding net device tunX or tapX. After a program closed above
  248. devices, driver will automatically delete tunXX or tapXX device and
  249. all routes corresponding to it.
  250. Please read <file:Documentation/networking/tuntap.txt> for more
  251. information.
  252. To compile this driver as a module, choose M here: the module
  253. will be called tun.
  254. If you don't know what to use this for, you don't need it.
  255. config TAP
  256. tristate
  257. ---help---
  258. This option is selected by any driver implementing tap user space
  259. interface for a virtual interface to re-use core tap functionality.
  260. config TUN_VNET_CROSS_LE
  261. bool "Support for cross-endian vnet headers on little-endian kernels"
  262. default n
  263. ---help---
  264. This option allows TUN/TAP and MACVTAP device drivers in a
  265. little-endian kernel to parse vnet headers that come from a
  266. big-endian legacy virtio device.
  267. Userspace programs can control the feature using the TUNSETVNETBE
  268. and TUNGETVNETBE ioctls.
  269. Unless you have a little-endian system hosting a big-endian virtual
  270. machine with a legacy virtio NIC, you should say N.
  271. config VETH
  272. tristate "Virtual ethernet pair device"
  273. ---help---
  274. This device is a local ethernet tunnel. Devices are created in pairs.
  275. When one end receives the packet it appears on its pair and vice
  276. versa.
  277. config VIRTIO_NET
  278. tristate "Virtio network driver"
  279. depends on VIRTIO
  280. select NET_FAILOVER
  281. ---help---
  282. This is the virtual network driver for virtio. It can be used with
  283. QEMU based VMMs (like KVM or Xen). Say Y or M.
  284. config NLMON
  285. tristate "Virtual netlink monitoring device"
  286. ---help---
  287. This option enables a monitoring net device for netlink skbs. The
  288. purpose of this is to analyze netlink messages with packet sockets.
  289. Thus applications like tcpdump will be able to see local netlink
  290. messages if they tap into the netlink device, record pcaps for further
  291. diagnostics, etc. This is mostly intended for developers or support
  292. to debug netlink issues. If unsure, say N.
  293. config NET_VRF
  294. tristate "Virtual Routing and Forwarding (Lite)"
  295. depends on IP_MULTIPLE_TABLES
  296. depends on NET_L3_MASTER_DEV
  297. depends on IPV6 || IPV6=n
  298. depends on IPV6_MULTIPLE_TABLES || IPV6=n
  299. ---help---
  300. This option enables the support for mapping interfaces into VRF's. The
  301. support enables VRF devices.
  302. config VSOCKMON
  303. tristate "Virtual vsock monitoring device"
  304. depends on VHOST_VSOCK
  305. ---help---
  306. This option enables a monitoring net device for vsock sockets. It is
  307. mostly intended for developers or support to debug vsock issues. If
  308. unsure, say N.
  309. endif # NET_CORE
  310. config SUNGEM_PHY
  311. tristate
  312. source "drivers/net/arcnet/Kconfig"
  313. source "drivers/atm/Kconfig"
  314. source "drivers/net/caif/Kconfig"
  315. source "drivers/net/dsa/Kconfig"
  316. source "drivers/net/ethernet/Kconfig"
  317. source "drivers/net/fddi/Kconfig"
  318. source "drivers/net/hippi/Kconfig"
  319. config NET_SB1000
  320. tristate "General Instruments Surfboard 1000"
  321. depends on PNP
  322. ---help---
  323. This is a driver for the General Instrument (also known as
  324. NextLevel) SURFboard 1000 internal
  325. cable modem. This is an ISA card which is used by a number of cable
  326. TV companies to provide cable modem access. It's a one-way
  327. downstream-only cable modem, meaning that your upstream net link is
  328. provided by your regular phone modem.
  329. At present this driver only compiles as a module, so say M here if
  330. you have this card. The module will be called sb1000. Then read
  331. <file:Documentation/networking/device_drivers/sb1000.txt> for
  332. information on how to use this module, as it needs special ppp
  333. scripts for establishing a connection. Further documentation
  334. and the necessary scripts can be found at:
  335. <http://www.jacksonville.net/~fventuri/>
  336. <http://home.adelphia.net/~siglercm/sb1000.html>
  337. <http://linuxpower.cx/~cable/>
  338. If you don't have this card, of course say N.
  339. source "drivers/net/phy/Kconfig"
  340. source "drivers/net/plip/Kconfig"
  341. source "drivers/net/ppp/Kconfig"
  342. source "drivers/net/slip/Kconfig"
  343. source "drivers/s390/net/Kconfig"
  344. source "drivers/net/usb/Kconfig"
  345. source "drivers/net/wireless/Kconfig"
  346. source "drivers/net/wimax/Kconfig"
  347. source "drivers/net/wan/Kconfig"
  348. source "drivers/net/ieee802154/Kconfig"
  349. config XEN_NETDEV_FRONTEND
  350. tristate "Xen network device frontend driver"
  351. depends on XEN
  352. select XEN_XENBUS_FRONTEND
  353. default y
  354. help
  355. This driver provides support for Xen paravirtual network
  356. devices exported by a Xen network driver domain (often
  357. domain 0).
  358. The corresponding Linux backend driver is enabled by the
  359. CONFIG_XEN_NETDEV_BACKEND option.
  360. If you are compiling a kernel for use as Xen guest, you
  361. should say Y here. To compile this driver as a module, chose
  362. M here: the module will be called xen-netfront.
  363. config XEN_NETDEV_BACKEND
  364. tristate "Xen backend network device"
  365. depends on XEN_BACKEND
  366. help
  367. This driver allows the kernel to act as a Xen network driver
  368. domain which exports paravirtual network devices to other
  369. Xen domains. These devices can be accessed by any operating
  370. system that implements a compatible front end.
  371. The corresponding Linux frontend driver is enabled by the
  372. CONFIG_XEN_NETDEV_FRONTEND configuration option.
  373. The backend driver presents a standard network device
  374. endpoint for each paravirtual network device to the driver
  375. domain network stack. These can then be bridged or routed
  376. etc in order to provide full network connectivity.
  377. If you are compiling a kernel to run in a Xen network driver
  378. domain (often this is domain 0) you should say Y here. To
  379. compile this driver as a module, chose M here: the module
  380. will be called xen-netback.
  381. config VMXNET3
  382. tristate "VMware VMXNET3 ethernet driver"
  383. depends on PCI && INET
  384. depends on !(PAGE_SIZE_64KB || ARM64_64K_PAGES || \
  385. IA64_PAGE_SIZE_64KB || MICROBLAZE_64K_PAGES || \
  386. PARISC_PAGE_SIZE_64KB || PPC_64K_PAGES)
  387. help
  388. This driver supports VMware's vmxnet3 virtual ethernet NIC.
  389. To compile this driver as a module, choose M here: the
  390. module will be called vmxnet3.
  391. config FUJITSU_ES
  392. tristate "FUJITSU Extended Socket Network Device driver"
  393. depends on ACPI
  394. help
  395. This driver provides support for Extended Socket network device
  396. on Extended Partitioning of FUJITSU PRIMEQUEST 2000 E2 series.
  397. config THUNDERBOLT_NET
  398. tristate "Networking over Thunderbolt cable"
  399. depends on THUNDERBOLT && INET
  400. help
  401. Select this if you want to create network between two
  402. computers over a Thunderbolt cable. The driver supports Apple
  403. ThunderboltIP protocol and allows communication with any host
  404. supporting the same protocol including Windows and macOS.
  405. To compile this driver a module, choose M here. The module will be
  406. called thunderbolt-net.
  407. source "drivers/net/hyperv/Kconfig"
  408. config NETDEVSIM
  409. tristate "Simulated networking device"
  410. depends on DEBUG_FS
  411. select NET_DEVLINK
  412. help
  413. This driver is a developer testing tool and software model that can
  414. be used to test various control path networking APIs, especially
  415. HW-offload related.
  416. To compile this driver as a module, choose M here: the module
  417. will be called netdevsim.
  418. config NET_FAILOVER
  419. tristate "Failover driver"
  420. select FAILOVER
  421. help
  422. This provides an automated failover mechanism via APIs to create
  423. and destroy a failover master netdev and manages a primary and
  424. standby slave netdevs that get registered via the generic failover
  425. infrastructure. This can be used by paravirtual drivers to enable
  426. an alternate low latency datapath. It also enables live migration of
  427. a VM with direct attached VF by failing over to the paravirtual
  428. datapath when the VF is unplugged.
  429. endif # NETDEVICES