Data Sheet

Ethernet Controller I210 —Inline Functions
354
The I210 identifies both L2 and L4 PTP packets for timestamp sampling and defining a specific receive
queue as listed in the Table 7-70.
Table 7-68. Message Decoding for V1 (Control Field at Offset 32)
Enumeration Value
PTP_SYNC_MESSAGE 0
PTP_DELAY_REQ_MESSAGE 1
PTP_FOLLOWUP_MESSAGE 2
PTP_DELAY_RESP_MESSAGE 3
PTP_MANAGEMENT_MESSAGE 4
reserved 5–255
Table 7-69. Message Decoding for V2 (MessageType Field at Offset 0)
MessageType Message Type Value (hex)
PTP_SYNC_MESSAGE Event 0
PTP_DELAY_REQ_MESSAGE Event 1
PTP_PATH_DELAY_REQ_MESSAGE Event 2
PTP_PATH_DELAY_RESP_MESSAGE Event 3
Unused Event 4-7
PTP_FOLLOWUP_MESSAGE General 8
PTP_DELAY_RESP_MESSAGE General 9
PTP_PATH_DELAY_FOLLOWUP_MESSAGE General A
PTP_ANNOUNCE_MESSAGE General B
PTP_SIGNALLING_MESSAGE General C
PTP_MANAGEMENT_MESSAGE General D
Unused General E-F
Table 7-70. Enabling Receive Timestamp
Functionality Register Field Setting Options
Enable receive timestamp TSYNCRXCTL En En = 1b (must be set in all the following options).
Sampled V1 Control value TSYNCRXCFG CTRLT
The CTRLT defined the recognized V1 Control field. This field
must be defined if V1 packets recognition is required.
Sampled V2 MessageType value TSYNCRXCFG MSGT
The MSGT defined the recognized V2 MessageType field. This
field must be defined if V2 packets recognition is required.
Enable all packets for
timestamp
TSYNCRXCTL Type
Type equals to 100b enables sampling all packets. Useful only
when posting the timestamp to the packet buffer in host
memory, enabled per queue by the SRRCTL[n].Timestamp.
Enable L2 1588 packets for
timestamp sampling
TSYNCRXCTL Type
Type equals to 000b or 010b enable V2 packets with
MessageType equals to MSGT as well as DELAY_REQ and
DELAY_RESP packets.
Type equals to 101b enable all V2 packets with Message Type
bit 3 zero (means any event packets)
ETQF[n]
EType
Filter enable
The EType on one of the enabled ETQF registers (Filter enable
is ‘1’) should be set to the 1588 EtherType (equals to 0x88F7)