]> www.infradead.org Git - users/hch/block.git/commitdiff
net: bql: allow the config to be disabled
authorBreno Leitao <leitao@debian.org>
Thu, 15 Feb 2024 17:05:07 +0000 (09:05 -0800)
committerDavid S. Miller <davem@davemloft.net>
Sun, 18 Feb 2024 10:19:21 +0000 (10:19 +0000)
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.

Signed-off-by: Breno Leitao <leitao@debian.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/Kconfig

index 4adc47d0c9c2ac94fd1ef1b9f4b5544426e3567b..3e57ccf0da279ceff6fffe911c21cba75a33bf75 100644 (file)
@@ -331,6 +331,7 @@ config NET_RX_BUSY_POLL
 
 config BQL
        bool
+       prompt "Enable Byte Queue Limits"
        depends on SYSFS
        select DQL
        default y