Users Guide

15–SR-IOV
验证 SR-IOV 是否正常工作
239 BC0054508-05 M
验证 SR-IOV 是否正常工作
遵照用于 Hyper-V VMware vSphere ESXi CLI 的适用步骤。
要在 Hyper-V Manager Hyper-V 管理器)中验证 SR-IOV
1. 启动 VM
2. Hyper-V Manager Hyper-V 管理器)中,选择该适配器,然后在
Virtual Machines (虚拟机)列表中,选择 VM
3. 单击窗口底部的 Networking (联网)选项卡,查看适配器状态。
要在 VMware vSphere 6.0 U2 网页客户端中验证 SR-IOV
1. 通过选择 Host (主机) Manage, Settings (管理、设置) Hardware
(硬件),然后选择 PCI Devices PCI 设备),确认 VF 作为常规
VMDirectPath 设备显示。
2. 右键单击 VM,选择 Edit settings (编辑设置) New Device (新设备)
Select Network (选择网络)以及 Add (添加)。单击 New Network (新
增网络)然后选择 SR-IOV 作为适配器类型。单击 OK (确定)
要在 ESXi CLI 中验证 SR-IOV
1. 发出 lspci 命令:
~ # lspci | grep -i ether
下面是一个输出示例。
0000:03:01.0 Network controller: Broadcom Corporation
NetXtreme II BCM57810 10 Gigabit Ethernet Virtual Function
[PF_0.3.0_VF_0]
2. 要列出启用 SR-IOV NIC,则发 esxcli 命令:
~ # esxcli network sriovnic list
下面是一个输出示例。
Name PCI Device Driver Link Speed Duplex MAC Address MTU Description
------ ------------- ------ ---- ----- ------ ---------------- ---- -----------
vmnic0 0000:003:00.0 bnx2x Up 10000 Full 3c:d9:2b:f6:71:50 1500 Broadcom Corpo
vmnic1 0000:003:00.1 bnx2x Down 0 Full 3c:d9:2b:f6:71:54 1500 Broadcom Corpo