A PCI-e switch and a method for configuring branch mode thereof

By designing the multi-port link width adaptation module and branch selection module in the PCI-e switch, the flexible branch mode configuration of the PCI-e switch is realized, which solves the problem of insufficient scalability and flexibility in the fixed branch mode and improves the Improve channel utilization and adaptability.

CN114143276BActive Publication Date: 2024-10-01QINGXIN SEMICON TECH (SHANGHAI) CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202111396770.9
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2021-11-23
Publication Date
2024-10-01
Estimated Expiration
2041-11-23

AI Technical Summary

Technical Problem

The fixed branch mode of existing PCI-e switches limits its scalability and flexibility and cannot effectively adapt to multiple branch modes, resulting in low channel utilization and difficulty meeting the needs of high-density server platforms for PCI-e devices.

Method used

A PCI-e switch is designed, whose uplink and downlink ports can adapt to various interface widths. Through the multi-port link width adaptation module and branch selection module, it supports multiple independent data parallel processing, and through the power supply The management module controls the opening or closing of the link width adaptation module to achieve flexible branch mode configuration.

Benefits of technology

It realizes the flexible configuration of the link width of PCI-e switches, maximizes the utilization of channel bandwidth, and the dynamic power consumption is not much different from that of fixed branch fan-out switches. It can adapt to multiple branch modes at the same time to meet the needs of high-density server platforms.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN114143276B_ABST
    Figure CN114143276B_ABST
Patent Text Reader

Abstract

The present invention discloses a PCI‑e switch, comprising an upstream port, a downstream port, a routing and arbitration module, a reset logic, a power consumption management module, an interrupt management module and a switch cache module, wherein the upstream port can be adapted to one or more of the following root node ports: x16, x8, x4, x2, x1, and the downstream port can be adapted to one or more of the following terminal devices: x16 port device, x8 port device, x4 port device, x2 port device, x1 port device.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of PCI-e technology, and in particular to a PCI-e switch and a method for configuring a branch mode thereof. Background Art

[0002] PCI-Express (Peripheral Component Interconnect Express, PCI-Express) is a high-speed serial computer expansion bus standard, referred to as "PCI-e", which belongs to high-speed serial point-to-point dual-channel high-bandwidth transmission. Devices connected to PCI-e are allocated exclusive channel bandwidth and do not share bus bandwidth. They can support active power management, error reporting, end-to-end reliable transmission, hot plugging, and quality of service (QOS) and other functions. Due to its high data transmission rate, PCI-e has been widely used.

[0003] However, with the increasing requirements of users for integration, unification, efficiency, space, and energy consumption, many high-density modular server platforms have emerged in recent years, and the CPUs of these servers need to connect to many PCI-e devices, which makes it difficult for the original number of PCI-e channels to meet the demand. In order to deal with the problem of insufficient number of channels, PCI-e switches are designed in the PCI-e standard system, which can provide functions such as fanout, partition, and non-transparent bridge.

[0004] At present, most mainstream PCI-e switches adopt fixed branch mode, and their internal architecture is as follows: Figure 1 and Figure 2 As shown, it includes an upstream switch port (USP), a downstream switch port (DSP), a routing and arbitration module (Routing / Arbitration / Response), a reset logic (Reset logic), a power management module (LowPower), an interrupt management module (Interrupt Ctrl) and a switch buffer module (Packet Buffers). The PCI-e switch is in a fixed branch mode, such as Figure 1 In the PCI-e switch shown in FIG. 1 , the upstream port is a x16 interface, and the downstream ports include four x4 interfaces, as well as Figure 1In the PCI-e switch shown, the upstream port is a x16 interface, and the downstream port includes two x8 interfaces. Since the PCI-e interface is not upward compatible, for example, the x2 DSP is not compatible with the PCI-e interface of the NVMESSD x4, the PCI-e interface of the GPU x8, and other PCI-e channel interfaces exceeding x2, this makes this type of expansion mode relatively simple, and the expansion of channels and connectable devices is limited. At the same time, in order to achieve the minimum latency and power consumption, the logic used in the routing and arbitration modules, switch cache modules and other modules is generally fixed logic, which has poor flexibility. Summary of the invention

[0005] In view of some or all of the problems in the prior art, the present invention provides a PCI-e switch on one hand to adapt to multiple branch modes at the same time, wherein the PCI-e switch includes an upstream port, a downstream port, a routing and arbitration module, a reset logic, a power consumption management module, an interrupt management module and a switch cache module, wherein the upstream port can adapt to one or more of the following root node ports: x16, x8, x4, x2, x1, and the downstream port can adapt to one or more of the following terminal devices: x16 port device, x8 port device, x4 port device, x2 port device, x1 port device.

[0006] Furthermore, the uplink port and the downlink port include:

[0007] Cache module, including receiving cache and sending cache, used for formatting and distributing data streams;

[0008] A control module, which is communicatively connected to the cache module and supports parallel processing of multiple independent data, wherein the link widths of the multiple independent data can be the same or different, and each data is converted and cached by a port link width adaptation module; and

[0009] The branch selection module is used to select the port link width adaptation module according to different branch modes.

[0010] Furthermore, the branch selection module includes:

[0011] a branch selector, which is communicatively connected to the control module and is used for data stream distribution of the PCI-e physical interface; and

[0012] The power management module is electrically connected to the port link width adaptation module and is used to control the opening or closing of the port link width adaptation module according to different branch modes.

[0013] Furthermore, the uplink port and the downlink port also include a clock reset module, a register configuration module, a physical coding sublayer PCS configuration module, a physical layer PMA configuration module and bonding logic.

[0014] Furthermore, the control module and the branch selection module are connected via an interface bus that complies with the PHY Interface for PCI Express specification.

[0015] Furthermore, the uplink port and the downlink port share the cache module, the control module and the branch selection module, and are configured for partitioning through 1 bit.

[0016] Based on the architecture of the above PCI-e switch, another aspect of the present invention provides a method for configuring a branch mode of a PCI-e switch, comprising:

[0017] First, the maximum bandwidth of the PCI-e switch is determined through the root node port connected to the uplink port, and the branch mode is determined through the terminal device connected to the downlink port; and

[0018] Next, when the downstream port receives the data of the first width sent by the upstream port:

[0019] First, the width of the data stream is converted and cached through the receiving buffer module in the downstream port;

[0020] Next, according to the determined branch module, control the opening or closing of each port link width adaptation module in the downstream port to convert the data into a link width adapted to the terminal device; and

[0021] Finally, the data is distributed to the physical layer interface through the branch selector and sent to the terminal device; and

[0022] When the downstream port receives data sent by the terminal through the physical interface:

[0023] First, according to the received link width, control the opening or closing of each port link width adaptation module in the downstream port to convert the data into the first width;

[0024] Next, the width of the data stream is converted and cached through the sending buffer module in the downlink port; and

[0025] Finally, the converted data of the first width is sent to the upstream port.

[0026] Furthermore, the power supply of the port link width adaptation module is controlled by the power management module, thereby controlling the opening or closing of the port link width adaptation module.

[0027] The present invention provides a PCI-e switch and a method for configuring a branch mode thereof, which optimizes the internal architecture of the upstream port and the downstream port of the PCI-e switch, so that the link width can be flexibly configured. Specifically, a multi-port link width adaptation module is set up in the control module inside the upstream port and the downstream port, and the opening or closing of each port link width adaptation module is controlled as needed, so that the control module can support parallel processing of multiple data with different link widths. Through the upstream port and the downstream port architecture, the PCI-e switch can flexibly determine the branch mode, and can maximize the use of the channel bandwidth in a mode that can adapt to multiple branch modes at the same time. At the same time, the top layer of the PCI-e switch includes a system power consumption management module, which can turn off the idle control module clock signal according to different branch modes, and pre-initialize when it needs to be awakened, so that the dynamic power consumption of the entire PCI-e switch is not much different from that of the fan-out PCI-e switch with fixed branches. BRIEF DESCRIPTION OF THE DRAWINGS

[0028] To further illustrate the above and other advantages and features of various embodiments of the present invention, a more specific description of various embodiments of the present invention will be presented with reference to the accompanying drawings. It will be understood that these drawings only depict typical embodiments of the present invention and are therefore not to be considered as limiting the scope thereof. In the accompanying drawings, for clarity, identical or corresponding parts will be represented by identical or similar reference numerals.

[0029] Figure 1 A schematic diagram showing the internal architecture of a PCI-e switch in a x16-x4*4 branching mode in the prior art is shown;

[0030] Figure 2 A schematic diagram showing the internal architecture of a PCI-e switch in a x16-x8*2 branching mode in the prior art is shown;

[0031] Figure 3 A schematic diagram showing the internal architecture of a PCI-e switch according to an embodiment of the present invention; and

[0032] Figure 4 A schematic diagram showing the internal architecture of an upstream port and a downstream port of a PCI-e switch according to an embodiment of the present invention is shown. DETAILED DESCRIPTION

[0033] In the following description, the present invention is described with reference to various embodiments. However, those skilled in the art will recognize that various embodiments can be implemented without one or more specific details or with other replacement and / or additional methods, materials or components. In other cases, well-known structures, materials or operations are not shown or described in detail to avoid blurring the inventive point of the present invention. Similarly, for the purpose of explanation, specific quantities, materials and configurations are set forth to provide a comprehensive understanding of embodiments of the present invention. However, the present invention is not limited to these specific details. In addition, it should be understood that the various embodiments shown in the drawings are illustrative representations and are not necessarily drawn in correct proportions.

[0034] In this specification, reference to "one embodiment" or "the embodiment" means that a particular feature, structure, or characteristic described in conjunction with the embodiment is included in at least one embodiment of the present invention. The phrase "in one embodiment" appearing in various places in this specification does not necessarily all refer to the same embodiment.

[0035] In the present invention, each embodiment is only intended to illustrate the aspects of the present invention and should not be construed as limiting.

[0036] In the present invention, unless otherwise specified, the quantifiers "a", "an" and "an" do not exclude the presence of a plurality of elements.

[0037] It should also be pointed out that in the embodiments of the present invention, for the sake of clarity and simplicity, only a portion of the parts or components may be shown, but a person of ordinary skill in the art will understand that under the teachings of the present invention, required parts or components may be added as needed in specific scenarios.

[0038] The expansion mode of the traditional PCI-e switch in fixed branch mode is single. At the same time, since the PCI-e interface cannot be upwardly compatible, for example, the x2 downstream port DSP cannot be compatible with the PCI-e interface of NVME SSD x4, the PCI-e interface of GPU x8, and other PCI-e channel interfaces exceeding x2, which limits the expansion of the PCI-e interface. On the one hand, it is difficult to meet the application scenarios of certain PCI-e switches. On the other hand, since the routing, arbitration, and cache logic inside the PCI-e switch are all fixed logic, it is also difficult to adapt to multiple PCI-e root nodes and / or multiple PCI-e terminal devices at the same time with a higher channel utilization rate. In response to this problem, the present invention provides a new PCI-e switch, which adjusts the internal architecture of the upstream port USP and the downstream port DSP so that the PCI-e switch has a flexible branch mode, and can maximize the use of channel bandwidth in a mode that can adapt to multiple branch modes at the same time. The scheme of the present invention is further described below in conjunction with the accompanying drawings of the embodiments.

[0039] Figure 3 FIG. 1 is a schematic diagram showing the internal architecture of a PCI-e switch according to an embodiment of the present invention. Figure 3 As shown, a PCI-e switch includes an upstream port (Upstream Switch Port, USP), at least one downstream port (Downstream Switch Port, DSP), a routing and arbitration module (Routing / Arbitration / Response), a reset logic (Reset logic), a power management module (Low Power), an interrupt management module (Interrupt Ctrl) and a switch cache module (Packet Buffers).

[0040] Among them, the power consumption management module (Low Power) can shut down the idle control module clock signal according to the required branch mode or switch operation mode, so that the dynamic power consumption of the switch is not much different from that of the traditional fixed-branch fan-out PCI-e switch during actual operation. The functions and architectures of the routing and arbitration module (Routing / Arbitration / Response), reset logic (Reset logic), interrupt management module (Interrupt Ctrl) and switch cache module (Packet Buffers) are the same as those of the PCI-e switch in the prior art, and will not be repeated here.

[0041] like Figure 3 In the PCI-e switch shown, the upstream port is connected to the root node port through the physical layer interface PHY, and the downstream port is connected to the terminal device through the physical layer interface PHY. At the same time, the upstream port can adapt to one or more of the following root node ports: x16, x8, x4, x2, x1, and the link width of the root node port connected to it can determine the maximum bandwidth of the PCI-e switch; and the downstream port can adapt to one or more of the following terminal devices: x16 port device, x8 port device, x4 port device, x2 port device, x1 port device, and the link width of the downstream port is determined by the PCI-e interface width of the terminal device. The difference in width between the upstream port and the downstream port is buffered by the cache inside the PCI-e switch.

[0042] Since both the upstream and downstream ports of the PCI-e switch can support multiple modes of link width, the PCI-e switch can flexibly configure the branch mode. For example, in the application scenario of a single PCI-e root node, there is no need to consider the branch mode of the upstream port USP, and only the branch mode of the downstream port DSP needs to be adjusted. Taking the maximum link width x16 as an example, the branch modes that the downstream port can adapt to may include: single-channel x16, two-channel x8, one-channel x8 and two-channel x4, and 4-channel x4 modes.

[0043] In order to enable the upstream port and the downstream port to adapt to multiple link widths at the same time, the present invention adjusts the internal architecture of the upstream port and the downstream port. The upstream port and the downstream port share the same functional module and are configured through the top-level mode register. Specifically, the default value of the mode register is 0, which is the upstream port mode. When the mode register is configured to 1, it is the downstream port mode. After the mode register is configured, it is necessary to enable system reset to reinitialize. Figure 4 The internal architecture diagram of the uplink port and downlink port of a PCI-e switch according to an embodiment of the present invention is shown. Figure 4 As shown, the uplink port and the downlink port include a buffer module 401 , a control module 402 , a branch selection module 403 and a configuration module 404 .

[0044] The cache module 401 includes a receiving cache Receive and a sending cache Transmit, which are mainly used for formatting and distributing data flows. For the uplink port, it receives the Rx data flow Rx Data Flow from the logical internal switching network of the PCI-e switch through the receiving cache Receive, and sends the Tx data flow Tx Data Flow to the logical internal switching network of the PCI-e switch through the sending cache Transmit, while the Tx and Rx data flow processing directions of the downlink port are opposite to those of the uplink port, and it receives the Tx data flow Tx Data Flow from the logical internal switching network of the PCI-e switch through the sending cache Transmit, and sends the Rx data flow Rx DataFlow to the logical internal switching network of the PCI-e switch through the receiving cache Receive.

[0045] The control module pcie_ctrl_core 402 is communicatively connected to the cache module. The control module includes at least one port link width adaptation module portwidth_adapt, and the port link width adaptation module is used to perform width conversion and cache of data stream. Among them, the link widths that can be adapted by each port link width adaptation module can be the same or different, which enables the control module to support parallel processing of multiple independent data with the same or different link widths, and each data stream is converted and cached through a port link width adaptation module.

[0046] The branch selection module 403 is used to select the port link width adaptation module according to different branch modes, and complete the data stream distribution of the physical layer interface PIPE interface. In one embodiment of the present invention, the branch selection module includes a branch selector bifurcation mux and a power management module pmu. The branch selector is communicatively connected to the control module for data stream distribution of the PCI-e physical interface; and the power management module is electrically connected to the port link width adaptation module for controlling the opening or closing of the port link width adaptation module according to different branch modes.

[0047] The configuration module 404 includes a clock reset module cru, a register configuration module ctrl_regmap, a physical coding sublayer PCS configuration module pcs_regmap, a physical layer PMA configuration module pma_regmap and glue logic. The configuration module is only used for communication and logical configuration between the upstream port and the downstream port and the physical layer interface to realize data interaction between the upstream port and the downstream port and the physical layer interface. In one embodiment of the present invention, the control module and the branch selection module, as well as the branch selection module and the physical layer interface are connected through an interface bus that complies with the PHYInterface for PCI Express (pipe) specification, wherein the pipe specification is not limited to pipe4.4.1, and can also be other pipe interface protocols such as pipe4 / 3 / 2 / 1, pipe5, etc.

[0048] Based on the architecture of the PCI-e switch as described above, the configuration of the PCI-e switch for the branch mode includes:

[0049] The maximum bandwidth of the PCI-e switch is determined by the root node port connected through the upstream port, and the branch mode is determined by the terminal device connected through the downstream port. For example, if the link bandwidth of the root node port is x16, and the downstream port is only connected to one terminal device with a link width of x16, then the branch mode is x16-x16. If the link bandwidth of the root node port is x16, and the downstream port is connected to two terminal devices with a link width of x8, then the branch mode is x8-x8, and so on. After the branch mode is determined, the power consumption management module turns off the idle control module clock signal to reduce dynamic power consumption. The turned-off control module clock signal needs to be initialized in advance when it needs to be awakened.

[0050] The data flow processing in the branch mode includes:

[0051] When the downstream port receives the data of the first width sent by the upstream port and received from the root node port:

[0052] First, the width of the data stream is converted and cached through the receiving buffer module in the downstream port;

[0053] Next, according to the determined branch module, each port link width adaptation module in the downstream port is controlled to be turned on or off, and the data is converted into a data width adapted to the terminal device. In one embodiment of the present invention, the power supply of the port link width adaptation module is controlled by the power management module, thereby controlling the turning on or off of the port link width adaptation module; and

[0054] Finally, the data is distributed to the physical layer interface through the branch selector and sent to the terminal device; and

[0055] When the downstream port receives data sent by the terminal through the physical interface:

[0056] First, according to the received data width, each port link width adaptation module in the downstream port is controlled to be turned on or off, and the data is converted into the first width. In one embodiment of the present invention, the power supply of the port link width adaptation module is controlled by the power management module, thereby controlling the turning on or off of the port link width adaptation module;

[0057] Next, the width of the data stream is converted and cached through the sending buffer module in the downlink port; and

[0058] Finally, the converted data of the first data width is sent to the uplink port.

[0059] Next, combined with Figure 4 The upstream port and downstream port architecture of the PCI-e switch shown in the figure further describes the solution of the present invention.

[0060] like Figure 4 In the upstream port and downstream port shown, the control module includes 4 port link width adaptation modules portwidth_adapt_x16, portwidth_adapt_x8, portwidth_adapt_x4, and portwidth_adapt_x4, and the maximum link widths they adapt are x16, x8, x4, and x4, respectively. Based on the characteristics of the PCI-e port, the maximum link widths supported by each channel are x16, x8, x4, and x4, respectively. At the same time, data below the maximum link width can be supported. For example, portwidth_adapt_x16 can support x16, x8, x4, x2, and x1 link widths, and portwidth_adapt_x8 can support x8, x4, x2, and x1 link widths, and so on. Therefore, in the case of a single PCI-e root node, when the link width of the root node connected to the upstream port is x16, the downstream port can be configured with branch modes including:

[0061] x16-x16, in this branch mode, it is necessary to open the port link width adaptation module portwidth_adapt_x16 through the power management module, and close the remaining port link width adaptation modules portwidth_adapt_x8, portwidth_adapt_x4, and portwidth_adapt_x4;

[0062] x16-x8*2, in this branch mode, it is necessary to open the port link width adaptation modules portwidth_adapt_x16 and portwidth_adapt_x8 through the power management module, where portwidth_adapt_x16 is used to adapt to the x8 link width, and close the remaining two portwidth_adapt_x4 port link width adaptation modules;

[0063] x16-x8 / x4 / x4, in this branch mode, the power management module needs to be used to turn off the port link width adaptation module portwidth_adapt_x16 and turn on the remaining port link width adaptation modules portwidth_adapt_x8, portwidth_adapt_x4, and portwidth_adapt_x4; and

[0064] x16-x4*4, in this branch mode, it is necessary to enable all port link width adaptation modules through the power management module. At the same time, portwidth_adapt_x16 and portwidth_adapt_x8 are used to adapt to the x4 link width.

[0065] Here, only a single root node is given, and when the root node link width is x16, 4 different branch modes are given. In this case, the smallest branch granularity is x4. However, according to the architecture described above, those skilled in the art can easily obtain branch modes and corresponding configuration methods when the root node link width is x8, x4, x2, x1, etc. In other branch modes, the smallest branch granularity can be x2 or x1.

[0066] In addition, it should be understood that in other embodiments of the present invention, the port link width adaptation modules included in the control module can be other quantities, such as 2, 3, 5 or more, and the maximum link width that each port link width adaptation module can be configured with and the combination thereof are not limited to the following. Figure 4 In the embodiment shown, it can be combined arbitrarily according to actual needs, and its implementation principle is the same as Figure 4 The embodiments shown are identical.

[0067] In addition, since the upstream port and the downstream port share the same functional module, the PCI-e switch in the embodiment of the present invention can also be used in the case of multiple root nodes. At this time, the upstream port also needs to be configured in branch mode, that is, the data stream width conversion and caching are performed through the control module. The data stream width conversion and caching method is basically the same as that of the downstream port. The power management module is also used to control the opening and closing of the link width adaptation modules of different ports. It is only the Tx and Rx data stream processing directions of the downstream port are opposite.

[0068] The present invention provides a PCI-e switch and a method for configuring a branch mode thereof, wherein a multi-port link width adaptation module is set up in a control module inside an upstream port and a downstream port, and the opening or closing of each port link width adaptation module is controlled as required, so that the control module can support parallel processing of data of multiple channels with different link widths. Through the upstream port and downstream port architecture, the PCI-e switch can flexibly determine the branch mode, and can maximize the use of channel bandwidth in a mode that can adapt to multiple branch modes at the same time.

[0069] Although various embodiments of the present invention are described above, it should be understood that they are presented as examples only and not as limitations. It is obvious to those skilled in the relevant art that various combinations, modifications and changes can be made thereto without departing from the spirit and scope of the present invention. Therefore, the breadth and scope of the present invention disclosed herein should not be limited by the exemplary embodiments disclosed above, but should only be defined according to the attached claims and their equivalents.

Claims

1. A PCI-e switch, comprising an uplink port, a downlink port, a routing and arbitration module, a reset logic, a power consumption management module, an interrupt management module and a switch cache module, characterized in that: The upstream port can be adapted to one or more of the following root node ports: x16, x8, x4, x2, x1, and the downstream port can be adapted to one or more of the following terminal devices: x16 port device, x8 port device, x4 port device, x2 port device, x1 port device, wherein the upstream port and the downstream port include: A cache module, including a receiving cache and a sending cache, wherein the cache module is configured to perform formatting and distribution of data streams; A control module, which is communicatively connected to the cache module and supports parallel processing of multiple independent data, wherein the link widths of the multiple independent data can be the same or different, and each data is converted and cached by a port link width adaptation module; and The branch selection module is configured to select the port link width adaptation module according to different branch modes and complete the data flow distribution of the physical layer interface PIPE interface.

2. The PCI-e switch according to claim 1, wherein: The branch selection module comprises: a branch selector, which is communicatively connected to the control module and is configured to enable data flow distribution of the PCI-e physical interface; and The power management module is electrically connected to the port link width adaptation module and is configured to control the opening or closing of the port link width adaptation module according to different branch modes.

3. The PCI-e switch according to claim 1, wherein: The uplink port and the downlink port further include a clock reset module, a register configuration module, a physical coding sublayer PCS configuration module, a physical layer PMA configuration module and bonding logic.

4. The PCI-e switch according to claim 1, wherein: The control module is connected to the branch selection module via an interface bus that complies with the PHY Interface for PCI Express specification.

5. The PCI-e switch according to claim 1, wherein: The uplink port and the downlink port share the cache module, the control module and the branch selection module, and are configured for partitioning through 1 bit.

6. A method for configuring a branch mode of a PCIe switch according to any one of claims 1 to 5, characterized in that: Includes steps: First, the maximum bandwidth of the PCIe switch is determined through the root node port connected to the uplink port, and the branch mode is determined through the terminal device connected to the downlink port; as well as Next, when the downstream port receives the data of the first width sent by the upstream port: First, the width of the data stream is converted and cached through the receiving buffer module in the downstream port; Next, according to the determined branch module, control the opening or closing of each port link width adaptation module in the downstream port to convert the data into a link width adapted to the terminal device; and Finally, the data is distributed to the physical layer interface through the branch selector and sent to the terminal device; as well as When the downstream port receives data sent by the terminal through the physical interface: First, according to the received link width, control the opening or closing of each port link width adaptation module in the downstream port to convert the data into the first width; Next, the width of the data stream is converted and cached through the send buffer module in the downstream port; as well as Finally, the converted data of the first width is sent to the upstream port.

7. The method according to claim 6, characterized in that The power management module is used to control the power on and off of the port link width adaptation module, thereby controlling the opening or closing of the port link width adaptation module.