我正在尝试将 SR-IOV 与 openstack 一起使用,为了检查我的服务器上的 NIC 是否支持此技术,我执行以下操作:
(venv) [root@controller share]# lshw -c network -businfo
Bus info Device Class Description
========================================================
pci@0000:02:00.0 eno3 network NetXtreme BCM5720 Gigabit Ethernet PCIe
pci@0000:02:00.1 eno4 network NetXtreme BCM5720 Gigabit Ethernet PCIe
pci@0000:01:00.0 eno1 network NetXtreme BCM5720 Gigabit Ethernet PCIe
pci@0000:01:00.1 eno2 network NetXtreme BCM5720 Gigabit Ethernet PCIe
pci@0000:05:00.0 network MT27500 Family [ConnectX-3]
进而 :
(venv) [root@controller share]# lspci -vs 0000:02:00.0
02:00.0 Ethernet controller: Broadcom Inc. and subsidiaries NetXtreme BCM5720 Gigabit Ethernet PCIe
DeviceName: NIC3
Subsystem: Dell Device 1f5b
Flags: bus master, fast devsel, latency 0, IRQ 51, NUMA node 0
Memory at d58a0000 (64-bit, prefetchable) [size=64K]
Memory at d58b0000 (64-bit, prefetchable) [size=64K]
Memory at d58c0000 (64-bit, prefetchable) [size=64K]
Expansion ROM at d8000000 [disabled] [size=256K]
Capabilities: [48] Power Management version 3
Capabilities: [50] Vital Product Data
Capabilities: [58] MSI: Enable- Count=1/8 Maskable- 64bit+
Capabilities: [a0] MSI-X: Enable+ Count=17 Masked-
Capabilities: [ac] Express Endpoint, MSI 00
Capabilities: [100] Advanced Error Reporting
Capabilities: [13c] Device Serial Number 00-00-c8-1f-66-e0-30-22
Capabilities: [150] Power Budgeting <?>
Capabilities: [160] Virtual Channel
Kernel driver in use: tg3
Kernel modules: tg3
根据 Redhat 文档,支持 sr-iov 的设备应该使用lspci -vs
命令有以下输出:
Capabilities: [160 v1] Single Root I/O Virtualization (SR-IOV)
但就我而言:
Capabilities: [160] Virtual Channel
在搜索了这个结果之后,我找不到虚拟通道和SRIOV,这是否意味着我的服务器上的 NIC 不支持单根 I/O 虚拟化?