Queue arrays in network devices
Abstract
A queue descriptor including a head pointer pointing to the first element in a queue and a tail pointer pointing to the last element in the queue is stored in memory. In response to a command to perform an enqueue or dequeue operation with respect to the queue, fetching from the memory to a cache only one of either the head pointer or tail pointer and returning to the memory from the cache portions of the queue descriptor modified by the operation.
Interactive Citation Constellation Global Citation Ranking
Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 50 · Forward citations: 5.
Claims (2 — 1 Independent, 1 Dependent)
- Claim 1Independent Claim
A method comprising: storing in memory a queue descriptor for a queue, the queue descriptor including a count identifying a number of elements in the queue, a head pointer pointing to a first element in the queue and a tail pointer pointing to a last element in the queue; in response to a command to perform an enqueue or dequeue operation with respect to the queue, fetching from the memory to a cache the count and one of either the head pointer or tail pointer; and returning to the memory from the cache portions of the queue descriptor modified by the operation.
- Claim 2Depends on #1
The method of claim 1 including fetching the count and the head pointer and not the tail pointer in response to a command to perform a dequeue operation; or fetching the count and the tail pointer and not the head pointer in response to a command to perform an enqueue operation.
Technical Overview & Description
Full multi-page specification text is archived at the issuing office. Read complete official specification ↗