-
公开(公告)号:US10565043B2
公开(公告)日:2020-02-18
申请号:US15819440
申请日:2017-11-21
Applicant: HUAWEI TECHNOLOGIES CO., LTD.
Inventor: Haopeng Zhang , Pei Wu
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.
-
公开(公告)号:US11620175B2
公开(公告)日:2023-04-04
申请号:US16740717
申请日:2020-01-13
Applicant: HUAWEI TECHNOLOGIES CO., LTD.
Inventor: Haopeng Zhang , Pei Wu
IPC: G06F13/38 , G06F11/07 , G06F13/42 , H04L1/1867 , H04L1/24
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.
-