摘要 |
The number of memory copies in a network may be reduced by monitoring the state of the controller resources. If the controller resources run low while processing an array of data packets, the current data packet is marked and all subsequent data packets are flagged. When the array is fully processed, the controller resources are checked again. If the resources are still low, the flagged data packets are copied to buffers. However, if the controller resources are no longer low, the network controller removes all the flags and the data packets may be copied directly into the host memory at a later time.
|