METHOD FOR TRANSMITTING DATA AND NETWORK DEVICE

    公开(公告)号:EP3902215A1

    公开(公告)日:2021-10-27

    申请号:EP19908321.3

    申请日:2019-12-31

    IPC分类号: H04L12/803

    摘要: This application provides a data transmission method and a network device. The method includes: sending, by a first network device, request information to a second network device; receiving, by the first network device, grant information sent by the second network device, where the grant information includes a first sequence number; determining, by the first network device, a first credit limit based on the first sequence number, where the first credit limit is an amount of data that is allowed to be sent by the first network device in a packet-distributed load sharing manner; and sending, by the first network device, data to the second network device based on the first credit limit. In the foregoing technical solution, the first network device determines, based on the grant information sent by the second network device, the amount of data that is allowed to be sent in the packet-distributed load sharing manner, and further sends data to the second network device based on the amount of data. This can avoid that an amount of data sent exceeds an amount of data that can be cached and ordered by the second network device, thereby avoiding out-of-order sending of data packets from the second network device.