Link width adjustment method and apparatus
AssigneeHuawei Technologies Co., Ltd.
InventorsEr Nie, Kun Wang, Pan Li
Life of this patent
Estimating the term…
Abstract
This application relates to a link width adjustment method and apparatus. The method includes: sending, to a second-end apparatus through a first channel, a first packet indicating to perform link width switching; receiving a second packet that is returned by the second-end apparatus and that indicates that the link width switching is agreed on; sending, to the second-end apparatus through a second channel, a first bit stream to test the second channel for data communication; and sending a data stream to the second-end apparatus through the first channel and the second channel.
Claims18
A link width adjustment method, comprising:
- sending a first packet to a second-end apparatus through a first data link layer (DL) of a first-end apparatus and a first channel, wherein the first packet comprises a first data link flit (DLF) that carries first indication information indicating to perform link width switching, wherein the first indication information comprises a first identifier and a first link width, the first identifier indicates that the first DLF is a request packet for adjusting a link width in a sending direction, and the first link width indicates a target link width;
- receiving a second packet returned by the second-end apparatus, wherein the second packet carries second indication information indicating that the link width switching is agreed on;
- sending a first bit stream to the second-end apparatus through a second channel, wherein the first bit stream is used to train the second channel for a data communication;
- and
- sending a data stream to the second-end apparatus through the first channel and the second channel.
A first-end apparatus, comprising at least one memory and at least one processor, wherein the at least one memory stores a computer program for execution by the at least one processor to cause the first-end apparatus to perform the following operations:
- sending a first packet to a second-end apparatus through a first data link layer (DL) of a first-end apparatus and a first channel, wherein the first packet comprises a first data link flit (DLF) that carries first indication information indicating to perform link width switching, wherein the first indication information comprises a first identifier and a first link width, the first identifier indicates that the first DLF is a request packet for adjusting a link width in a sending direction, and the first link width indicates a target link width;
- receiving a second packet returned by the second-end apparatus, wherein the second packet carries second indication information indicating that the link width switching is agreed on;
- sending a first bit stream to the second-end apparatus through a second channel, wherein the first bit stream is used to train the second channel for a data communication;
- and
- sending a data stream to the second-end apparatus through the first channel and the second channel.
A non-volatile computer-readable storage medium, storing computer program instructions, that when executed by at least one processor, cause a computer to perform operations comprising:
- sending a first packet to a second-end apparatus through a first data link layer (DL) and a first channel, wherein the first packet comprises a first data link flit (DLE) that carries first indication information indicating to perform link width switching, wherein the first indication information comprises a first identifier and a first link width, the first identifier indicates that the first DLF is a request packet for adjusting a link width in a sending direction, and the first link width indicates a target link width;
- receiving a second packet returned by the second-end apparatus, wherein the second packet carries second indication information indicating that the link width switching is agreed on;
- sending a first bit stream to the second-end apparatus through a second channel, wherein the first bit stream is used to train the second channel for a data communication;
- and
- sending a data stream to the second-end apparatus through the first channel and the second channel.
Dependencies are inferred from the claim text.