发明名称 Method, Device, and System for Processing PCIe Link Fault
摘要 In a Peripheral Component Interconnect Express (PCIe) system, a first PCIe apparatus determines that at least one of lanes of a link between the first PCIe apparatus and a second PCIe apparatus is disabled, wherein the link includes M lanes numbered in a first order. Based upon the determination, the first PCIe apparatus obtains a number N indicating a number of available lanes of the link by performing a lane negotiation with the second PCIe apparatus. Then, a processor determines that N<M/2. Based upon the determination, the first PCIe apparatus re-numbers at least some of the lanes of the link in a reverse order opposite to the first order as instructed by the processor. At last, the first PCIe apparatus continue to perform a negotiation with the second PCIe apparatus to obtain available lanes.
申请公布号 US2015324268(A1) 申请公布日期 2015.11.12
申请号 US201514806078 申请日期 2015.07.22
申请人 Huawei Technologies Co., Ltd. 发明人 Du Ge
分类号 G06F11/30;G06F13/40;G06F11/22;G06F13/42 主分类号 G06F11/30
代理机构 代理人
主权项 1. A method performed by a Peripheral Component Interconnect Express (PCIe) system which includes a processor and a first PCIe apparatus, the method comprising: determining, by the first PCIe apparatus, that at least one of lanes of a link between the first PCIe apparatus and a second PCIe apparatus is disabled, wherein the link includes M lanes numbered in a first order; reporting, by the first PCIe apparatus and to the processor, a device identifier (ID) of the first PCIe apparatus based on the determination that the at least one of the lanes of the link between the first PCIe apparatus and the second PCIe apparatus is disabled; obtaining, by the first PCIe apparatus, a number N indicating a number of available lanes of the link by performing a lane negotiation with the second PCIe apparatus; obtaining, by the processor, the number N and a number M indicating a total number of lanes of the link from the first PCIe apparatus according to the device ID; determining, by the processor, that N<M/2; instructing, by the processor, the first PCIe apparatus to re-number at least some of the lanes of the link based upon the determination that N<M/2; re-numbering, by the first PCIe apparatus, at least some of the lanes of the link in a reverse order opposite to the first order as instructed by the processor; and performing, by the first PCIe apparatus, a negotiation with the second PCIe apparatus to obtain available lanes.
地址 Shenzhen CN