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.

Signed-off-by: Breno Leitao <leitao@debian.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
Breno Leitao 2024-02-15 09:05:07 -08:00 committed by David S. Miller
parent a6e0cb150c
commit ea7f3cfaa5

View 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