-
公开(公告)号:US20200151045A1
公开(公告)日:2020-05-14
申请号:US16740717
申请日:2020-01-13
Applicant: HUAWEI TECHNOLOGIES CO., LTD.
Inventor: Haopeng ZHANG , Pei WU
Abstract: A method, an apparatus and a system for disconnecting a link between a Peripheral Component Interconnect Express (PCIe) device and a host, and pertains to the field of computer technologies. The PCIe device includes an endpoint (EP) device. The method includes: obtaining, by the EP device, an error type of an error in transmitting a transaction layer packet (TLP) between the PCIe device and the host; if the error type is a correctable error type specified in the PCIe protocol, collecting, by the EP device, statistics of a duration for which the error type exists; and disconnecting, by the EP device, a link between the PCIe device and the host if the statistics of the duration reaches a preset duration.
-
公开(公告)号:US20180095817A1
公开(公告)日:2018-04-05
申请号:US15819440
申请日:2017-11-21
Applicant: HUAWEI TECHNOLOGIES CO., LTD.
Inventor: Haopeng ZHANG , Pei WU
CPC classification number: G06F11/0757 , G06F11/0745 , G06F13/38 , G06F13/4282 , G06F2213/0026 , H04L1/188 , H04L1/24
Abstract: A method and an apparatus for disconnecting a link between a Peripheral Component Interconnect Express (PCIe) device and a host, and pertains to the field of computer technologies. The PCIe device includes an endpoint (EP) device, and the method includes: obtaining, by the EP device, an error type of an error in transmitting a transaction layer packet (TLP) between the PCIe device and the host; if the error type is a correctable error type specified in the PCIe protocol, collecting, by the EP device, statistics of a duration for which the error type exists; and disconnecting, by the EP device, a link between the PCIe device and the host if the statistics of the duration reaches a preset duration. The apparatus includes an obtaining module, a statistics collection module, and a disconnection module.
-