]> www.infradead.org Git - users/jedix/linux-maple.git/commitdiff
net: allow rps/rfs related configs to be switched
authorJason Xing <kernelxing@tencent.com>
Wed, 5 Jun 2024 02:29:32 +0000 (10:29 +0800)
committerPaolo Abeni <pabeni@redhat.com>
Thu, 6 Jun 2024 11:18:48 +0000 (13:18 +0200)
After John Sperbeck reported a compile error if the CONFIG_RFS_ACCEL
is off, I found that I cannot easily enable/disable the config
because of lack of the prompt when using 'make menuconfig'. Therefore,
I decided to change rps/rfc related configs altogether.

Signed-off-by: Jason Xing <kernelxing@tencent.com>
Link: https://lore.kernel.org/r/20240605022932.33703-1-kerneljasonxing@gmail.com
Signed-off-by: Paolo Abeni <pabeni@redhat.com>
net/Kconfig

index f0a8692496ffa63a2fb96bd2ae764df9f9fe311b..9fe65fa26e48c5e72f809b407edaa42c0d3db41d 100644 (file)
@@ -290,15 +290,21 @@ config MAX_SKB_FRAGS
          If unsure, say 17.
 
 config RPS
-       bool
+       bool "Receive packet steering"
        depends on SMP && SYSFS
        default y
+       help
+         Software receive side packet steering (RPS) distributes the
+         load of received packet processing across multiple CPUs.
 
 config RFS_ACCEL
-       bool
+       bool "Hardware acceleration of RFS"
        depends on RPS
        select CPU_RMAP
        default y
+       help
+         Allowing drivers for multiqueue hardware with flow filter tables to
+         accelerate RFS.
 
 config SOCK_RX_QUEUE_MAPPING
        bool
@@ -351,7 +357,7 @@ config BPF_STREAM_PARSER
          BPF_MAP_TYPE_SOCKMAP.
 
 config NET_FLOW_LIMIT
-       bool
+       bool "Net flow limit"
        depends on RPS
        default y
        help