Wake-on-LAN Support

Zynq UltraScale+ Device Technical Reference Manual (UG1085)

Document ID
UG1085
Release Date
2023-12-21
Revision
2.4 English

The receive block supports wake-on-LAN (WOL) by detecting the following events on incoming receive frames.

Magic packets.

Address resolution protocol (ARP) requests to the device IP address.

Specific address 1 filter match.

Multicast hash filter match.

If one of these events occurs, WOL detection is indicated by asserting the wake-up interrupt. These events can be individually enabled through bits[19:16] of the wake-on-LAN register.

Also, for WOL detection to occur, the receive enable must be set in the network control register.

 

IMPORTANT:   A receive buffer does not have to be available, but the descriptor must be fetchable from memory when the wake-up event occurs.

The wake-up interrupt is asserted due to multicast filter events, an ARP request, or a specific address 1 match even in the presence of a frame error. For magic-packet events, the frame must be correctly formed and error free.

A magic-packet event is detected when all of the following are true.

Magic-packet events are enabled through bit [16] of the wake-on-LAN register.

The frame's destination address matches the specific address 1 register.

The frame is correctly formed with no errors.

The frame contains at least 6 bytes of 0xFF for synchronization.

There are 16 repetitions of the contents of the specific address 1 register immediately following the synchronization.

An ARP request event is detected when all of the following are true.

ARP request events are enabled through bit [17] of the wake-on-LAN register.

Broadcasts are allowed by bit [5] in the network configuration register.

The frame has a broadcast destination address (bytes 1 to 6).

The frame has a type ID field of 0x0806 (bytes 13 and 14).

The frame has an ARP operation field of 0x0001 (bytes 21 and 22).

The least significant 16 bits of the frame's ARP target protocol address (bytes 41 and 42) match the value programmed in bits[15:0] of the wake-on-LAN register.

The decoding of the ARP fields adjusts automatically if a VLAN tag is detected within the frame. The reserved value of 0x0000 for the wake-on-LAN target address value does not cause an ARP request event, even if matched by the frame.

A specific address 1 filter match event occurs when all of the following are true.

Specific address 1 events are enabled through bit [18] of the wake-on-LAN register.

The frame's destination address matches the value programmed in the specific address 1 registers.

A multicast filter match event occurs when all of the following are true.

Multicast hash events are enabled through bit [19] of the wake-on-LAN register.

Multicast hash filtering is enabled through bit [6] of the network configuration register.

The frame destination address matches against the multicast hash filter.

The frame destination address is not a broadcast.