beautypg.com

14 pause tx, 15 local pause, 16 magic packet wol – Maxim Integrated 78Q8430 ARM9(920T) Linux Driver Diagnostic Guide User Manual

Page 12: Pause tx, Local pause, Magic packet wol

background image

78Q8430 ARM9(920T) Linux Driver Diagnostic Guide

UG_8430_003

12

Rev.

1.1

6. 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.

7. On the Linux host:

a. Enter:

tcpdump -lnei ethN

b. Enter:

pktgen.sh

c. Verify that Pause frames are issued.

8. On the Linux host:

a. Kill pktgen.sh
b. Enter:

ping 192.168.10.99

c. Verify the ping response.

If desired, the 78Q8430 and driver may be returned to the default PAUSE frame state by issuing the
following command:

8430-tool eth0 -P frame default

4.4.14 Pause TX

The procedure tests the immediate Pause frame transmission.

1. Perform

the

Pause Frame

procedure.

2. Enter the command: 8430-tool eth0 -P send
3. Verify the Pause frame transmission.

4.4.15 Local Pause

This procedure tests enabling and disabling of the local Pause counter.

1. Enter the command: 8430-tool eth0 -c rule 0x7D
2. Verify that the PH Mask field is 0xFE (0x7F).
3. Enter the command: 8430-tool eth0 -P local off
4. Enter the command: 8430-tool eth0 -c rule 0x7D
5. Verify that the PH Mask field is 0x00.
6. Enter the command: 8430-tool eth0 -P local on
7. Enter the command: 8430-tool eth0 -c rule 0x7D
8. Verify that the PH Mask field is 0xFE (0x7F).

4.4.16 Magic Packet WOL

1. Enter the command: 8430-tool eth0 -L magic set 00:0E:2E:5B:25:86
2. Enable 8430 Power management by entering: 8430-tool eth0 -L pmectl on
3. Set the 8430 into low power mode by entering: 8430-tool eth0 -L pmepwr on
4. Enable the wakeup interrupt debug message by entering: 8430-tool eth0 -r debug 0x00040000
5. On the Linux PC, issue the wol command using the specified MAC address:

wol -v –ipaddr=192.168.10.99 00:0E:2E:5B:25:86

6. Verify that the wake interrupt is received
7. Enter the command: 8430-tool eth0 -L pmepwr off
8. Enter the command: 8430-tool eth0 -L pmectl off