Re: [PATCH] net: ethernet: ti: am65-cpsw-qos: fix non-bql configs
From: Arnd Bergmann
Date: Wed Feb 28 2024 - 09:54:52 EST
On Wed, Feb 28, 2024, at 15:44, Dave Taht wrote:
> but why do you want to disable BQL?
I have no idea, I'm just doing randconfig build tests.
I assume Breno has an answer for that, at least he
sent the patch that triggered the regression, see below.
Arnd
commit ea7f3cfaa58873bbe271577efa800647e30f18bd
Author: Breno Leitao <leitao@xxxxxxxxxx>
Date: Thu Feb 15 09:05:07 2024 -0800
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@xxxxxxxxxx>
Signed-off-by: David S. Miller <davem@xxxxxxxxxxxxx>
diff --git a/net/Kconfig b/net/Kconfig
index 4adc47d0c9c2..3e57ccf0da27 100644
--- a/net/Kconfig
+++ b/net/Kconfig
@@ -331,6 +331,7 @@ config NET_RX_BUSY_POLL
config BQL
bool
+ prompt "Enable Byte Queue Limits"
depends on SYSFS
select DQL
default y