CompletionQueueRingOffsets.ring_mask

value value_at(ring_entries) - 1 mask for indices at head and tail (don't delete masked bits! head and tail can point to the same entry, but if they are not exactly equal it implies the ring is full, and if they are exactly equal the ring is empty.)

struct CompletionQueueRingOffsets
uint ring_mask;

Meta