Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

net: allow rps/rfs related configs to be switched

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>

authored by

Jason Xing and committed by
Paolo Abeni
9b6a30fe 98aa546a

+9 -3
+9 -3
net/Kconfig
··· 290 290 If unsure, say 17. 291 291 292 292 config RPS 293 - bool 293 + bool "Receive packet steering" 294 294 depends on SMP && SYSFS 295 295 default y 296 + help 297 + Software receive side packet steering (RPS) distributes the 298 + load of received packet processing across multiple CPUs. 296 299 297 300 config RFS_ACCEL 298 - bool 301 + bool "Hardware acceleration of RFS" 299 302 depends on RPS 300 303 select CPU_RMAP 301 304 default y 305 + help 306 + Allowing drivers for multiqueue hardware with flow filter tables to 307 + accelerate RFS. 302 308 303 309 config SOCK_RX_QUEUE_MAPPING 304 310 bool ··· 357 351 BPF_MAP_TYPE_SOCKMAP. 358 352 359 353 config NET_FLOW_LIMIT 360 - bool 354 + bool "Net flow limit" 361 355 depends on RPS 362 356 default y 363 357 help