摘要 |
In a queue management method and apparatus in a network processor, enqueue completed and de-queue completed messages are transmitted to a scheduler when a queue manager performs enqueuing and de-queuing operations in the network processor, so that the queue processing time is synchronized between the queue manager and the scheduler. The queue manager in the network processor performs the de-queuing operation, includes the packet size information extracted from de-queued packet identification information in the de-queue completed message, and transmits it to the scheduler, so that the scheduler calculates the correct quantum of the port and queue.
|