Broadcom NetXtreme Ethernet Adapter • Diagnostic User’s Guide
page 17
Broadcom Confidential and Proprietary
Function:
This test tests the BD SRAM. This performs exact the same way of testing as
described in B1, the Scratch Pad Test.
Default:
Enabled
3.3.3 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.4 B4. MBUF SRAM Test
Command:
memtest -m
Function:
It tests MBUF SRAM by performing the tests described in test B1, the Scratch
Pad Test.
Default:
Enabled
3.3.5 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.
“32 FF's 32 00's”
Full the entire host DMA buffer with 32 bytes of FF’s and then 32 bytes
of 00’s.
“00000000's”
Full the entire host DMA buffer with all zeros.
“FFFFFFFF's”
Full the entire host DMA buffer with all FF’s.
“AA55AA55's”
Full the entire host DMA buffer with data 0xAA55AA55.
“55AA55AA's”
Full the entire host DMA buffer with data 0xAA55AA55.