Method and apparatus for synchronizing use of buffer descriptor entries for shared data packets in memory
AssigneeCisco Technology, Inc.
InventorsWilliam Lee, Trevor Gamer, Martin Hughes, Dennis Briddell
Life of this patent
Estimating the term…
Loading patent…
AssigneeCisco Technology, Inc.
InventorsWilliam Lee, Trevor Gamer, Martin Hughes, Dennis Briddell
Estimating the term…
Techniques for synchronizing use of buffer descriptors for data, such as packets transmitted over a network, include receiving private index data that indicates a particular buffer descriptor owned by a DMA controller, for moving data between a data port and a corresponding memory buffer. A write command is placed on a memory exchange queue to change the owner to a different processor and the private index data is incremented. A public index is determined, which indicates a different buffer descriptor in which the owner is most recently changed to the processor and is known to be visible to the processor. In response to receiving a request from the processor for the most recent buffer descriptor changed to processor ownership, the public index data is sent to the processor. Based on the public index data, the processor exchanges data with buffer descriptors guaranteed to be owned by the processor.
An apparatus for synchronizing use of buffer descriptors for shared packet data in memory, comprising:
A direct memory access (DMA) controller for synchronizing use of buffer descriptors for storing data shared by the DMA controller and a different process, comprising:
A method for synchronizing use of buffer descriptors for a data packet, the method comprising the steps of:
Dependencies are inferred from the claim text.