Method and apparatus for disconnecting link between PCIe device and host
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.
Information query
Patent Agency Ranking
0/0