25
IDT88P8342 SPI EXCHANGE 2 x SPI-3 TO SPI-4
INDUSTRIALTEMPERATURERANGE
APRIL 10, 2006
4.1 SPI-3 to SPI-4 datapath and flow control
Two packet fragment processor modules from SPI-3 to SPI-4 are provided.
One packet fragment processor module is associated with one SPI-3 ingress
interface. Both packet fragment processor modules connect to a single SPI-4
interface.
PacketfragmentsfromtheSPI-3ingressarereceivedintotheSPI-3ingress
portbuffers.Apacketfragmentprocessortransferscompletepacketfragments
from the SPI-3 ingress port buffers to memory segments previously reserved
on a per-LP basis in the buffer segment pool. The SPI-3 ingress port buffer
watermarkandtheper-LPfreebuffersegmentthresholdinformationiscombined
to produce SPI-3 ingress FIFO status towards the attached device. Packets or
packet fragments received on one SPI-3 ingress logical port can be forwarded
to any one of:
A logical port on the egress SPI-4 interface.
A logical port on an associated SPI-3 interface (between physical port
interfaces A and B only).
The microprocessor interface, using the capture buffer.
Theconnectiononthelogicalportlevelisperformedthroughanintermediate
mapping to a Link Identification number (LID).
Figure 13. SPI-3 ingress to SPI-4 egress packet fragment processor
6370 drw27
buffer segment pool
PMON & DIAG
SPI3 egress port
buffers
uP
Associated
egress PFP
capture
buffer
SPI-3
redirect
buffers
uP
insert buffer
SPI3 Ingress
SPI4 Egress
FIFO status
SPI3 ingress port
buffers
SPI-3 ingress PFP functions
Thepacket fragmentprocessor(PFP)receivesstatusinformationaboutthe
SPI-3ingressbuffersandthemicroprocessorinsertbuffer.ThePFPprocesses
SPI-3 ingress buffers in high priority and the insert buffer with low priority. The
PFP copies data into the buffer segment , requests new buffer segments, and
generates entries in the SPI4-egress queue.
SPI-3 ingress buffer processing
The PFP verifies whether a SPI-3 ingress buffer is occupied. If the SPI-3
ingress buffer is not occupied the PFP processes the insert buffer.
Normal operation
Inloopbackmode,alloftheSPI-3ingressbuffersofaphysicalSPI-3portare
copied into the SP-3 egress buffers of that same port. This is a test mode only,
as no non-loopback traffic can be transferred at this time.
In non – loop back mode (normal operation) the SPI-3 ingress buffers are
forwarded to the LID process by the PFP.
TheLIDprocessgeneratesasetofeventsforanassociatedLID.Theevents
that are directed towards the PMON&DIAG module are:
SPI-3 error tagged packet event (errored packets)
SPI-3 EOP event (all packets)
SPI-3 fragment event (all fragments) with an associated length field