Large receive offload allocation method and network device
An allocation method, utilized in a network device comprising an large receive offload (LRO) engine having LRO rings, includes receiving packets which belong to data streams; recording information of the data streams according to the packets; determining priority values corresponding to the data streams according to the information of the data streams; determining a first data stream within the data streams corresponding to a first priority value which is greater than a predefined value; and when there is an available LRO ring within the LRO rings, allocating the available LRO ring to the first data stream; wherein when an LRO ring is allocated to a data stream, a plurality of incoming packets of the data stream are stored in the LRO ring, and the incoming packets stored in the LRO ring are aggregated into large packets by the LRO engine.
MEDIATEK INC.
H H H H H
H04L H04L H04L H04L H04L
inventional inventional inventional inventional inventional
Chia-Hsiang Hsun-Wen Tsung-Yueh
Chang Wang Hsieh