Patent ID: 11971833
Assignee: LENOVO GLOBAL TECHNOLOGY (UNITED STATES) INC.
Field: Computer technology (Electrical engineering)
Classification: CPC G | IPC G

Claim 10:
11. A computer program product comprising a non-volatile computer readable storage medium and computer program instructions stored therein that are configured to, when executed by a processor, cause a computer to perform operations comprising:
determining, by an ethernet controller, based on a received header of a packet, a length of the packet;
selecting, from a plurality of buffers, a buffer of a buffer size based on the length of the packet, wherein the plurality of buffers comprises a plurality of different buffer sizes, wherein the plurality of buffers includes a first set of buffers with a first buffer size and a second set of buffers with a second buffer size, wherein the second buffer size is greater than the first buffer size;
transferring the packet to the selected buffer; and
responsive to failing to determine the length of the packet, selecting a buffer from the second set of buffers.