Patent ID: 9584446
Date: 2017-02-28
CPC Classifications: H04L

Claim:
1. A memory buffer management method comprising: establishing a first receive ring having a first plurality of descriptors, each descriptor of the first receive ring identifying a respective buffer belonging to a first set of buffers; establishing a second receive ring having a second plurality of descriptors, each descriptor of the second receive ring identifying a respective buffer belonging to a second set of buffers; storing a header segment of a data packet in a first buffer of the first set; reserving one or more additional buffers of the first set for storing portions of a payload segment of the data packet, the first buffer and the one or more additional buffers of the first set having sequential addresses in memory; and determining whether the payload segment is too large to be stored in the reserved additional buffers, and storing only remaining portions of the payload segment of the data packet in one or more buffers of the second set when the payload segment is too large to be stored in the reserved additional buffers, the one or more buffers of the second set having fragmented addresses in the memory.