Skip to content

Commit ccae0e5

Browse files
lwfingerdavem330
authored andcommitted
b43: Increase number of RX DMA slots
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@lwfinger.net> Cc: Bastian Bittorf <bittorf@bluebottle.com> Cc: Stable <stable@vger.kernel.org> Signed-off-by: David S. Miller <davem@davemloft.net>
1 parent b0daa81 commit ccae0e5

File tree

1 file changed

+1
-1
lines changed
  • drivers/net/wireless/b43

1 file changed

+1
-1
lines changed

drivers/net/wireless/b43/dma.h

+1-1
Original file line numberDiff line numberDiff line change
@@ -169,7 +169,7 @@ struct b43_dmadesc_generic {
169169

170170
/* DMA engine tuning knobs */
171171
#define B43_TXRING_SLOTS 256
172-
#define B43_RXRING_SLOTS 64
172+
#define B43_RXRING_SLOTS 256
173173
#define B43_DMA0_RX_FW598_BUFSIZE (B43_DMA0_RX_FW598_FO + IEEE80211_MAX_FRAME_LEN)
174174
#define B43_DMA0_RX_FW351_BUFSIZE (B43_DMA0_RX_FW351_FO + IEEE80211_MAX_FRAME_LEN)
175175

0 commit comments

Comments
 (0)