Disable retrying RX descriptor loading. The counter is used to set
number of retry to be performed whenever controller found RX descriptor was empty. RX empty interrupt is generated only when the retry counter is over. Experimentation shows retrying RX descriptor loading increased number of dropped frames under flow-control enabled environments so disable it and have controller generate RX empty interrupt as fast as it can. While I'm here fix RXCSR_DESC_RT_CNT macro.
This commit is contained in:
parent
b443638277
commit
cd96c3c984
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=215847
@ -275,8 +275,8 @@
|
||||
#define RXCSR_RXQ2 2
|
||||
#define RXCSR_RXQ3 3
|
||||
#define RXCSR_DESC_RT_CNT(x) \
|
||||
((((x) / 4) << RXCSR_DESC_RT_CNT_SHIFT) & RXCSR_DESC_RT_CNT_MASK)
|
||||
#define RXCSR_DESC_RT_CNT_DEFAULT 32
|
||||
(((x) << RXCSR_DESC_RT_CNT_SHIFT) & RXCSR_DESC_RT_CNT_MASK)
|
||||
#define RXCSR_DESC_RT_CNT_DEFAULT 0
|
||||
|
||||
/* Rx queue descriptor base address. 16bytes alignment needed. */
|
||||
#define JME_RXDBA_LO 0x0024
|
||||
|
Loading…
Reference in New Issue
Block a user