Skip to contentSkip to conversation

net: bql: allow the config to be disabled

PATCH Applied Breno Leitao 2 participants 2 messages Feb 15, 2024 – Feb 18, 2024

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 net: bql: allow the config to be disabled

It is impossible to disable BQL individually today, since there is no prompt for the Kconfig entry, so, the BQL is always enabled if SYSFS is enabled.

Create a prompt entry for BQL, so, it could be enabled or disabled at build time independently of SYSFS.

---
 net/Kconfig | 1 +
 1 file changed, 1 insertion(+)
net/Kconfig +1 -0
index 4adc47d0c9c2..3e57ccf0da27 100644
@@ -331,6 +331,7 @@ config NET_RX_BUSY_POLL
 
 config BQL
 	bool
+	prompt "Enable Byte Queue Limits"
 	depends on SYSFS
 	select DQL
 	default y
Signature · 1 line
2.39.3
#1 lore raw
This patch was applied to netdev/net-next.git (main) by David S. Miller <[email protected]>:

Hello:

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

Quoted 8 lines · On Thu, 15 Feb 2024 09:05:07 -0800 you wrote:

It is impossible to disable BQL individually today, since there is no prompt for the Kconfig entry, so, the BQL is always enabled if SYSFS is enabled.

Create a prompt entry for BQL, so, it could be enabled or disabled at build time independently of SYSFS.

[...]

Here is the summary with links:
- [net-next] net: bql: allow the config to be disabled

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

You are awesome, thank you!

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