摘要 |
The present disclosure is directed to a method and apparatus for maintaining sub-queues at an ONU and for maintaining a count of an amount of data stored in each sub-queue or a count of an amount of data associated with elements stored in each sub-queue. The sub-queues represent partitions in a first in, first out (FIFO) queue used by the ONU to buffer packets, or elements that are associated with packets, to be sent upstream. The sub-queues are coupled in series such that the output of a first sub-queue feeds the input of a second sub-queue, the output of the second sub-queue feeds the input of a third sub-queue, etc. Each sub-queue has a defined threshold that sets a maximum amount of packet data it can buffer or the elements in which it buffers can be associated with. |