主权项 |
1. A method for transferring data packets, comprising:
detecting data packets being transferred over a network between a faster rate device and a slower rate device relative to the faster rate device; determining, at a first layer of a network protocol for the network, if the data packets are moving from the faster rate device to the slower rate device or from the slower rate device to the faster rate device; responsive to the determination:
when the data packets are moving from the faster rate device to the slower rate device at a first rate, throttling to a second rate that is slower than the first rate, via a second layer of the network protocol, a flow of the data packets, the second layer different from the first; andwhen the data packets are moving from the slower rate device to the faster rate device:determining, at the second layer, a differential rate corresponding to a difference between the first rate and the second rate;monitoring the data packets being transferred to determine a number of pause command packets that correspond to the differential rate; andwhile sustaining a throughput of the slower rate device, up-converting the data packets to the faster rate by adding the number of pause command packets, at the second layer of the network protocol. |