Skip to content

Commit

Permalink
net: bql: allow the config to be disabled
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
leitao authored and davem330 committed Feb 18, 2024
1 parent a6e0cb1 commit ea7f3cf
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions net/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -331,6 +331,7 @@ config NET_RX_BUSY_POLL

config BQL
bool
prompt "Enable Byte Queue Limits"
depends on SYSFS
select DQL
default y
Expand Down

0 comments on commit ea7f3cf

Please sign in to comment.