[root@rac1 q]# lspci -nn | grep -i mella
02:00.0 Network controller [0280]: Mellanox Technologies MT27500 Family [ConnectX-3] [15b3:1003]--->15b3是16进制,是Mellanox的制造商代码
[root@rac1 q]# lspci -nn | grep -i ethernet
03:00.0 Ethernet controller [0200]: Intel Corporation I350 Gigabit Network Connection [8086:1521] (rev 01)--->8086是16进制,是intel的制造商代码.
03:00.1 Ethernet controller [0200]: Intel Corporation I350 Gigabit Network Connection [8086:1521] (rev 01) --->8086是16进制,是intel的制造商代码.
[root@rac1 q]#
至于上面结果中的第一行第一列:02:00.0是slot name或者说slot number,见下:
[root@rac1 q]# lspci -vmm
截取一段:
Slot: 02:00.0
Class: Network controller
Vendor: Mellanox Technologies
Device: MT27500 Family [ConnectX-3]
SVendor: Mellanox Technologies
SDevice: Device 0050
PhySlot: 3
注意: PhySlot
The physical slot where the device resides (optional, Linux only).
值得说明的是:主板上的pci接口的旁边都印有PCI1,PCI2等等字样,以表明PCI插槽的物理位置.