摘要 |
Aspects of the disclosure provide a method for large receive offload (LRO). The method adaptively changes a number of packets aggregated in an aggregated packet based on a packet loss state in a network. The method reduces reception stack overhead while reducing waiting time for LRO time-out. The method includes receiving a packet belonging to a packet stream transmitted from a sender to a receiver, detecting a size of a sliding window used by the sender to transmit packets, adjusting an LRO threshold indicating a maximum number of packets allowed in an aggregated packet as a function of the size of the sliding window, and aggregating incoming packets into an aggregated packet based on the adjusted LRO threshold.
|