Buffer Manager Registers
BCM5718 Programmer’s Guide
Broadcom
®
January 29, 2016 • 5718-PG108-R
Page 431
RX RISC MBUF Allocation Response Register (offset: 0x4420)
This register returns the MBUF cluster pointer of the specified size when the Allocation bit is cleared. If a second
MBUF cluster allocation request is made before this register is read, an MBUF memory leak may occur.
This register is hardwired to 61, or 0x0000003D. The TXMBUF that is dedicated for ASF is the uppermost 384
bytes. The CPU should use 0x00009E80 as the starting address for ASF.
BM Hardware Diagnostic 1 Register (offset: 0x444C)
This 32-bit register provides debug information on the TXMBUF pointer.
BM Hardware Diagnostic 2 Register (offset: 0x4450)
This 32-bit register provides debug information on the TXMBUF and RXMBUF counts.
BM Hardware Diagnostic 3 Register (offset: 0x4454)
This 32-bit register provides debug information on the RXMBUF pointer.
Name
Bits
Access
Default
Value
Description
Reserved
31:26
RO
0
–
Last TXMBUF Deallocation
Head Pointer
25:20
RO
0
Captures the last deallocation head pointer of the
TXMBUF.
Reserved
19:16
RO
0
–
Last TXMBUF Deallocation
Tail Pointer
15:10
RO
0
Captures the last deallocation tail pointer of the
TXMBUF.
Reserved
9:6
RO
0
–
Next TXMBUF Allocation
Pointer
5:0
RO
0
The value of the next TXMBUF allocation pointer
(should be between 0 and 60).
Name
Bits
Access
Default
Value
Description
Reserved
31:26
RO
0
–
RXMBUF Count
25:17
RO
1
The number of RXMBUFs that were allocated.
TXMBUF Count
16:9
RO
1
The number of TXMBUFs that were allocated.
RXMBUF Left
8:0
RO
0x13f
The number of free RXMBUFs.
Name
Bits
Access
Default
Value
Description
Reserved
31:25
RO
0
–
Next RXMBUF Deallocation
pointer
24:16
RO
0
The next RXMBUF that is to be deallocated.
Reserved
15:9
RO
0
–