Patent ID: 7733894

Claim:
A device, comprising: a first memory to: store data units; a second memory to: store a first threshold value and a first unit of measure, where the first unit of measure is a byte, and store a second threshold value and a second unit of measure, where the second unit of measure is a buffer; logic to: determine a state of the first memory, select the first threshold value and the first unit of measure or the second threshold value and the second unit of measure based on the state of the first memory, compare the first threshold value to a state of a queue using the first unit of measure when the first threshold value is selected, store a data unit if the first threshold value is greater than the queue state and the first threshold value is selected, compare the second threshold value to the state of the queue using the second unit of measure when the second threshold value is selected, and store the data unit if the second threshold value is greater than the queue state and the second threshold value is selected.