Commit 75be3e24 authored by Seth Forshee's avatar Seth Forshee Committed by John W. Linville

brcmsmac: Reduce number of entries in tx DMA rings

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: default avatarSeth Forshee <seth.forshee@canonical.com>
Reviewed-by: default avatarPieter-Paul Giesberts <pieterpg@broadcom.com>
Reviewed-by: default avatarArend van Spriel <arend@broadcom.com>
Tested-by: default avatarDaniel Wagner <wagi@monom.org>
Signed-off-by: default avatarJohn W. Linville <linville@tuxdriver.com>
parent b05618de
......@@ -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
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment