RELEASED
PM7380 FREEDM-32P672
DATA SHEET
PMC-1990262
ISSUE 5
FRAME ENGINE AND DATA LINK MANAGER 32P672
Note that the maximum value to which an end pointer may be set is FFFF hex,
resulting in a maximum offset from the queue base address of (4*(FFFF-1)) =
3FFF8 hex. An end pointer must not be set to 0 hex in an attempt to include
offset 3FFFC hex in a queue.
As shown in Figure 7, the ready queue elements have a status field as well as an
RPDR field. The RMAC672 fills in the status field to mark whether a packet was
successfully received or not. The host reads the status field. The ready queue
element is shown in Table 7 below along with the definition of the status bits.
If the RMAC672 requires a buffer of a particular size (i.e. small or large) and no
RPDR is available in the corresponding free queue, a RPDR from the other free
queue is substituted. The host may, therefore, force the RMAC672 to store
received data in buffers of only one size by setting one of the free queues to zero
length, i.e. by setting the start and end index registers of one of the queues to
equal values. If the RMAC672 requires a buffer and neither free queue contains
RPDRs, an RPQ_ERRI interrupt is generated.
Table 7 – RPDRR Queue Element
Bit 16
Bit 0
STATUS[1:0]
RPDR[14:0]
Field
Description
STATUS[1:0]
The encoding for the status field is as follows:
00 – Successful reception of packet.
01 – Unsuccessful reception of packet.
10 – Unprovisioned partial packet.
11 – Partial packet returned due to RAWMAX
limit being reached.
RPDR[14:0]
The RPDR[14:0] field defines the offset of the first
RPD in a linked chain of RPDs, each pointing to a
buffer containing the received data.
As described previously, the RMAC672 links RPDs together if more than one
buffer is needed for a packet. The RMAC672 links additional buffer RPDs to the
end of the chain as required until the entire packet is copied to host memory
(provided that the host has not disabled use of both the small and large free
queues by setting one of them to length zero). After storing the packet data, the
RMAC672 places the STATUS+RPDR for the first RPD onto the ready queue.
Only the RPDR associated with the first RPD is placed onto the ready queue. All
other required RPDs are linked to the first RPD as shown in Figure 8.
PROPRIETARY AND CONFIDENTIAL TO PMC-SIERRA,INC., AND FOR ITS CUSTOMERS’ INTERNAL USE
53