A method and a device for detecting error information of a PCIe network card
A technology of error information and detection method, which is applied in the detection field of PCIe network card error information, and can solve problems such as unstable work of PCIe interface network card link connection and data transmission, performance degradation of interface link connection and transmitted data, etc.
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0033] Such as figure 1 As shown, the technical solution of the present invention provides a detection method of PCIe network card error information on the one hand, comprising:
[0034] S101, using the lspci tool to obtain the information of the PCIe device and the PCIe network card of the server product.
[0035] S102. Use the lspci tool to read the first 288 bytes of data in the PCIe configuration space of the PCIe network card.
[0036] S103. According to the first correspondence, judge whether the value of the bit corresponding to the error in the uncorrectable error mask register is 0. If the judgment result is yes, execute step S105; if the judgment result is no, execute step S104.
[0037] S104, set the corresponding bit to 0 through the setpci tool to enable it, and turn to step S102.
[0038]S105, judging whether the value of the bit corresponding to the error in the uncorrectable error status register is 1. If the judging result is yes, go to step S106; if the j...
Embodiment 2
[0061] Such as figure 2 As shown, the technical solution of the present invention provides a detection device for PCIe network card error information on the one hand, comprising:
[0062] The network card information acquisition module 101 utilizes the lspci tool to obtain PCIe equipment and PCIe network card information in the server product;
[0063] Configuration data reading module 102 utilizes the lspci tool to read the data of the first 288 bytes of the PCIe configuration space of the PCIe network card;
[0064] Uncorrectable mask register judging module 103, according to the first correspondence, judges whether the value of the bit corresponding to the error in the uncorrectable mask register is 0, if it is 0, it means that its error is normally obtained, and transfers to If the uncorrectable status register judging module 104 is 1, it means that its error is shielded, and its corresponding bit position needs to be set to 0 by the setpci tool, and then transferred to ...
PUM
Abstract
Description
Claims
Application Information
- R&D Engineer
- R&D Manager
- IP Professional
- Industry Leading Data Capabilities
- Powerful AI technology
- Patent DNA Extraction
Browse by: Latest US Patents, China's latest patents, Technical Efficacy Thesaurus, Application Domain, Technology Topic, Popular Technical Reports.
© 2024 PatSnap. All rights reserved.Legal|Privacy policy|Modern Slavery Act Transparency Statement|Sitemap|About US| Contact US: help@patsnap.com