US 12,452,182 B2
Method and device for performing dynamic traffic shaping
Xiayu Zhang, Chengdu (CN); Wei He, Chengdu (CN); Zhaoping Shu, Chengdu (CN); and Guang Yang, Chengdu (CN)
Assigned to MEDIATEK SINGAPORE PTE. LTD., Singapore (SG)
Filed by MediaTek Singapore Pte. Ltd., Singapore (SG)
Filed on May 30, 2023, as Appl. No. 18/325,209.
Claims priority of application No. 202310348532.3 (CN), filed on Apr. 3, 2023.
Prior Publication US 2024/0333650 A1, Oct. 3, 2024
Int. Cl. H04L 47/22 (2022.01); H04L 47/28 (2022.01)
CPC H04L 47/22 (2013.01) [H04L 47/28 (2013.01)] 17 Claims
OG exemplary drawing
 
1. A method for performing dynamic traffic shaping, comprising:
adjusting an expiration time of a timer and a packet count threshold by a processor of a transmitting device according to throughput of transmission from an application of the transmitting device to a receiving device;
holding application packets from the application by the processor until the expiration time expires or a packet count exceeds the packet count threshold, whichever occurs first; and
transmitting the application packets by the processor to the receiving device over a peripheral component interconnect express (PCIe) bus when the expiration time expires or the packet count exceeds the packet count threshold;
wherein one of the transmitting device and the receiving device comprises a root complex, and the other of the transmitting device and the receiving device comprises an endpoint.