Skip to contentSkip to conversation

net: allow rps/rfs related configs to be switched

PATCH Applied Jason Xing 2 participants 2 messages Jun 5, 2024 – Jun 6, 2024

Subsystems (2)
lore
Share & tools
lore

Jason Xing

author
#0 lore raw

PATCH v2 1/1 net: allow rps/rfs related configs to be switched

From: Jason Xing <[email protected]>

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.

---
v2

1. add 'help' and remove 'drop' from prompt (Simon)

---
 net/Kconfig | 12 +++++++++---
 1 file changed, 9 insertions(+), 3 deletions(-)
net/Kconfig +9 -3
index f0a8692496ff..9fe65fa26e48 100644
@@ -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
Signature · 1 line
2.37.3
#1 lore raw
This patch was applied to netdev/net-next.git (main) by Paolo Abeni <[email protected]>:

Hello:

This patch was applied to netdev/net-next.git (main) by Paolo Abeni <[email protected]>:

Quoted 8 lines · On Wed, 5 Jun 2024 10:29:32 +0800 you wrote:

From: Jason Xing <[email protected]>

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.

[...]

Here is the summary with links:
- [net-next,v2] net: allow rps/rfs related configs to be switched

    https://git.kernel.org/netdev/net-next/c/9b6a30febddf

You are awesome, thank you!

Signature · 2 lines
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html