PCIe-based data transmission method and device
The invention provides a data transmission method and a data transmission device based on a Peripheral Component Interconnect Express (Peripheral Component Interconnect Express). The data transmission method and the data transmission device based on the Peripheral Component Interconnect Express (Per...
Gespeichert in:
Hauptverfasser: | , , , |
---|---|
Format: | Patent |
Sprache: | chi ; eng |
Schlagworte: | |
Online-Zugang: | Volltext bestellen |
Tags: |
Tag hinzufügen
Keine Tags, Fügen Sie den ersten Tag hinzu!
|
Zusammenfassung: | The invention provides a data transmission method and a data transmission device based on a Peripheral Component Interconnect Express (Peripheral Component Interconnect Express). The data transmission method and the data transmission device based on the Peripheral Component Interconnect Express (Peripheral Component Interconnect Express) are provided. The method includes: receiving a doorbell (DB) message from a root complex (RC) connected to an endpoint (EP) based on PCIe; the processor of the EP sends a read request message to a direct memory access (DMA) controller of the EP in a polling manner; and in response to the received read request message, the DMA controller reads data to be transmitted from the memory of the RC and writes the read data into the memory of the EP.
提供了一种基于外围组件互连高速(Peripheral Component Interconnect express,PCIe)的数据传输方法和装置。所述方法包括:从基于PCIe与端点(Endpiont,EP)连接的根复合体RC接收门铃DB消息;所述EP的处理器以轮询的方式向所述EP的直接内存访问DMA控制器发送读请求消息;响应于接收到所述读请求消息,所述DMA控制器从所述RC的内存中读取待传输的数据,并将读取的数据写入所述EP的内存。 |
---|