Alcatel Carrier Internetworking Solutions 6624 Switch User Manual


 
Queue Driver Interaction
page -8 OmniSwitch Troubleshooting Guide September 2005
Queues are maintained by the software module known as the Queue Driver runs on each NI. It provides
the interaction to other software modules in the Falcon/Eagle product to create/modify/delete/manage
all the queues in the system. This module provides debugging information required for the queues and
maintains the statistics. This module maintains all the information required about all the queues on the
Coronado.
Software Module Interaction
Coronado ASIC interacts with the following software modules:
Ethernet Driver
Queue Dispatcher
NI Supervision Task
L2 Source Learning
L3 Manager/IPMS
QoS Manager
Link Aggregation
Queue Driver Interaction
The interactions of each module with Queue Driver is as follows:
Ethernet Driver
Ethernet driver on the CMM is responsible for initializing the Coronado when the system comes up, when
a board is inserted/removed from the slot and when a link goes up or down. On the initial initialization the
Ethernet driver on the CMM should send the slot configuration information for all the slots in the system.
The initial configuration sent by the Ethernet driver has the following information for each of the slots
present in the system:
Number of default queues per port (this is user configurable. The default value is 4 queues per port.
The CLI command to change this is provided by the Ethernet driver. The value of this parameter can be
either 2 or 4. This value is configurable per slot).
Port configuration for each of the ports in the slot.
Based on the port configuration the Queue Driver will assign ports.
Queue Dispatcher
The interaction between the queue driver and the queue dispatcher is mainly for freeing a default queue
associated with a port when the port goes down and to modify the priority of a queue. When the queue
driver gets the link down event for a port a message is sent to the queue dispatcher task. The Queue
dispatcher performs the appropriate steps to free the queue and updates the status of the request by send-
ing a message back to the queue driver. The queue driver maintains statistics about the number of queues
in an error state. When the priority of a queue needs to be changed, a message is sent to the queue
dispatcher.