09.12.2012 Views

RM0090: Reference manual - STMicroelectronics

RM0090: Reference manual - STMicroelectronics

RM0090: Reference manual - STMicroelectronics

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

Ethernet (ETH): media access control (MAC) with DMA controller <strong>RM0090</strong><br />

Bits 11:8 PMT: PTP message type<br />

These bits are encoded to give the type of the message received.<br />

– 0000: No PTP message received<br />

– 0001: SYNC (all clock types)<br />

– 0010: Follow_Up (all clock types)<br />

– 0011: Delay_Req (all clock types)<br />

– 0100: Delay_Resp (all clock types)<br />

– 0101: Pdelay_Req (in peer-to-peer transparent clock) or Announce (in ordinary or boundary<br />

clock)<br />

– 0110: Pdelay_Resp (in peer-to-peer transparent clock) or Management (in ordinary or<br />

boundary clock)<br />

– 0111: Pdelay_Resp_Follow_Up (in peer-to-peer transparent clock) or Signaling (for ordinary<br />

or boundary clock)<br />

– 1xxx - Reserved<br />

Bit 7 IPV6PR: IPv6 packet received<br />

When set, this bit indicates that the received packet is an IPv6 packet.<br />

Bit 6 IPV4PR: IPv4 packet received<br />

When set, this bit indicates that the received packet is an IPv4 packet.<br />

Bit 5 IPCB: IP checksum bypassed<br />

When set, this bit indicates that the checksum offload engine is bypassed.<br />

Bit 4 IPPE: IP payload error<br />

When set, this bit indicates that the 16-bit IP payload checksum (that is, the TCP, UDP, or<br />

ICMP checksum) that the core calculated does not match the corresponding checksum field<br />

in the received segment. It is also set when the TCP, UDP, or ICMP segment length does not<br />

match the payload length value in the IP Header field.<br />

Bit 3 IPHE: IP header error<br />

When set, this bit indicates either that the 16-bit IPv4 header checksum calculated by the<br />

core does not match the received checksum bytes, or that the IP datagram version is not<br />

consistent with the Ethernet Type value.<br />

Bits 2:0 IPPT: IP payload type<br />

if IPv4 checksum offload is activated (IPCO=1, ETH_MACCR bit 10), these bits<br />

indicate the type of payload encapsulated in the IP datagram. These bits are ‘00’ if there is an IP<br />

header error or fragmented IP.<br />

– 000: Unknown or did not process IP payload<br />

– 001: UDP<br />

–010: TCP<br />

– 011: ICMP<br />

– 1xx: Reserved<br />

● RDES5: Receive descriptor Word5<br />

Reserved.<br />

965/1416 Doc ID 018909 Rev 3

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!