Data Sheet
Ethernet Controller I210 —Inline Functions
270
The I210 must identify the packet type and then choose the appropriate RSS hash function to be used
on the packet. The RSS type reports the packet type that was used for the RSS hash function.
Packet Type (13)
• VPKT (bit 12) - VLAN Packet indication
• L2 Packet (bit 11) - L2 packet indication (not L3 or L4 packet), if this bit is set along with a higher
layer indication it indicates the ETQF type is valid
• L2 Packet (bit 11) - L2 packet indication (not L3 or L4 packet), if this bit is set along with a higher
layer indication it indicates the ETQF type is validL2 Packet (bit 11) - L2 packet indication (not L3 or
L4 packet), if this bit is set along with a higher layer indication it indicates the ETQF type is valid
ETQF Valid (bit 11) - L2 ETQF field in Packet Type is valid. Higher layer indications (bits 7:0) can still
be set.
The 11 LSB bits of the packet type reports the packet type identified by the hardware as follows:
RSV(22):
Reserved.
HDR_LEN (10) - The length (bytes) of the header as parsed by the I210. In split mode when HBO
(Header Buffer Overflow) is set in the Extended error field, the HDR_LEN can be greater then zero
though nothing is written to the header buffer. In header replication mode, the HDR_LEN field does not
0x8 HASH_UDP_IPV6
0x9 HASH_UDP_IPV6_EX
0xA:0xF Reserved
Table 7-12. Packet Type LSB Bits (11:10)
Bit Index Bit 11 = 0b
0 IPV4 - Indicates IPv4 header present
1
1. On unsupported tunneled frames only packet types of external IP header are set if detected.
1 IPV4E - Indicates IPv4 Header includes IP options
1
2 IPV6 - Indicates IPv6 header present
1
2
3
2. When a packet is fragmented then the internal packet type bits on a supported tunneled packet (IPv6 tunneled in IPv4 only) won’t
be set.
3. On supported tunneled frames (IPv6 tunneled in IPv4 only) then all the internal Packet types are set if detected (IPV6, IPV6E, TCP,
UDP, SCTP and NFS)
3 IPV6E - Indicates IPv6 Header includes extensions
1
2
3
4 TCP - Indicates TCP header present
1
3
4
4. When a packet is fragmented the TCP, UDP, SCTP and NFS bits won’t be set.
5 UDP - Indicates UDP header present
1
3
4
6 SCTP - Indicates SCTP header present
1
3
4
7 NFS - Indicates NFS header present
1
3
4
10:8
EtherType - ETQF register index that matches the packet. Special types might be defined for 1588, 802.1X, LLDP
or any other requested type.Ethertype - ETQF register index that matches the packet. Special types might be
defined for 1588, 802.1x, 1722, LLDP or other requested EtherTypes
Table 7-11. RSS Type
Packet Type Description