Skip to content

Commit

Permalink
brcmsmac: Reduce number of entries in tx DMA rings
Browse files Browse the repository at this point in the history
Currently up to 256 frames can be queued for each DMA ring. This is
excessive, and now that we have better flow control we can get by with
less. Experimentation has shown 64 to work well.

Signed-off-by: Seth Forshee <seth.forshee@canonical.com>
Reviewed-by: Pieter-Paul Giesberts <pieterpg@broadcom.com>
Reviewed-by: Arend van Spriel <arend@broadcom.com>
Tested-by: Daniel Wagner <wagi@monom.org>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
  • Loading branch information
Seth Forshee authored and John W. Linville committed Nov 20, 2012
1 parent b05618d commit 75be3e2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions drivers/net/wireless/brcm80211/brcmsmac/main.c
Original file line number Diff line number Diff line change
Expand Up @@ -232,8 +232,8 @@

#define MAX_DMA_SEGS 4

/* Max # of entries in Tx FIFO based on 4kb page size */
#define NTXD 256
/* # of entries in Tx FIFO */
#define NTXD 64
/* Max # of entries in Rx FIFO based on 4kb page size */
#define NRXD 256

Expand Down

0 comments on commit 75be3e2

Please sign in to comment.