PCIe-based communications method and apparatus
Abstract
A PCIe-based communications method includes: a root complex writes identity information of a second node into a first node and writes routing table information into a third node, where the first node is a source node of first data, the second node is a destination node of the first data, and the third node is a node through which the first data arrives at the second node.
Interactive Citation Constellation Global Citation Ranking
Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 24 · Forward citations: 0.
Claims (8)
- Claim 1Independent Claim
A peripheral component interconnect express (PCIe)-based communications method, wherein the method comprises: writing identity information of a second node into a first node, wherein the first node is a source node of first data, and the second node is a destination node of the first data; writing routing table information into a third node, wherein the third node is a node through which the first data arrives at the second node; and determining whether the first node supports a first working mode or whether the third node supports the first working mode, wherein the first working mode is a working mode in which communication between nodes does not use a root complex.
- Claim 2Depends on #1
The method according to claim 1, wherein the method further comprises: determining that the first node supports the first working mode; or determining that the first node supports the first working mode and a second working mode, wherein the second working mode is a working mode in which communication between nodes uses the root complex.
- Claim 3Depends on #2
The method according to claim 2, wherein the method further comprises: configuring a first memory address for the first node when the first node is in the second working mode, wherein the first memory address is a physical address in running memory corresponding to a central processing unit (CPU) to which local memory space of the first node is mapped.
- Claim 4Depends on #1
The method according to claim 1, wherein the method further comprises: determining that the third node supports the first working mode; or determining that the third node supports the first working mode and a second working mode, wherein the second working mode is a working mode in which communication between nodes uses the root complex.
- Claim 5Depends on #4
The method according to claim 4, wherein the method further comprises: configuring a second memory address for the third node when the third node is in the second working mode, wherein the second memory address is a physical address in running memory corresponding to a central processing unit (CPU) to which local memory space of the third node is mapped.
- Claim 6Depends on #1
The method according to claim 1, wherein the method further comprises: writing identity information of the first node into the first node.
- Claim 7Depends on #1
The method according to claim 1, wherein the method further comprises: writing identity information of the third node into the third node.
- Claim 8Independent Claim
A peripheral component interconnect express (PCIe)-based communications apparatus, wherein the apparatus comprises: a processor, configured to: write identity information of a second node into a first node, wherein the first node is a source node of first data, and the second node is a destination node of the first data; write routing table information into a third node, wherein the third node is a node through which the first data arrives at the second node; and determine whether the first node supports a first working mode or whether the third node supports the first working mode, wherein the first working mode is a working mode in which communication between nodes does not use a root complex.
Technical Overview & Description
CROSS-REFERENCE TO RELATED APPLICATIONS This application is a continuation of International Application No. PCT/CN2020/077039, filed on Feb. 27, 2020, the disclosure of which is hereby incorporated by reference in its entirety. TECHNICAL FIELD This application relates to the field of communication technologies, and in particular, to a communications method and apparatus based on peripheral component interconnect express (peripheral component interconnect express, PCIe). BACKGROUND Main composition units of a PCIe system include a root complex (root complex, Root), a switching node (switch), an endpoint (endpoint), and the like. The root complex is configured to manage all buses and all nodes in the PCIe system, and is a bridge for communication between nodes in the PCIe system. One PCIe system may include one or more switching nodes. The switching node is a data forwarding node in the PCIe system. One switching node may be connected to one or more of a root complex, another switching node, or an endpoint. The endpoint is an end device, for example, a peripheral (peripheral) device, and is configured to receive data from another node or the root complex, or send data to another node or the root complex. In the PCIe system, only the root complex and a node (for example, an endpoint or a switching node) have permission to read configuration space of the node. Configuration space of a node stores information such as function information or an address of the node. If the current node is a storage device, no other node in the PCIe system has permission to read configuration space of the node. For example, for a node 1 in the PCIe system, only the root complex and the node 1 have permission to read configuration space of the node 1 , and a node other than the node 1 in the PCIe system has no permission to read the configuration space of the node 1 . This means that in the PCIe system, only the root complex can learn of information such as a function or an address of each n
Cited By — Indexed Forward Citations (0 of 0 total)
No indexed citing patents in this generation yet. Ingest USPTO/PatentsView bulk citation tables via patents-ingest to expand the local forward citation graph.
References Cited — Backward Prior Art (24)
| Patent | Title | Year | Citations |
|---|
Non-Patent Literature (10)
- Lin,
- “
- The FPGA Design and Implementation of High-speed DAC Based on the PCIE Bus,
- ”
- Thesis for the Master degree of Instrument and Meter Engineering, University of Electronic Science and Technology of China, May 20, 2013, 80 pages (with English abstract).
- Specification, Base,
- “
- PCI Express Base Specification Revision 5.0, Version 1.0,
- ”
- May 22, 2019, 1299 pages.