Apparatus and method for managing work and completion queues using head and tail pointers
Abstract
An apparatus and method for managing work and completion queues using head and tail circular pointers. With the apparatus and method, queue head and tail pointers are maintained in the channel interface and the host channel adapter. The head and tail pointers in the host channel adapter include a queue pointer table index and a queue page index for identifying a position within the queue. For work queues, the tail pointer in the channel interface is used to identify a next position where a work queue entry may be written. The head pointer in the channel interface is used only to determine whether the work queue is full or not. The head pointer in the host channel adapter is used to identify a next work queue entry for processing by the host channel adapter. The tail pointer in the host channel adapter is used by the host channel adapter to determine if the queue is empty. For completion queues, the head pointer in the channel interface is used to identify a next completion queue entry to be processed. The tail pointer in the host channel adapter is used to identify a next position in the completion queue to which the host channel adapter may post a completion queue entry.
Interactive Citation Constellation Global Citation Ranking
Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 11 · Forward citations: 51.
Claims (3 — 1 Independent, 2 Dependent)
- Claim 1Independent Claim
A method of managing a queue, comprising: generating a first queue head index for the queue in a channel interface; generating a first queue tail index in the channel interface; generating a second queue head index for the queue in a host channel adapter; generating a second queue tail index for the queue in the host channel adapter; and controlling the queue using the first and second head and tail indices.
- Claim 2Depends on #1
The method of claim 1 , wherein the queue is a work queue, and wherein the first queue head index is used to determine if the work queue is full.
- Claim 3Depends on #1
The method of claim 1 , wherein the queue is a work queue, and wherein the first queue tail index is used to determine a position in the work queue where a work queue entry may be written by the channel interfac
Technical Overview & Description
Full multi-page specification text is archived at the issuing office. Read complete official specification ↗