mirror of
https://github.com/opnsense/src.git
synced 2026-05-28 04:12:45 -04:00
Update the mbuf watermark settings to match the latest documentation
from Broadcom. These values are strongly encouraged for proper operation. MFC after: 3 days
This commit is contained in:
parent
ef7b1f2f0f
commit
fa22802086
1 changed files with 3 additions and 3 deletions
|
|
@ -1083,9 +1083,9 @@ bge_blockinit(sc)
|
|||
CSR_WRITE_4(sc, BGE_BMAN_DMA_DESCPOOL_LEN, 0x2000);
|
||||
|
||||
/* Configure mbuf pool watermarks */
|
||||
CSR_WRITE_4(sc, BGE_BMAN_MBUFPOOL_READDMA_LOWAT, 24);
|
||||
CSR_WRITE_4(sc, BGE_BMAN_MBUFPOOL_MACRX_LOWAT, 24);
|
||||
CSR_WRITE_4(sc, BGE_BMAN_MBUFPOOL_HIWAT, 48);
|
||||
CSR_WRITE_4(sc, BGE_BMAN_MBUFPOOL_READDMA_LOWAT, 0x50);
|
||||
CSR_WRITE_4(sc, BGE_BMAN_MBUFPOOL_MACRX_LOWAT, 0x20);
|
||||
CSR_WRITE_4(sc, BGE_BMAN_MBUFPOOL_HIWAT, 0x60);
|
||||
|
||||
/* Configure DMA resource watermarks */
|
||||
CSR_WRITE_4(sc, BGE_BMAN_DMA_DESCPOOL_LOWAT, 5);
|
||||
|
|
|
|||
Loading…
Reference in a new issue