Broadcom NetXtreme Ethernet Adapter • Diagnostic User’s Guide
page 6
Broadcom Confidential and Proprietary
Default:
Enabled
3.3.9 B2. BD SRAM Test
Command
: memtest -b
Function:
This test tests the BD SRAM. This performs exact the same way of testing as
described in B1. Scratch Pad Test.
Default:
Enabled
3.3.10 B3. DMA SRAM Test
Command:
memtest -d
Function:
It tests DMA SRAM by performing the tests described in test B1. The Scratch
Pad Test.
Default:
Enabled
3.3.11 B4. MBUF SRAM Test
Command:
memtest -m
Function:
It tests DMA SRAM by performing the tests described in test B1. The Scratch
Pad Test.
Default:
Enabled
3.3.12 B5. MBUF SRAM via DMA Test
Command:
memtest -x
Function:
Eight test pattern data are used in the test. They are described below. A 0x1000
sized data buffer is used for this test. Before each pattern test, the buffer is initialized and
filled with the test pattern. It then, performs size 0x1000 transmit DMA from host buffer to
NIC MBUF memory. Verify the data integrity in MBUF against host memory and repeat
the DMA for the entire MBUF buffer. Then it performs receive DMA from NIC to host.
The 0x1000-byte test buffer is cleared to zero before each receive-DMA. Verify the data
integrity and test is repeated for the entire MBUF SRAM range.
Test Pattern
Description
“16 00's 16 FF's” Full the entire host DMA buffer with 16 bytes of 00’s and then 16
bytes of FF’s.
“16 FF's 16 0's”
Full the entire host DMA buffer with 16 bytes of 00’s and then 16
bytes of FF’s.
“32 00's 32 FF's” Full the entire host DMA buffer with 32 bytes of 00’s and then 32
bytes of FF’s.