Patent ID: 7793071

Claim:
A method for storing a plurality of data packets in a plurality of memory buffers for reducing cache conflicts, the method comprising: determining size of each of the plurality of data packets; storing a first data packet of the plurality of data packets starting from a first address in a first memory buffer of the plurality of memory buffers; determining an offset based on the size of the first data packet; and storing a second data packet in a second buffer starting from a second address based on the offset; wherein if the second buffer has a size greater than the offset plus the size of the second data packet, then the second data packet is stored in the second buffer starting at an address equal to the offset, and wherein if the second buffer has a size less than the offset plus the size of the second data packet but greater than the size of the second data packet, then the second data packet is stored in the second buffer so that the end of the second data packet coincides with the end of the second buffer.