Linux 6.9-rc1
[linux-2.6-microblaze.git] / net / Kconfig
index 6b78f69..3e57ccf 100644 (file)
@@ -52,6 +52,11 @@ config NET_INGRESS
 config NET_EGRESS
        bool
 
+config NET_XGRESS
+       select NET_INGRESS
+       select NET_EGRESS
+       bool
+
 config NET_REDIRECT
        bool
 
@@ -68,6 +73,26 @@ source "net/iucv/Kconfig"
 source "net/smc/Kconfig"
 source "net/xdp/Kconfig"
 
+config NET_HANDSHAKE
+       bool
+       depends on SUNRPC || NVME_TARGET_TCP || NVME_TCP
+       default y
+
+config NET_HANDSHAKE_KUNIT_TEST
+       tristate "KUnit tests for the handshake upcall mechanism" if !KUNIT_ALL_TESTS
+       default KUNIT_ALL_TESTS
+       depends on KUNIT
+       help
+         This builds the KUnit tests for the handshake upcall mechanism.
+
+         KUnit tests run during boot and output the results to the debug
+         log in TAP format (https://testanything.org/). Only useful for
+         kernel devs running KUnit test harness and are not for inclusion
+         into a production build.
+
+         For more information on KUnit and unit tests in general, refer
+         to the KUnit documentation in Documentation/dev-tools/kunit/.
+
 config INET
        bool "TCP/IP networking"
        help
@@ -204,13 +229,10 @@ config BRIDGE_NETFILTER
 source "net/netfilter/Kconfig"
 source "net/ipv4/netfilter/Kconfig"
 source "net/ipv6/netfilter/Kconfig"
-source "net/decnet/netfilter/Kconfig"
 source "net/bridge/netfilter/Kconfig"
 
 endif
 
-source "net/bpfilter/Kconfig"
-
 source "net/dccp/Kconfig"
 source "net/sctp/Kconfig"
 source "net/rds/Kconfig"
@@ -221,9 +243,8 @@ source "net/802/Kconfig"
 source "net/bridge/Kconfig"
 source "net/dsa/Kconfig"
 source "net/8021q/Kconfig"
-source "net/decnet/Kconfig"
 source "net/llc/Kconfig"
-source "drivers/net/appletalk/Kconfig"
+source "net/appletalk/Kconfig"
 source "net/x25/Kconfig"
 source "net/lapb/Kconfig"
 source "net/phonet/Kconfig"
@@ -253,6 +274,18 @@ config PCPU_DEV_REFCNT
          network device refcount are using per cpu variables if this option is set.
          This can be forced to N to detect underflows (with a performance drop).
 
+config MAX_SKB_FRAGS
+       int "Maximum number of fragments per skb_shared_info"
+       range 17 45
+       default 17
+       help
+         Having more fragments per skb_shared_info can help GRO efficiency.
+         This helps BIG TCP workloads, but might expose bugs in some
+         legacy drivers.
+         This also increases memory overhead of small packets,
+         and in drivers using build_skb().
+         If unsure, say 17.
+
 config RPS
        bool
        depends on SMP && SYSFS
@@ -294,10 +327,11 @@ config CGROUP_NET_CLASSID
 
 config NET_RX_BUSY_POLL
        bool
-       default y if !PREEMPT_RT
+       default y if !PREEMPT_RT || (PREEMPT_RT && !NETCONSOLE)
 
 config BQL
        bool
+       prompt "Enable Byte Queue Limits"
        depends on SYSFS
        select DQL
        default y
@@ -473,4 +507,13 @@ config NETDEV_ADDR_LIST_TEST
        default KUNIT_ALL_TESTS
        depends on KUNIT
 
+config NET_TEST
+       tristate "KUnit tests for networking" if !KUNIT_ALL_TESTS
+       depends on KUNIT
+       default KUNIT_ALL_TESTS
+       help
+         KUnit tests covering core networking infra, such as sk_buff.
+
+         If unsure, say N.
+
 endif   # if NET