The assignment of packets to a pair of queue and threshold
based on their Cos value. The packets assignment also depends
on port types. For each port type, there is a set of Cos
value (0..7) associated with a pair of queue number and
threshold number (q,t). Packets that have their Cos value
belong to a particular set will be assigned to the pair of
queue number and threshold number that this set associated
with.