摘要 |
<p>The embodiments of the present invention relate to a method and an apparatus for transmitting data packets. The method includes: receiving a data packet and obtaining the flow credit of the data flow to which the data packet belongs, wherein the flow credit increases according to the increase rate of the flow credit; according to the correspondence between the flow credit of the data flow and the control information of the data flow, obtaining the control information of the data flow corresponding to the flow credit of the data flow; transmitting the data packet according to the control information of the data flow, and consuming the flow credit corresponding to the data packet.</p> |