Intel 82551 Switch User Manual


 
148 10/100 Mbps Ethernet Controller Family Open Source Software Developer Manual
Wake-up Functionality
There are two groups of pre-defined filters:
The NBH, ARP and IA-Type pre-defined filters each use the word match field.
The IA-Match and TCO pre-defined filters do not use the word match field.
A single programming word may contain both a pre-defined filter from group 1 and any
of the pre-defined filters in group 2. For example, a single programming word may be
used to activate: ARP IA-Match and TCO with or without VLAN tagging (depending on
the VLAN bit). The examples below describe 82559 wake-up programming for:
ARP without VLAN, IP address equals 8F.B9.3F.3Dh
Individual IP with VLAN tagging
Wake on TCO packet without VLAN (due to unavailable hardware management on
the SMB)
Neighborhood name query (which is described in more detail under the Flexible
Filter bullet)
EII Byte Offset
13, 12
21
41, 40
Pattern
06, 08
01
Word match
Meaning
ARP type = 0806h.
ARP opcode (01 = request).
Two LSB of the destination IP address.
IA-Type
The IA with Type match bit monitors for the destination MAC address of the incoming
packet identical to the 6 bytes of the 82559 Individual Address, and the MAC Type/
Length field must be identical to the filter word match fields. The byte offset of the MAC
Type/Length field in 802.2 snap type is shifted by 8 bytes ahead and shifted by an
additional 4 bytes if the filter VLAN flag is set.
IA-Match
The destination MAC address of the incoming packet is identical to the 6 bytes of the
82559 Individual Address.
TCO
The 82559 supports a TCO packet filter. The 82559 recognizes TCO packets for power
management events at Ethernet Type II with or without VLAN tagging according to the
following fields.
Byte Offset
5, 4, ..., 0
13, 12
14
23
37, 36
Pattern
IA Address
00, 08
45
11/04
02, 6F
Meaning
MAC destination address.
IP type = 0800h.
IPv4, 4 Dword length.
Protocol: either UDP or TCP.
TCO Port number 026Fh (0623 decimal).
NOTE: If receive to a TCO controller is enabled, then this bit has no affect on PME.
Example 5. 82559 Wake-up Programming
CB Command / Status Word 8008 0000 The EL bit is active.
Next CB PTR
yyyy yyyy
This is the pointer to the next CB structure (no affect if
the EL bit is active).
Pre-defined Filter 1 4900 3F3D ARP and TCO share the same programming filter.
Pre-defined Filter 2 6400 0800 IA-Type with VLAN tagging with IP type (0800h)
Flexible Filter
98xx xxxx
zzzz zzzz
zzzz zzzz
zzzz zzzz
This is the flexible filter for neighborhood name query.
The CRC word equals xxxxxxh. The filter mask is
composed of 3 Dwords. If the filter resources are a
concern, the driver may use a more efficient mask for
this filter.