The present disclosure provides a method for providing Quality of Service
(QoS) processing of a plurality of data packets stored in a first memory.
The method may include determining a queue of a plurality of queues
causing an interrupt using contents of an interrupt status register, the
queue comprising address of at least one data packet of the plurality of
data packets. The method may further include performing a logical
operation between the contents of the interrupt status register and an
interrupt mask of a plurality of interrupt masks, the plurality of
interrupt masks stored in a second memory. The method may also include
processing the plurality of data packets based on the logical operation
and incrementing an interrupt mask address pointer stored in a third
memory, thereby pointing to another interrupt mask of the plurality of
interrupt masks. Of course, many alternatives, variations and
modifications are possible without departing from this embodiment.