From: Chris Chiu <redacted>
There will be crazy numbers of interrupts triggered by 8188cu and
8192cu module, around 8000~10000 interrupts per second, on the usb
host controller. Compare with the vendor driver source code, it's
mapping to the configuration CONFIG_USB_INTERRUPT_IN_PIPE and it is
disabled by default.
Since the interrupt transfer is neither used for TX/RX nor H2C
commands. Disable it to avoid the confusing interrupts for the
8188cu and 8192cu module which I only have for verification.
Signed-off-by: Chris Chiu <redacted>
---
drivers/net/wireless/realtek/rtl8xxxu/rtl8xxxu_core.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
On 01.07.21 18:33, chris.chiu@canonical.com wrote:
There will be crazy numbers of interrupts triggered by 8188cu and
8192cu module, around 8000~10000 interrupts per second, on the usb
host controller. Compare with the vendor driver source code, it's
mapping to the configuration CONFIG_USB_INTERRUPT_IN_PIPE and it is
disabled by default.
Since the interrupt transfer is neither used for TX/RX nor H2C
commands. Disable it to avoid the confusing interrupts for the
8188cu and 8192cu module which I only have for verification.
I tested the new code on the GARDENA smart gateway and it works as
expected. Interrupts are greatly reduced while the same level of TX/RX
performance could be measured as before the change: A (too) high
percentage of retransmissions, but otherwise fine.
Tested-by: reto.schneider@husqvarnagroup.com
Kind regards,
Reto
On 7/1/21 12:33 PM, chris.chiu@canonical.com wrote:
From: Chris Chiu <redacted>
There will be crazy numbers of interrupts triggered by 8188cu and
8192cu module, around 8000~10000 interrupts per second, on the usb
host controller. Compare with the vendor driver source code, it's
mapping to the configuration CONFIG_USB_INTERRUPT_IN_PIPE and it is
disabled by default.
Since the interrupt transfer is neither used for TX/RX nor H2C
commands. Disable it to avoid the confusing interrupts for the
8188cu and 8192cu module which I only have for verification.
Signed-off-by: Chris Chiu <redacted>
I remember noticing this earlier but never had a chance to dig into it.
Thanks for fixing this!
Acked-by: Jes Sorensen <Jes.Sorensen@gmail.com>
Jes
From: Kalle Valo <hidden> Date: 2021-08-21 18:17:41
chris.chiu@canonical.com wrote:
From: Chris Chiu <redacted>
There will be crazy numbers of interrupts triggered by 8188cu and
8192cu module, around 8000~10000 interrupts per second, on the usb
host controller. Compare with the vendor driver source code, it's
mapping to the configuration CONFIG_USB_INTERRUPT_IN_PIPE and it is
disabled by default.
Since the interrupt transfer is neither used for TX/RX nor H2C
commands. Disable it to avoid the excessive amount of interrupts
for the 8188cu and 8192cu module which I only have for verification.
Signed-off-by: Chris Chiu <redacted>
Tested-by: reto.schneider@husqvarnagroup.com
Acked-by: Jes Sorensen <Jes.Sorensen@gmail.com>