SPRUGR9H November 2010 – April 2015 66AK2E05 , 66AK2H06 , 66AK2H12 , 66AK2H14 , 66AK2L06 , AM5K2E02 , AM5K2E04 , SM320C6678-HIREL , TMS320C6652 , TMS320C6654 , TMS320C6655 , TMS320C6657 , TMS320C6670 , TMS320C6671 , TMS320C6672 , TMS320C6674 , TMS320C6678
The QoS firmware includes a special SRIO queue monitoring mode. The firmware monitors a set of queues looking for Transmit packets, and moves them from the monitored queue to the actual transmit queue of the device. For each transmit packet moved, a global counter is incremented. Once the global counter reaches the programmable threshold for a particular transmit queue, that specific transmit queue is no longer serviced until the global count drops back below the threshold. The global queue is decremented when a packet arrives on one of the monitored TX completion queues. The monitored queues are called shadow queues as they are only a pre-staging to the actual final destination queue.
In addition to the transmit queues and transmit completion queues, five garbage collection queues are monitored. These queues may contain transmit complete packets for any of the monitored queues (plus potentially unmonitored queues). Any packet that arrives on one of these queues is checked for its original intended destination (by looking at the return queue index field the packet descriptor), and if intended for one of the monitored completion queues, the global count is decremented. Regardless, all packets are moved from the garbage collection shadow queues to the final garbage collection queues.
The entire queue set is collected into a single group with a single queue base. Hardware transmit queues are treated differently as they may not be run time configurable. The queue base must be a multiple of 32. The definition of the SRIO queues is as follows and is not configurable:
Offset from Base Queue | Queue Usage |
---|---|
0..4 | Shadow Garbage Collection Queue 0..4 |
5 | Reserved |
6..10 | Shadow Transmit Queue 0..4 |
11..15 | Shadow Transmit Free Descriptor (Completion) Queue 0..4 |
16..20 | Garbage Collection Queue 0..4 |
21..25 | Transmit Free Descriptor (Completion) Queue 0..4 |