pcie controller and loopback data path using pcie controller
A controller and loopback technology, applied in the direction of electrical digital data processing, instruments, etc., can solve the problem of no data path
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Publication Date
- 2020-09-08
Smart Images

Figure 1 
Figure 2 
Figure 3
Abstract
Description
technical field
[0001] This application relates to electronic devices, and more particularly to the use of PCIe controllers to provide an internal loopback data path. Background technique
[0002] The PCIe protocol defines the communication mechanism between devices. The NVMe protocol (see also Chapter 3 of "NVM Express Revision 1.2" (hereinafter referred to as the NVMe protocol), November 3, 2014) defines a mechanism for accessing non-volatile storage devices. PCIe devices provide memory space (Memory Space). A host coupled to a PCIe device can access the memory space of the PCIe device. The PCIe specification defines a loopback (Loopback) state. In the loopback state, the slave device (Slave) sends the data received from the master device (Master) back to the master device.
[0003] In the loopback defined by the PCIe protocol, data is sent to the PCIe physical link and returned from the link. However, in some cases, it is only necessary to use the loopback function t...
Examples
Embodiment Construction
[0102] The technical solutions in the embodiments of the present invention are clearly and completely described below in conjunction with the accompanying drawings in the embodiments of the present invention. Obviously, the described embodiments are part of the embodiments of the present invention, but not all of them. Based on the embodiments of the present invention, all other embodiments obtained by those skilled in the art without making creative efforts belong to the protection scope of the present invention.
[0103] figure 1 A block diagram of the electrical system of the PCIe controller is shown. Such as figure 1As shown, a host (host) is coupled to the device through a PCIe PHY module 110 . The PCIe controller includes a PCIe PHY module 110 , a data link layer module 120 , a transport layer module 130 , a memory 140 and a CPU subsystem 160 . CPU subsystem 160 includes one or more CPUs. The PCIe PHY module 110 is used to process PCIe underlying protocols (such as t...