23 bist, 24 classification interrupts, 5 toe tests – Maxim Integrated 78Q8430 ARM9(920T) Linux Driver Diagnostic Guide User Manual
Page 14: 1 fragmented icmp – large, non-fragmented frames, Bist, Classification interrupts, Toe tests, Fragmented icmp – large, non-fragmented frames

78Q8430 ARM9(920T) Linux Driver Diagnostic Guide
UG_8430_003
14
Rev.
1.1
4.4.23 BIST
1. Enter the command: 8430-tool eth0 -B
2. Verify successful tests in the BIST console log. The command generates five tests; all tests must
report passed.
4.4.24 Classification Interrupts
This procedure verifies that Classification Interrupts cause an out of cycle RX routine call within the driver.
1. Start up TOE mode by entering: 8430-tool eth0 -T on
2. Enter the command: 8430-tool eth0 -C new T 0x24 0xFE4AF040 0x0005009A
3. On the Linux Host, enter: ping 192.168.10.99
4. Enter the command: 8430-tool eth0 -r debug 0x0000E008
5. On the ARM target console log, verify detection of the Classification Interrupt by looking for the
following message:
net_interrupt: Classification Interrupt detected
6. Exit TOE mode after the test by entering: 8430-tool eth0 -T off
4.4.25 CAM Reset
1. Attach an oscilloscope to the IRQ pin
2. Set the scope to 1 V and 10 µs
3. Set vertical cursors on
4. On the Linux Host, enter: ping -f -s 0 192.168.10.99
5. Measure the maximum duration of the IRQ assertion:
Max Assert Interval: 20.8 µs; With step in de-assert at Minimum Interval: 16.6 µs
6. Start TOE mode by entering: 8430-tool eth0 -T on
7. Measure the new duration of the IRQ assertion:
TOE Assert Interval: 14.6 µs (decreased). Also, note the solid or nearly solid de-assertion
without a step. It indicates a decrease in the IRQ code path length when TOE is active.
8. Reset the CAM: 8430-tool eth0 -C reset
9. Observe the Oscilloscope. Verify that the IRQ assertion returns to the non-TOE duration, i.e.
longer than in TOE mode and with a step in the de-assertion.
4.5 TOE Tests
The procedures in this section test the TCP offload engine frame transfer functions.
4.5.1 Fragmented ICMP – large, non-fragmented frames
1. Enter the command: 8430-tool eth0 -r debug 0x00000000
2. Enter the command: 8430-tool eth0 -r debug 0x0000C000
3. Enter the command: 8430-tool eth0 -T on
4. Turn on jabber by entering: 8430-tool eth0 –J on
5. On the Linux host, use an ethernet card whose driver supports MTUs > 1500, then enter the following
commands:
a. tcpdump -lnei ethN
b. ifconfig ethN mtu 3000
c. ping -s 2000 192.168.10.99
6. Using
tcpdump, verify that at least 2000 bytes are being sent by the Linux host and returned by the
78Q8430 in TOE mode.
7. On the ARM target, verify that the TOE XMIT is being invoked on classification index 0x78 by looking
for the following messages:
net_rx: RPSR Classification: 0x78
net_rx: RPSR Class: 0x78,-> TOE XMIT