摘要 |
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.
|