Kconfig 17 KB

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