netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] b43: Increase number of RX DMA slots
@ 2013-02-18  3:01 Larry Finger
       [not found] ` <1361156480-32566-1-git-send-email-Larry.Finger-tQ5ms3gMjBLk1uMJSBkQmQ@public.gmane.org>
  0 siblings, 1 reply; 18+ messages in thread
From: Larry Finger @ 2013-02-18  3:01 UTC (permalink / raw)
  To: linville-2XuSBdqkA4R54TAoqtyWWQ
  Cc: linux-wireless-u79uwXL29TY76Z2rM5mHXA, Larry Finger,
	netdev-u79uwXL29TY76Z2rM5mHXA, Bastian Bittorf, Stable

Bastian Bittorf reported that some of the silent freezes on a Linksys WRT54G
were due to overflow of the RX DMA ring buffer, which was created with 64
slots. That finding reminded me that I was seeing similar crashed on a netbook,
which also has a relatively slow processor. After increasing the number of
slots to 128, runs on the netbook that previously failed now worked; however,
I found that 109 slots had been used in one test. For that reason, the number
of slots is being increased to 256.

Signed-off-by: Larry Finger <Larry.Finger-tQ5ms3gMjBLk1uMJSBkQmQ@public.gmane.org>
Cc: Bastian Bittorf <bittorf-yxHw+vPQXZDZJqsBc5GL+g@public.gmane.org>
Cc: Stable <stable-u79uwXL29TY76Z2rM5mHXA@public.gmane.org>
---
---
 drivers/net/wireless/b43/dma.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/net/wireless/b43/dma.h b/drivers/net/wireless/b43/dma.h
index 315b96e..9fdd198 100644
--- a/drivers/net/wireless/b43/dma.h
+++ b/drivers/net/wireless/b43/dma.h
@@ -169,7 +169,7 @@ struct b43_dmadesc_generic {
 
 /* DMA engine tuning knobs */
 #define B43_TXRING_SLOTS		256
-#define B43_RXRING_SLOTS		64
+#define B43_RXRING_SLOTS		256
 #define B43_DMA0_RX_FW598_BUFSIZE	(B43_DMA0_RX_FW598_FO + IEEE80211_MAX_FRAME_LEN)
 #define B43_DMA0_RX_FW351_BUFSIZE	(B43_DMA0_RX_FW351_FO + IEEE80211_MAX_FRAME_LEN)
 
-- 
1.8.1.1

--
To unsubscribe from this list: send the line "unsubscribe linux-wireless" in
the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

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

end of thread, other threads:[~2013-02-20 15:49 UTC | newest]

Thread overview: 18+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-02-18  3:01 [PATCH] b43: Increase number of RX DMA slots Larry Finger
     [not found] ` <1361156480-32566-1-git-send-email-Larry.Finger-tQ5ms3gMjBLk1uMJSBkQmQ@public.gmane.org>
2013-02-18 16:18   ` Rafał Miłecki
     [not found]     ` <CACna6rwLgE+o2mcRTemLFAqzdsEoA9Xyx8GyEQTh5qbv1iZ04A-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2013-02-18 16:55       ` Bastian Bittorf
2013-02-18 17:04         ` Larry Finger
2013-02-18 20:10     ` Larry Finger
2013-02-19 20:01       ` Bastian Bittorf
2013-02-19  5:52   ` David Miller
2013-02-19  9:42     ` David Laight
2013-02-19  9:57       ` Rafał Miłecki
2013-02-19 17:57       ` Larry Finger
2013-02-19 18:15         ` David Miller
2013-02-19 18:28           ` Larry Finger
2013-02-20  0:47             ` Julian Calaby
2013-02-20  2:42               ` Larry Finger
     [not found]                 ` <512437FA.2030105-tQ5ms3gMjBLk1uMJSBkQmQ@public.gmane.org>
2013-02-20  6:26                   ` Gábor Stefanik
2013-02-20  7:15                     ` Larry Finger
     [not found]                       ` <5124782D.3050803-tQ5ms3gMjBLk1uMJSBkQmQ@public.gmane.org>
2013-02-20  8:15                         ` Bastian Bittorf
2013-02-20 15:49                           ` Larry Finger

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).