beautypg.com

11 rmon rollover, 12 pause frame, 13 pause watermark – Maxim Integrated 78Q8430 ARM9(920T) Linux Driver Diagnostic Guide User Manual

Page 11: Rmon rollover, Pause frame, Pause watermark

background image

UG_8430_003

78Q8430 ARM9(920T) Linux Driver Diagnostic Guide

Rev. 1.1

11

4.4.11 RMON Rollover

This procedure verifies the generation of the RMON rollover message.

1. On the Linux host, enter: ping -f 192.168.10.99
2. Verify that the ARM target responds to the pings.
3. On the ARM target, turn on TOE mode by entering the following command:

8430-tool eth0 -T on

4. Run continuously for 1 or more hours.
5. On the ARM target, verify that the RMON rollover message is received.

4.4.12 Pause Frame

This procedure tests the specification and sending of the Pause Frame.

1. Enter the command: 8430-tool eth0 -P frame default
2. Enter the command: 8430-tool eth0 -P threshold 25

The value 25 is arbitrary; it is a count of blocks, so any value up to 120 is acceptable.

3. On the Linux host:

a. Enter:

tcpdump -lnei ethN

b. Enter: pktgen.sh
c. Verify the transmission of the Pause frame in the tcpdump contents.

4. On the Linux host:

a. Kill pktgen.sh
b. Enter:

ping 192.168.10.99

c. Verify the ping response.

5. Enter the command: 8430-tool eth0 -P frame user
6. Enter the command: 8430-tool eth0 -P macadr (00:0e:2e:5b:25:86)
7. On the Linux host:

a. Enter:

tcpdump -lnei ethN

b. Enter:

pktgen.sh

c. Verify the transmission of the Pause frame in the tcpdump contents.

8. On the Linux host:

a. Kill pktgen.sh
b. Enter:

ping 192.168.10.99

c. Verify the ping response.

4.4.13 Pause Watermark

This procedure tests that the application can set the Pause Watermark and can thus enable/disable
automatic Pause TX.

1. Enter the command: 8430-tool eth0 -P frame user
2. Enter the command: 8430-tool eth0 -P macadr (00:0e:2e:5b:25:86)
3. Enter the command: 8430-tool eth0 -P threshold 0

This will halt automatic Pause transmission.

4. On the Linux host:

a. Enter:

tcpdump -lnei ethN

b. Enter:

pktgen.sh

c. Verify that no Pause frames are issued.

5. On the Linux host:

a. Kill pktgen.sh
b. Enter:

ping 192.168.10.99

c. Verify the ping response.