All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH rtw-next] wifi: rtw89: pci: enlarge retry times of RX tag to 1000
@ 2025-05-09  1:34 Ping-Ke Shih
  2025-05-16  0:32 ` Ping-Ke Shih
  0 siblings, 1 reply; 2+ messages in thread
From: Ping-Ke Shih @ 2025-05-09  1:34 UTC (permalink / raw)
  To: linux-wireless; +Cc: zohrlaffz

RX tag is sequence number to ensure RX DMA is complete. On platform
Gigabyte X870 AORUS ELITE WIFI7, sometimes it needs longer retry times
to complete RX DMA, or driver throws warnings and connection drops:

  rtw89_8922ae 0000:07:00.0: failed to update 162 RXBD info: -11
  rtw89_8922ae 0000:07:00.0: failed to update 163 RXBD info: -11
  rtw89_8922ae 0000:07:00.0: failed to update 32 RXBD info: -11
  rtw89_8922ae 0000:07:00.0: failed to release TX skbs

Fixes: 0bc7d1d4e63c ("wifi: rtw89: pci: validate RX tag for RXQ and RPQ")
Reported-by: Samuel Reyes <zohrlaffz@gmail.com>
Closes: https://lore.kernel.org/linux-wireless/f4355539f3ac46bbaf9c586d059a8cbb@realtek.com/T/#t
Signed-off-by: Ping-Ke Shih <pkshih@realtek.com>
---
 drivers/net/wireless/realtek/rtw89/pci.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/net/wireless/realtek/rtw89/pci.c b/drivers/net/wireless/realtek/rtw89/pci.c
index c2fe5a898dc7..28e696476c5b 100644
--- a/drivers/net/wireless/realtek/rtw89/pci.c
+++ b/drivers/net/wireless/realtek/rtw89/pci.c
@@ -228,7 +228,7 @@ int rtw89_pci_sync_skb_for_device_and_validate_rx_info(struct rtw89_dev *rtwdev,
 						       struct sk_buff *skb)
 {
 	struct rtw89_pci_rx_info *rx_info = RTW89_PCI_RX_SKB_CB(skb);
-	int rx_tag_retry = 100;
+	int rx_tag_retry = 1000;
 	int ret;
 
 	do {
-- 
2.25.1


^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH rtw-next] wifi: rtw89: pci: enlarge retry times of RX tag to 1000
  2025-05-09  1:34 [PATCH rtw-next] wifi: rtw89: pci: enlarge retry times of RX tag to 1000 Ping-Ke Shih
@ 2025-05-16  0:32 ` Ping-Ke Shih
  0 siblings, 0 replies; 2+ messages in thread
From: Ping-Ke Shih @ 2025-05-16  0:32 UTC (permalink / raw)
  To: Ping-Ke Shih, linux-wireless; +Cc: zohrlaffz

Ping-Ke Shih <pkshih@realtek.com> wrote:

> RX tag is sequence number to ensure RX DMA is complete. On platform
> Gigabyte X870 AORUS ELITE WIFI7, sometimes it needs longer retry times
> to complete RX DMA, or driver throws warnings and connection drops:
> 
>   rtw89_8922ae 0000:07:00.0: failed to update 162 RXBD info: -11
>   rtw89_8922ae 0000:07:00.0: failed to update 163 RXBD info: -11
>   rtw89_8922ae 0000:07:00.0: failed to update 32 RXBD info: -11
>   rtw89_8922ae 0000:07:00.0: failed to release TX skbs
> 
> Fixes: 0bc7d1d4e63c ("wifi: rtw89: pci: validate RX tag for RXQ and RPQ")
> Reported-by: Samuel Reyes <zohrlaffz@gmail.com>
> Closes: https://lore.kernel.org/linux-wireless/f4355539f3ac46bbaf9c586d059a8cbb@realtek.com/T/#t
> Signed-off-by: Ping-Ke Shih <pkshih@realtek.com>

1 patch(es) applied to rtw-next branch of rtw.git, thanks.

dda27a47c036 wifi: rtw89: pci: enlarge retry times of RX tag to 1000

---
https://github.com/pkshih/rtw.git


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2025-05-16  0:32 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-05-09  1:34 [PATCH rtw-next] wifi: rtw89: pci: enlarge retry times of RX tag to 1000 Ping-Ke Shih
2025-05-16  0:32 ` Ping-Ke Shih

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.