发明名称 Control flow in a ring buffer
摘要 A computer implemented method for writing to a software bound ring buffer. A network adapter may determine that data is available to write to the software bound ring buffer. The network adapter determines that a read index is not equal to a write index, responsive to a determination that data is available to write to the software bound ring buffer. The network adapter writes the data to memory referenced by the hardware write index, wherein memory referenced by the write index is offset according to an offset, and the memory contents comprise a data portion and a valid bit. The network adapter writes an epoch value of the write index to the valid bit. The network adapter increments the write index, responsive to writing the data to memory referenced by the write index. Further disclosed is method to access a hardware bound ring buffer.
申请公布号 US8516170(B2) 申请公布日期 2013.08.20
申请号 US201213619050 申请日期 2012.09.14
申请人 ALLEN JOSEPH H.;HOEWELER DAVID J.;SHRIVER JOHN A.;INTERNATIONAL BUSINESS MACHINES CORPORATION 发明人 ALLEN JOSEPH H.;HOEWELER DAVID J.;SHRIVER JOHN A.
分类号 G06F3/00 主分类号 G06F3/00
代理机构 代理人
主权项
地址