
Product Brief NPRSP
June 2001 Routing Switch Processor
3
Data Flow Through the RSP
The RSP receives PDUs on 64 logical ports. For each PDU,
the FPP, or other logic, sends the classification conclusions in
the form of a transmit command. This command instructs the
RSP how to process the PDU.
The PDU is added to a queue and stored in the PDU
SDRAM. The transmit command determines the queue
parameters that determine QoS, CoS, and PDU
modifications.
The figure that follows illustrates how the data flow
processing operates.
The RSP routes and processes PDUs in three major
processing stages. To process traffic, the RSP performs the
following tasks:
■Prepares and queues the PDU for scheduling:
—Assembles the blocks into a PDU in SDRAM.
—Determines the destination queue for the PDU.
—Determines if the PDU should be queued. If it should be
queued, it is added to the appropriate queue for
scheduling.
■Selects the next PDU block to be transmitted:
—Determines the physical port to be serviced.
—Determines the logical port to be serviced.
—Determines the scheduler to be serviced.
—Determines the queue to be serviced.
■Modifies and transmits the PDU on the appropriate output
port:
—Adjusts the QoS transmit intervals and CoS priority, if
necessary.
—Performs any necessary PDU modifications.
—Performs any necessary PDU modifications.
—Performs AAL5 CRC, if necessary.
PDU Scheduling Hierarchy
The RSP supports two modes for scheduling. The RSP’s
scheduling can be controlled internally, or by external logic,
depending on the mode you use.
Using the RSP’s Internal Scheduling Logic
The RSP uses the following elements to schedule and
transmit PDUs:
■Channels—the output interface supports a 32-bit data
output and an 8-bit management output. These physical
interfaces are configured into channels. The 32-bit
interface supports 1-4 POS-PHY or UTOPIA channels.
The management output supports a single 8-bit POS-PHY
channel.
■Physical Ports—the physical output ports are assigned to
channels. The RSP supports up to 32 physical output ports
to correspond to the number of back pressure signals.
Each physical port must be assigned at least one logical
output port, and can support multiple logical output ports.
■Logical Ports—each logical output port is mapped to a
single physical output port. The RSP supports up to 256
logical output ports.
■Schedulers—a set of schedulers is defined for each logical
port. Each scheduler supports a single type of traffic. The
RSP supports constant-bit-rate, variable-bit-rate, and
unspecified-bit-rate schedulers.
■QoS queues—each of the QoS queues is assigned to a
single scheduler. The scheduler is configured by
connection rate type, such as constant bit rate, variable bit
rate, or undefined bit rate.
■CoS queues—up to sixteen CoS queues feed a single QoS
queue to support PDU-based shaping policies. These
queues are optional.
The chart that follows shows the relationships between these
PDU scheduling elements.
The scheduling decision process is made in the opposite
direction from the data flow—from a physical port to a queue.
The RSP schedules data according to the following steps:
1. Select a physical port.
2. Select one of the physical port’s logical ports.
3. Select one of the logical port’s schedulers.
4. Select one of the scheduler’s QoS queues.
5. If the QoS queue has CoS queues, select a CoS queue.
Using External Scheduling Logic
The RSP features an External Scheduling Interface that
allows you to monitor and schedule queues for transmission
Determine
Queue ID
Perform
Traffic
Mgmt
Queue or
Discard
PDU
Assemble
the PDU
PDU Input
Queuing a PDU
Scheduling, Modifying
Pick the
Logical
Port
Pick
Scheduler
and Block
Get the
Block from
SDRAM
Pick the
Physical
Port
Modify
the
Block
Update
QoS and
CoS for
the flow
Traffic Management
Traffic Shaping PDU Modification
Transmit
the
Block
PDU Preparation
and Transmitting
a PDU Block
PDU Que uing and Block Scheduling