1. A method of allocating queues in a network device, the method comprising: making a classification for an incoming packet; determining whether a queue has already been allocated for the classification; and allocating the queue when the queue has not already been allocated for the classification.