Method, system, and program for processing data packets in packet buffers
First Claim
1. A method for processing packets of data, comprising:
- allocating an available packet buffer in memory to a received packet, wherein the received packet is stored in the allocated packet buffer;
determining whether a number of available packet buffers is less than a first threshold;
determining whether the number of available packet buffers is less than a second threshold if the number of available packet buffers is not less than the first threshold; and
initiating an operation to copy the received packet from the allocated packet buffer to a copy buffer if the number of available packet buffers is less than the second threshold.
1 Assignment
0 Petitions
Accused Products
Abstract
Provided are a method, system, and program for processing packets of data. An available packet buffer in memory is allocated to a received packet, wherein the received packet is stored in the allocated packet buffer. A determination is made as to whether a number of available packet buffers is less than a first threshold. A further determination is made as to whether the number of available packet buffers is less than a second threshold if the number of available packet buffers is not less than the first threshold. An operation is initiated to copy the received packet from the allocated packet buffer to a copy buffer if the number of available packet buffers is less than the second threshold.
27 Citations
28 Claims
-
1. A method for processing packets of data, comprising:
-
allocating an available packet buffer in memory to a received packet, wherein the received packet is stored in the allocated packet buffer;
determining whether a number of available packet buffers is less than a first threshold;
determining whether the number of available packet buffers is less than a second threshold if the number of available packet buffers is not less than the first threshold; and
initiating an operation to copy the received packet from the allocated packet buffer to a copy buffer if the number of available packet buffers is less than the second threshold. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8, 9, 10)
-
-
11. A system for processing packets of data, comprising:
-
a processor;
a memory coupled to the processor;
at least one program executed by the processor in the memory to cause the processor to perform;
(i) allocating an available packet buffer in memory to a received packet, wherein the received packet is stored in the allocated packet buffer;
(ii) determining whether a number of available packet buffers is less than a first threshold;
(iii) determining whether the number of available packet buffers is less than a second threshold if the number of available packet buffers is not less than the first threshold; and
(iv) initiating an operation to copy the received packet from the allocated packet buffer to a copy buffer if the number of available packet buffers is less than the second threshold. - View Dependent Claims (12, 13, 14)
-
-
15. An article of manufacture including a program for processing packets of data, wherein the program causes operations to be performed, the operations comprising:
-
allocating an available packet buffer in memory to a received packet;
determining whether a number of available packet buffers is less than a first threshold;
determining whether the number of available packet buffers is less than second threshold if the number of available packet buffers is not less than the first threshold; and
initiating an operation to copy the received packet from the allocated packet buffer to a copy buffer if the number of available packet buffers is less than the second threshold. - View Dependent Claims (18, 19, 20, 21, 22)
-
- 16. The method 15, wherein the program comprises a device driver capable of communicating with a transport protocol driver, and wherein the step of the device driver initiating the call to copy the received packet comprises calling the transport protocol driver to copy the received packet to the copy buffer.
-
23. An article of manufacture including an operating system and driver programs for processing packets of data, wherein the operating system and driver programs cause operations to be performed, the operations comprising:
-
allocating an available packet buffer in memory to a received packet;
determining whether a number of available packet buffers is less than a first threshold;
determining whether the number of available packet buffers is less than second threshold if the number of available packet buffers is not less than the first threshold; and
copying the received packet from the allocated packet buffer to a copy buffer if the number of available packet buffers is less than the second threshold. - View Dependent Claims (24, 25, 26, 27, 28)
-
Specification