Patent ID: 7970963
Filing Date: 2011-06-28
Classification: H04L

Abstract:
1. A method for receiving a packet on a multi-threaded computing device which uses a memory-buffer-usage scorecard to enable multiple hardware threads to share a common pool of memory buffers, the method comprising: identifying a memory-descriptor location for posting a memory descriptor for a memory buffer; posting the memory descriptor for the memory buffer at the memory-descriptor location; updating the memory-buffer-usage scorecard to indicate that the memory buffer is in use; storing a packet in the memory buffer; posting a completion descriptor in a completion-descriptor location to indicate that the packet is ready to be processed; and in response to determining that the completion descriptor indicates that the memory buffer is ready to be reclaimed, wherein the memory-descriptor location is a receive buffer ring (RBR) entry and the completion-descriptor location is a receive completion ring (RCR) entry, and wherein the memory-buffer-usage scorecard is a buffer-posting and reclaim array (BPRA) which is partitioned into multiple regions so that a BPRA entry in each BPRA region is associated with an RPR entry.