^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1) # SPDX-License-Identifier: GPL-2.0-only
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 2) #
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 3) # Network configuration
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 4) #
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 5)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 6) menuconfig NET
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 7) bool "Networking support"
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 8) select NLATTR
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 9) select GENERIC_NET_UTILS
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 10) select BPF
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 11) help
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 12) Unless you really know what you are doing, you should say Y here.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 13) The reason is that some programs need kernel networking support even
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 14) when running on a stand-alone machine that isn't connected to any
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 15) other computer.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 16)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 17) If you are upgrading from an older kernel, you
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 18) should consider updating your networking tools too because changes
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 19) in the kernel and the tools often go hand in hand. The tools are
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 20) contained in the package net-tools, the location and version number
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 21) of which are given in <file:Documentation/Changes>.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 22)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 23) For a general introduction to Linux networking, it is highly
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 24) recommended to read the NET-HOWTO, available from
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 25) <http://www.tldp.org/docs.html#howto>.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 26)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 27) if NET
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 28)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 29) config WANT_COMPAT_NETLINK_MESSAGES
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 30) bool
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 31) help
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 32) This option can be selected by other options that need compat
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 33) netlink messages.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 34)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 35) config COMPAT_NETLINK_MESSAGES
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 36) def_bool y
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 37) depends on COMPAT
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 38) depends on WEXT_CORE || WANT_COMPAT_NETLINK_MESSAGES
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 39) help
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 40) This option makes it possible to send different netlink messages
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 41) to tasks depending on whether the task is a compat task or not. To
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 42) achieve this, you need to set skb_shinfo(skb)->frag_list to the
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 43) compat skb before sending the skb, the netlink code will sort out
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 44) which message to actually pass to the task.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 45)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 46) Newly written code should NEVER need this option but do
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 47) compat-independent messages instead!
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 48)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 49) config NET_INGRESS
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 50) bool
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 51)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 52) config NET_EGRESS
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 53) bool
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 54)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 55) config NET_REDIRECT
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 56) bool
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 57)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 58) config SKB_EXTENSIONS
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 59) bool
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 60)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 61) menu "Networking options"
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 62)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 63) source "net/packet/Kconfig"
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 64) source "net/unix/Kconfig"
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 65) source "net/tls/Kconfig"
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 66) source "net/xfrm/Kconfig"
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 67) source "net/iucv/Kconfig"
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 68) source "net/smc/Kconfig"
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 69) source "net/xdp/Kconfig"
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 70)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 71) config INET
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 72) bool "TCP/IP networking"
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 73) help
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 74) These are the protocols used on the Internet and on most local
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 75) Ethernets. It is highly recommended to say Y here (this will enlarge
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 76) your kernel by about 400 KB), since some programs (e.g. the X window
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 77) system) use TCP/IP even if your machine is not connected to any
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 78) other computer. You will get the so-called loopback device which
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 79) allows you to ping yourself (great fun, that!).
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 80)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 81) For an excellent introduction to Linux networking, please read the
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 82) Linux Networking HOWTO, available from
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 83) <http://www.tldp.org/docs.html#howto>.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 84)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 85) If you say Y here and also to "/proc file system support" and
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 86) "Sysctl support" below, you can change various aspects of the
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 87) behavior of the TCP/IP code by writing to the (virtual) files in
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 88) /proc/sys/net/ipv4/*; the options are explained in the file
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 89) <file:Documentation/networking/ip-sysctl.rst>.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 90)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 91) Short answer: say Y.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 92)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 93) if INET
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 94) source "net/ipv4/Kconfig"
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 95) source "net/ipv6/Kconfig"
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 96) source "net/netlabel/Kconfig"
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 97) source "net/mptcp/Kconfig"
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 98)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 99) endif # if INET
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 100)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 101) config NETWORK_SECMARK
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 102) bool "Security Marking"
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 103) help
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 104) This enables security marking of network packets, similar
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 105) to nfmark, but designated for security purposes.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 106) If you are unsure how to answer this question, answer N.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 107)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 108) config NET_PTP_CLASSIFY
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 109) def_bool n
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 110)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 111) config NETWORK_PHY_TIMESTAMPING
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 112) bool "Timestamping in PHY devices"
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 113) select NET_PTP_CLASSIFY
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 114) help
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 115) This allows timestamping of network packets by PHYs (or
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 116) other MII bus snooping devices) with hardware timestamping
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 117) capabilities. This option adds some overhead in the transmit
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 118) and receive paths.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 119)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 120) If you are unsure how to answer this question, answer N.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 121)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 122) menuconfig NETFILTER
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 123) bool "Network packet filtering framework (Netfilter)"
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 124) help
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 125) Netfilter is a framework for filtering and mangling network packets
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 126) that pass through your Linux box.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 127)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 128) The most common use of packet filtering is to run your Linux box as
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 129) a firewall protecting a local network from the Internet. The type of
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 130) firewall provided by this kernel support is called a "packet
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 131) filter", which means that it can reject individual network packets
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 132) based on type, source, destination etc. The other kind of firewall,
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 133) a "proxy-based" one, is more secure but more intrusive and more
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 134) bothersome to set up; it inspects the network traffic much more
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 135) closely, modifies it and has knowledge about the higher level
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 136) protocols, which a packet filter lacks. Moreover, proxy-based
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 137) firewalls often require changes to the programs running on the local
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 138) clients. Proxy-based firewalls don't need support by the kernel, but
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 139) they are often combined with a packet filter, which only works if
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 140) you say Y here.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 141)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 142) You should also say Y here if you intend to use your Linux box as
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 143) the gateway to the Internet for a local network of machines without
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 144) globally valid IP addresses. This is called "masquerading": if one
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 145) of the computers on your local network wants to send something to
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 146) the outside, your box can "masquerade" as that computer, i.e. it
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 147) forwards the traffic to the intended outside destination, but
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 148) modifies the packets to make it look like they came from the
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 149) firewall box itself. It works both ways: if the outside host
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 150) replies, the Linux box will silently forward the traffic to the
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 151) correct local computer. This way, the computers on your local net
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 152) are completely invisible to the outside world, even though they can
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 153) reach the outside and can receive replies. It is even possible to
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 154) run globally visible servers from within a masqueraded local network
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 155) using a mechanism called portforwarding. Masquerading is also often
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 156) called NAT (Network Address Translation).
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 157)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 158) Another use of Netfilter is in transparent proxying: if a machine on
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 159) the local network tries to connect to an outside host, your Linux
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 160) box can transparently forward the traffic to a local server,
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 161) typically a caching proxy server.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 162)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 163) Yet another use of Netfilter is building a bridging firewall. Using
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 164) a bridge with Network packet filtering enabled makes iptables "see"
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 165) the bridged traffic. For filtering on the lower network and Ethernet
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 166) protocols over the bridge, use ebtables (under bridge netfilter
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 167) configuration).
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 168)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 169) Various modules exist for netfilter which replace the previous
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 170) masquerading (ipmasqadm), packet filtering (ipchains), transparent
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 171) proxying, and portforwarding mechanisms. Please see
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 172) <file:Documentation/Changes> under "iptables" for the location of
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 173) these packages.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 174)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 175) if NETFILTER
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 176)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 177) config NETFILTER_ADVANCED
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 178) bool "Advanced netfilter configuration"
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 179) depends on NETFILTER
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 180) default y
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 181) help
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 182) If you say Y here you can select between all the netfilter modules.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 183) If you say N the more unusual ones will not be shown and the
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 184) basic ones needed by most people will default to 'M'.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 185)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 186) If unsure, say Y.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 187)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 188) config BRIDGE_NETFILTER
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 189) tristate "Bridged IP/ARP packets filtering"
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 190) depends on BRIDGE
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 191) depends on NETFILTER && INET
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 192) depends on NETFILTER_ADVANCED
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 193) select NETFILTER_FAMILY_BRIDGE
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 194) select SKB_EXTENSIONS
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 195) help
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 196) Enabling this option will let arptables resp. iptables see bridged
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 197) ARP resp. IP traffic. If you want a bridging firewall, you probably
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 198) want this option enabled.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 199) Enabling or disabling this option doesn't enable or disable
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 200) ebtables.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 201)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 202) If unsure, say N.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 203)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 204) source "net/netfilter/Kconfig"
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 205) source "net/ipv4/netfilter/Kconfig"
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 206) source "net/ipv6/netfilter/Kconfig"
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 207) source "net/decnet/netfilter/Kconfig"
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 208) source "net/bridge/netfilter/Kconfig"
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 209)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 210) endif
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 211)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 212) source "net/bpfilter/Kconfig"
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 213)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 214) source "net/dccp/Kconfig"
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 215) source "net/sctp/Kconfig"
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 216) source "net/rds/Kconfig"
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 217) source "net/tipc/Kconfig"
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 218) source "net/atm/Kconfig"
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 219) source "net/l2tp/Kconfig"
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 220) source "net/802/Kconfig"
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 221) source "net/bridge/Kconfig"
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 222) source "net/dsa/Kconfig"
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 223) source "net/8021q/Kconfig"
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 224) source "net/decnet/Kconfig"
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 225) source "net/llc/Kconfig"
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 226) source "drivers/net/appletalk/Kconfig"
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 227) source "net/x25/Kconfig"
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 228) source "net/lapb/Kconfig"
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 229) source "net/phonet/Kconfig"
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 230) source "net/6lowpan/Kconfig"
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 231) source "net/ieee802154/Kconfig"
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 232) source "net/mac802154/Kconfig"
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 233) source "net/sched/Kconfig"
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 234) source "net/dcb/Kconfig"
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 235) source "net/dns_resolver/Kconfig"
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 236) source "net/batman-adv/Kconfig"
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 237) source "net/openvswitch/Kconfig"
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 238) source "net/vmw_vsock/Kconfig"
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 239) source "net/netlink/Kconfig"
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 240) source "net/mpls/Kconfig"
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 241) source "net/nsh/Kconfig"
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 242) source "net/hsr/Kconfig"
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 243) source "net/switchdev/Kconfig"
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 244) source "net/l3mdev/Kconfig"
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 245) source "net/qrtr/Kconfig"
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 246) source "net/ncsi/Kconfig"
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 247)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 248) config RPS
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 249) bool
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 250) depends on SMP && SYSFS
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 251) default y
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 252)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 253) config RFS_ACCEL
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 254) bool
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 255) depends on RPS
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 256) select CPU_RMAP
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 257) default y
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 258)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 259) config XPS
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 260) bool
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 261) depends on SMP
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 262) default y
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 263)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 264) config HWBM
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 265) bool
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 266)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 267) config CGROUP_NET_PRIO
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 268) bool "Network priority cgroup"
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 269) depends on CGROUPS
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 270) select SOCK_CGROUP_DATA
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 271) help
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 272) Cgroup subsystem for use in assigning processes to network priorities on
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 273) a per-interface basis.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 274)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 275) config CGROUP_NET_CLASSID
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 276) bool "Network classid cgroup"
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 277) depends on CGROUPS
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 278) select SOCK_CGROUP_DATA
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 279) help
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 280) Cgroup subsystem for use as general purpose socket classid marker that is
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 281) being used in cls_cgroup and for netfilter matching.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 282)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 283) config NET_RX_BUSY_POLL
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 284) bool
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 285) default y
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 286)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 287) config BQL
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 288) bool
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 289) depends on SYSFS
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 290) select DQL
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 291) default y
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 292)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 293) config BPF_JIT
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 294) bool "enable BPF Just In Time compiler"
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 295) depends on HAVE_CBPF_JIT || HAVE_EBPF_JIT
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 296) depends on MODULES
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 297) help
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 298) Berkeley Packet Filter filtering capabilities are normally handled
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 299) by an interpreter. This option allows kernel to generate a native
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 300) code when filter is loaded in memory. This should speedup
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 301) packet sniffing (libpcap/tcpdump).
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 302)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 303) Note, admin should enable this feature changing:
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 304) /proc/sys/net/core/bpf_jit_enable
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 305) /proc/sys/net/core/bpf_jit_harden (optional)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 306) /proc/sys/net/core/bpf_jit_kallsyms (optional)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 307)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 308) config BPF_STREAM_PARSER
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 309) bool "enable BPF STREAM_PARSER"
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 310) depends on INET
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 311) depends on BPF_SYSCALL
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 312) depends on CGROUP_BPF
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 313) select STREAM_PARSER
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 314) select NET_SOCK_MSG
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 315) help
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 316) Enabling this allows a stream parser to be used with
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 317) BPF_MAP_TYPE_SOCKMAP.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 318)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 319) BPF_MAP_TYPE_SOCKMAP provides a map type to use with network sockets.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 320) It can be used to enforce socket policy, implement socket redirects,
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 321) etc.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 322)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 323) config NET_FLOW_LIMIT
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 324) bool
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 325) depends on RPS
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 326) default y
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 327) help
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 328) The network stack has to drop packets when a receive processing CPU's
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 329) backlog reaches netdev_max_backlog. If a few out of many active flows
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 330) generate the vast majority of load, drop their traffic earlier to
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 331) maintain capacity for the other flows. This feature provides servers
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 332) with many clients some protection against DoS by a single (spoofed)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 333) flow that greatly exceeds average workload.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 334)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 335) menu "Network testing"
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 336)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 337) config NET_PKTGEN
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 338) tristate "Packet Generator (USE WITH CAUTION)"
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 339) depends on INET && PROC_FS
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 340) help
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 341) This module will inject preconfigured packets, at a configurable
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 342) rate, out of a given interface. It is used for network interface
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 343) stress testing and performance analysis. If you don't understand
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 344) what was just said, you don't need it: say N.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 345)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 346) Documentation on how to use the packet generator can be found
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 347) at <file:Documentation/networking/pktgen.rst>.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 348)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 349) To compile this code as a module, choose M here: the
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 350) module will be called pktgen.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 351)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 352) config NET_DROP_MONITOR
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 353) tristate "Network packet drop alerting service"
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 354) depends on INET && TRACEPOINTS
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 355) help
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 356) This feature provides an alerting service to userspace in the
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 357) event that packets are discarded in the network stack. Alerts
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 358) are broadcast via netlink socket to any listening user space
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 359) process. If you don't need network drop alerts, or if you are ok
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 360) just checking the various proc files and other utilities for
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 361) drop statistics, say N here.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 362)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 363) endmenu
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 364)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 365) endmenu
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 366)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 367) source "net/ax25/Kconfig"
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 368) source "net/can/Kconfig"
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 369) source "net/bluetooth/Kconfig"
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 370) source "net/rxrpc/Kconfig"
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 371) source "net/kcm/Kconfig"
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 372) source "net/strparser/Kconfig"
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 373)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 374) config FIB_RULES
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 375) bool
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 376)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 377) menuconfig WIRELESS
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 378) bool "Wireless"
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 379) depends on !S390
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 380) default y
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 381)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 382) if WIRELESS
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 383)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 384) source "net/wireless/Kconfig"
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 385) source "net/mac80211/Kconfig"
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 386)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 387) endif # WIRELESS
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 388)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 389) source "net/wimax/Kconfig"
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 390)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 391) source "net/rfkill/Kconfig"
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 392) source "net/9p/Kconfig"
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 393) source "net/caif/Kconfig"
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 394) source "net/ceph/Kconfig"
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 395) source "net/nfc/Kconfig"
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 396) source "net/psample/Kconfig"
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 397) source "net/ife/Kconfig"
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 398)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 399) config LWTUNNEL
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 400) bool "Network light weight tunnels"
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 401) help
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 402) This feature provides an infrastructure to support light weight
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 403) tunnels like mpls. There is no netdevice associated with a light
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 404) weight tunnel endpoint. Tunnel encapsulation parameters are stored
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 405) with light weight tunnel state associated with fib routes.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 406)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 407) config LWTUNNEL_BPF
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 408) bool "Execute BPF program as route nexthop action"
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 409) depends on LWTUNNEL && INET
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 410) default y if LWTUNNEL=y
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 411) help
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 412) Allows to run BPF programs as a nexthop action following a route
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 413) lookup for incoming and outgoing packets.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 414)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 415) config DST_CACHE
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 416) bool
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 417) default n
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 418)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 419) config GRO_CELLS
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 420) bool
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 421) default n
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 422)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 423) config SOCK_VALIDATE_XMIT
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 424) bool
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 425)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 426) config NET_SOCK_MSG
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 427) bool
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 428) default n
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 429) help
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 430) The NET_SOCK_MSG provides a framework for plain sockets (e.g. TCP) or
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 431) ULPs (upper layer modules, e.g. TLS) to process L7 application data
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 432) with the help of BPF programs.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 433)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 434) config NET_DEVLINK
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 435) bool
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 436) default n
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 437)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 438) config PAGE_POOL
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 439) bool
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 440)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 441) config FAILOVER
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 442) tristate "Generic failover module"
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 443) help
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 444) The failover module provides a generic interface for paravirtual
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 445) drivers to register a netdev and a set of ops with a failover
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 446) instance. The ops are used as event handlers that get called to
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 447) handle netdev register/unregister/link change/name change events
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 448) on slave pci ethernet devices with the same mac address as the
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 449) failover netdev. This enables paravirtual drivers to use a
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 450) VF as an accelerated low latency datapath. It also allows live
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 451) migration of VMs with direct attached VFs by failing over to the
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 452) paravirtual datapath when the VF is unplugged.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 453)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 454) config ETHTOOL_NETLINK
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 455) bool "Netlink interface for ethtool"
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 456) default y
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 457) help
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 458) An alternative userspace interface for ethtool based on generic
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 459) netlink. It provides better extensibility and some new features,
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 460) e.g. notification messages.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 461)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 462) endif # if NET
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 463)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 464) # Used by archs to tell that they support BPF JIT compiler plus which flavour.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 465) # Only one of the two can be selected for a specific arch since eBPF JIT supersedes
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 466) # the cBPF JIT.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 467)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 468) # Classic BPF JIT (cBPF)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 469) config HAVE_CBPF_JIT
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 470) bool
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 471)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 472) # Extended BPF JIT (eBPF)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 473) config HAVE_EBPF_JIT
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 474) bool