在虚拟网络适配器上启用 vRSSEnable vRSS on a Virtual Network Adapter

适用于:Windows Server(半年频道)、Windows Server 2016Applies to: Windows Server (Semi-Annual Channel), Windows Server 2016

虚拟 RSS ( vRSS ) 需要 ( ) 物理适配器虚拟机队列 VMQ 支持。Virtual RSS (vRSS) requires Virtual Machine Queue (VMQ) support from the physical adapter. 如果 VMQ 已禁用或不受支持,则会禁用虚拟接收方缩放。If VMQ is disabled or is not supported then Virtual Receive-side scaling is disabled.

有关详细信息,请参阅计划使用 vRSSFor more information, see Plan the Use of vRSS.

在 VM 上启用 vRSSEnable vRSS on a VM

使用以下过程来通过使用 Windows PowerShell 或设备管理器来启用 vRSS。Use the following procedures to enable vRSS by using either Windows PowerShell or Device Manager.

  • 设备管理器Device Manager
  • Windows PowerShellWindows PowerShell

设备管理器Device Manager

可以使用此过程通过设备管理器来启用 vRSS。You can use this procedure to enable vRSS by using Device Manager.

备注

此过程的第一个步骤特定于运行 Windows 10 或 Windows Server 2016 的 Vm。The first step in this procedure is specific to VMs that are running Windows 10 or Windows Server 2016. 如果 VM 运行的是不同的操作系统,则可以通过先打开 "控制面板",然后查找并打开设备管理器来打开设备管理器。If your VM is running a different operating system, you can open Device Manager by first opening Control Panel, then locating and opening Device Manager.

  1. 在 VM 任务栏上,在 "要搜索的位置" 中键入 "设备"。On the VM taskbar, in Type here to search, type device.

  2. 在搜索结果中,单击 "设备管理器"。In the search results, click Device Manager.

  3. 在设备管理器中,单击以展开 "网络适配器"。In Device Manager, click to expand Network adapters.

  4. 右键单击要配置的网络适配器,然后单击 "属性"。Right-click the network adapter you want to configure, and then click Properties.

    "网络适配器属性" 对话框将打开。The network adapter Properties dialog box opens.

  5. 在 "网络适配器属性" 中,单击 "高级" 选项卡。In network adapter Properties, click the Advanced tab.

  6. 在 "属性" 中,向下滚动到并单击 "接收方缩放"。In Property, scroll down to and click Receive-side scaling.

  7. 确保已启用"" 中的选择。Ensure that the selection in Value is Enabled.

  8. 单击“确定”。Click OK.

备注

在 "高级" 选项卡上,某些网络适配器还显示适配器所支持的 RSS 队列的数量。On the Advanced tab, some network adapters also display the number of RSS queues that are supported by the adapter.


Windows PowerShellWindows PowerShell

使用以下过程通过 Windows PowerShell 启用 vRSS。Use the following procedure to enable vRSS by using Windows PowerShell.

  1. 在虚拟机上,打开Windows PowerShellOn the virtual machine, open Windows PowerShell.

  2. 键入以下命令,确保将 -Name参数的AdapterName值替换为要配置的网络适配器的名称,然后按 enter。Type the following command, ensuring that you replace the AdapterName value for the -Name parameter with the name of the network adapter that you want to configure, and then press ENTER.

    Enable-NetAdapterRSS -Name "AdapterName"
    

    提示

    或者,可以使用以下命令启用 vRSS。Alternately, you can use the following command to enable vRSS.

    Set-NetAdapterRSS -Name "AdapterName" -Enabled $True
    

有关详细信息,请参阅RSS 和 vRSS 的 Windows PowerShell 命令For more information, see Windows PowerShell Commands for RSS and vRSS.