centos 查看 PCIE 接口 PCI-E Linux下查看PCIe版本及速率
centos 查看 PCIE 接口
lspci | grep -i pcie
# lspci | grep -i pcie
01:00.0 Ethernet controller: Broadcom Inc. and subsidiaries NetXtreme BCM5720 2-port Gigabit Ethernet PCIe
01:00.1 Ethernet controller: Broadcom Inc. and subsidiaries NetXtreme BCM5720 2-port Gigabit Ethernet PCIe
02:00.0 Ethernet controller: Broadcom Inc. and subsidiaries NetXtreme BCM5720 2-port Gigabit Ethernet PCIe
02:00.1 Ethernet controller: Broadcom Inc. and subsidiaries NetXtreme BCM5720 2-port Gigabit Ethernet PCIe
08:00.0 PCI bridge: Renesas Technology Corp. SH7758 PCIe Switch [PS]
09:00.0 PCI bridge: Renesas Technology Corp. SH7758 PCIe Switch [PS]
0a:00.0 PCI bridge: Renesas Technology Corp. SH7758 PCIe-PCI Bridge [PPB]
ff:10.0 System peripheral: Intel Corporation Xeon E7 v4/Xeon E5 v4/Xeon E3 v4/Xeon D R2PCIe Agent (rev 01)
ff:10.1 Performance counters: Intel Corporation Xeon E7 v4/Xeon E5 v4/Xeon E3 v4/Xeon D R2PCIe Agent (rev 01)
# lspci -v | grep -i pcie
Kernel driver in use: pcieport
Kernel driver in use: pcieport
Kernel driver in use: pcieport
Kernel driver in use: pcieport
Kernel driver in use: pcieport
Kernel driver in use: pcieport
Kernel driver in use: pcieport
Kernel driver in use: pcieport
01:00.0 Ethernet controller: Broadcom Inc. and subsidiaries NetXtreme BCM5720 2-port Gigabit Ethernet PCIe
01:00.1 Ethernet controller: Broadcom Inc. and subsidiaries NetXtreme BCM5720 2-port Gigabit Ethernet PCIe
02:00.0 Ethernet controller: Broadcom Inc. and subsidiaries NetXtreme BCM5720 2-port Gigabit Ethernet PCIe
02:00.1 Ethernet controller: Broadcom Inc. and subsidiaries NetXtreme BCM5720 2-port Gigabit Ethernet PCIe
08:00.0 PCI bridge: Renesas Technology Corp. SH7758 PCIe Switch [PS] (prog-if 00 [Normal decode])
Capabilities: [b0] Subsystem: Renesas Technology Corp. SH7758 PCIe Switch [PS]
Kernel driver in use: pcieport
09:00.0 PCI bridge: Renesas Technology Corp. SH7758 PCIe Switch [PS] (prog-if 00 [Normal decode])
Capabilities: [b0] Subsystem: Renesas Technology Corp. SH7758 PCIe Switch [PS]
Kernel driver in use: pcieport
0a:00.0 PCI bridge: Renesas Technology Corp. SH7758 PCIe-PCI Bridge [PPB] (prog-if 00 [Normal decode])
Capabilities: [b0] Subsystem: Renesas Technology Corp. SH7758 PCIe-PCI Bridge [PPB]
ff:10.0 System peripheral: Intel Corporation Xeon E7 v4/Xeon E5 v4/Xeon E3 v4/Xeon D R2PCIe Agent (rev 01)
Subsystem: Intel Corporation Xeon E7 v4/Xeon E5 v4/Xeon E3 v4/Xeon D R2PCIe Agent
ff:10.1 Performance counters: Intel Corporation Xeon E7 v4/Xeon E5 v4/Xeon E3 v4/Xeon D R2PCIe Agent (rev 01)
Subsystem: Intel Corporation Xeon E7 v4/Xeon E5 v4/Xeon E3 v4/Xeon D R2PCIe Agent
lspci -v > pcie_info.txt
dmidecode |grep --color "PCI"
PCI is supported
Designation: PCIe Slot 1
Type: x8 PCI Express 3 x16
Designation: PCIe Slot 2
Type: x8 PCI Express 3 x16
Designation: PCIe Slot 3
Type: x8 PCI Express 3 x16
Designation: PCIe Slot 4
Type: x16 PCI Express 3
Designation: PCIe Slot 5
Type: x8 PCI Express 3 x16
Designation: PCIe Slot 6
Type: x16 PCI Express 3
Designation: PCIe Slot 7
Type: x8 PCI Express 3 x16