Information

Enhanced Three-Speed Ethernet Controllers
MPC8308 PowerQUICC II Pro Processor Reference Manual, Rev. 1
Freescale Semiconductor 16-59
16.5.3.3.9 Maximum Receive Buffer Length Register (MRBLR)
The MRBLR register is written by the user. It informs the eTSEC how much space is in the receive buffer
pointed to by the RxBD. Figure 16-31 describes the definition for the MRBLR.
\\
1011 0–23 Reserved, should be written with zero.
24–31 L4P Layer 4 protocol identifier as per published IANA specification. This is the last recognized protocol type
recognized in the case of IPv6 extension headers. This value defaults to 0xFF to indicate that no layer
4 header was recognized (possibly due to absence of an IP header).
1100 0–31 DIA Destination IP address. If an IPv4 header was found, this is the entire destination address. If an IPv6
header was found, this is the 32 most significant bits of the 128-bit destination address. This value
defaults to 0x0000_0000 if no IP header appeared.
1101 0–31 SIA Source IP address. If an IPv4 header was found, this is the entire source address. If an IPv6 header was
found, this is the 32 most significant bits of the 128-bit source address. This value defaults to
0x0000_0000 if no IP header appeared.
1110 0–15 Reserved, should be written with zero.
16–31 DPT Destination port number for TCP or UDP headers. This value defaults to 0x0000 if no TCP or UDP
headers were recognized.
1111 0–15 Reserved, should be written with zero.
16–31 SPT Source port number for TCP or UDP headers. This value defaults to 0x0000 if no TCP or UDP headers
were recognized.
1
PID is the property identifier field of the filer table control entry (see RQFCR[PID]) at the same index.
Offset eTSEC1:0x2_4340; eTSEC2:0x2_5340 Access: Read/Write
01516252631
R
—MRBL
W
Reset All zeros
Figure 16-31. MRBLR Register Definition
Table 16-35. MRBLR Field Descriptions
Bits Name Description
0–15 Reserved
16–25 MRBL Maximum receive buffer length. MRBL is the number of bytes that the eTSEC receiver writes to the receive
buffer. The MRBL register is written by the user with a multiple of 64 for all modes. The eTSEC can write fewer
bytes to the buffer than the value set in MRBL if a condition such as an error or end-of-frame occurs, but it
never exceeds the MRBL value; therefore, user-supplied buffers must be at least as large as the MRBL. MRBL
must be set, together with the number of buffer descriptors, to ensure adequate space for received frames.
See Section 16.5.3.5.5, “Maximum Frame Length Register (MAXFRM),” for further discussion.
26–31 To ensure that MRBL is a multiple of 64, these bits are reserved and should be cleared.
Table 16-34. RQFPR Field Descriptions (continued)
PID
1
Bit Name Description