大网数据广告活动
Hyper-V与虚拟化

Msvm_EthernetSwitchHardwareOffloadData class

· 52CE 我爱测

Represents the switch hardware offload status.

Represents the switch hardware offload status.

The following syntax is simplified Managed Object Format (MOF) code, and it includes all of the inherited properties.

Syntax

[Dynamic, Provider("VmmsWmiInstanceAndMethodProvider"), UUID("1C37E01C-0CD6-496F-9076-90C131033DC2"), ExtensionId("11EC6134-128A-4A23-B12F-164184B48348"), InterfaceVersion("4"), InterfaceRevision("0"), DisplayName("Ethernet Switch Offload Resource Status"), AMENDMENT]
class Msvm_EthernetSwitchHardwareOffloadData : Msvm_EthernetSwitchData
{
  string  InstanceID;
  string  Caption = Ethernet Switch Offload Resource Status;
  string  Description = Represents the switch hardware offload status.;
  string  ElementName = Ethernet Switch Offload Resource Status;
  string  SystemCreationClassName = "Msvm_VirtualEthernetSwitch";
  string  SystemName;
  string  CreationClassName = "Msvm_EthernetSwitchHardwareOffloadData";
  string  Name;
  uint32  IovVfCapacity = 0;
  uint32  IovVfUsage = 0;
  uint32  VmqCapacity = 0;
  uint32  VmqUsage = 0;
  uint32  IPsecSACapacity = 0;
  uint32  IPsecSAUsage = 0;
  uint32  IovQueuePairCapacity = 0;
  uint32  IovQueuePairUsage = 0;
  boolean PacketDirectInUse = FALSE;
  uint32  DefaultQueueVmmqQueuePairs = 0;
  boolean DefaultQueueVrssIndependentHostSpreading = TRUE;
  boolean DefaultQueueVrssExcludePrimaryProcessor = FALSE;
  uint32  DefaultQueueVrssQueueSchedulingMode = 0;
  uint32  DefaultQueueVrssMinQueuePairs = 0;
  boolean DefaultQueueVmmqEnabled = FALSE;
  boolean DefaultQueueVrssEnabled = FALSE;
};

Members

The Msvm_EthernetSwitchHardwareOffloadData class has these types of members:

Properties

The Msvm_EthernetSwitchHardwareOffloadData class has these properties.

Caption

Data type: string

Access type: Read-only

A short description of the object. This property is inherited from CIM_ManagedElement.

CreationClassName

Data type: string

Access type: Read-only

Qualifiers: Key, MaxLen (256)

The name of the class or subclass used in the creation of this instance. This property is inherited from Msvm_EthernetSwitchData.

DefaultQueueVmmqEnabled

Data type: boolean

Access type: Read-only

Qualifiers: WmiDataId (11), InterfaceVersion (3), InterfaceRevision (0)

The current VMMQ setting for default queue

Note:
Property added in Windows 10, version 1703.

DefaultQueueVmmqQueuePairs

Data type: uint32

Access type: Read-only

Qualifiers: WmiDataId (12), InterfaceVersion (3), InterfaceRevision (0)

The current number of queues allocated for the default queue

Note:
Property added in Windows 10, version 1703.

DefaultQueueVrssEnabled

Data type: boolean

Access type: Read-only

Qualifiers: WmiDataId (10), InterfaceVersion (3), InterfaceRevision (0)

The current VRss setting for default queue

Note:
Property added in Windows 10, version 1703.

DefaultQueueVrssExcludePrimaryProcessor

Data type: boolean

Access type: Read-only

Qualifiers: WmiDataId (15), InterfaceVersion (4), InterfaceRevision (0)

Indicates whether the primary VMQ CPU is excluded from the VRSS/VMMQ indirection table.

Note:
Added in Windows 10, version 1709.

DefaultQueueVrssIndependentHostSpreading

Data type: boolean

Access type: Read-only

Qualifiers: WmiDataId (16), InterfaceVersion (4), InterfaceRevision (0)

Indicates whether to always do VRSS spreading for default queue, regardless of the RSS state of the external vPort.

Note:
Added in Windows 10, version 1709.

DefaultQueueVrssMinQueuePairs

Data type: uint32

Access type: Read-only

Qualifiers: WmiDataId (13), InterfaceVersion (4), InterfaceRevision (0)

Indicates minimum number of queues used for VRSS/VMMQ.

Note:
Added in Windows 10, version 1709.

DefaultQueueVrssQueueSchedulingMode

Data type: uint32

Access type: Read-only

Qualifiers: WmiDataId (14), InterfaceVersion (4), InterfaceRevision (0)

Indicates how VRSS/VMMQ queues are steered to different host processors.

Note:
Added in Windows 10, version 1709.

Description

Data type: string

Access type: Read-only

A description of the object. This property is inherited from CIM_ManagedElement.

ElementName

Data type: string

Access type: Read-only

A display name for the object. This property is inherited from CIM_ManagedElement.

InstanceID

Data type: string

Access type: Read-only

Qualifiers: Key

Uniquely identifies an instance of this class. This property is inherited from CIM_ManagedElement.

IovQueuePairCapacity

Data type: uint32

Access type: Read-only

Qualifiers: WmiDataId (7), InterfaceVersion (1), InterfaceRevision (0)

The maximum number of queue pairs supported by the switch.

IovQueuePairUsage

Data type: uint32

Access type: Read-only

Qualifiers: WmiDataId (8), InterfaceVersion (1), InterfaceRevision (0)

The current number of queue pairs being used by the switch.

IovVfCapacity

Data type: uint32

Access type: Read-only

Qualifiers: WmiDataId (1), InterfaceVersion (1), InterfaceRevision (0)

The maximum number of virtual functions supported by the switch.

IovVfUsage

Data type: uint32

Access type: Read-only

Qualifiers: WmiDataId (2), InterfaceVersion (1), InterfaceRevision (0)

The current number of virtual functions being used by the switch.

IPsecSACapacity

Data type: uint32

Access type: Read-only

Qualifiers: WmiDataId (5), InterfaceVersion (1), InterfaceRevision (0)

The maximum number of IPsec security association offloads supported by the switch.

IPsecSAUsage

Data type: uint32

Access type: Read-only

Qualifiers: WmiDataId (6), InterfaceVersion (1), InterfaceRevision (0)

The current number of IPsec security association offloads being used by the switch.

Name

Data type: string

Access type: Read-only

Qualifiers: Key, Override, MaxLen (256)

The unique name of the resource. This property is inherited from Msvm_EthernetSwitchData.

PacketDirectInUse

Data type: boolean

Access type: Read-only

Qualifiers: WmiDataId (9), InterfaceVersion (2), InterfaceRevision (0)

Indicates if packet direct is being used by the switch

Note:
Property added in Windows 10.

SystemCreationClassName

Data type: string

Access type: Read-only

Qualifiers: Key, MaxLen (256)

The hosting system's creation class name. This property is inherited from Msvm_EthernetSwitchData.

SystemName

Data type: string

Access type: Read-only

Qualifiers: Key, MaxLen (256)

The name of the virtual switch to which the associated resource instance is bound. This property is inherited from Msvm_EthernetSwitchData.

VmqCapacity

Data type: uint32

Access type: Read-only

Qualifiers: WmiDataId (3), InterfaceVersion (1), InterfaceRevision (0)

The maximum number of virtual machine queue offloads supported by the switch.

VmqUsage

Data type: uint32

Access type: Read-only

Qualifiers: WmiDataId (4), InterfaceVersion (1), InterfaceRevision (0)

The current number of virtual machine queue offloads being used by the switch.

Requirements

Requirement Value
Minimum supported client Windows 8 [desktop apps only]
Minimum supported server Windows Server 2012 [desktop apps only]
Namespace Root\Virtualization\V2
MOF WindowsVirtualization.V2.mof
DLL Vmms.exe

Source: Microsoft Learn / Windows Win32 documentation by Microsoft and contributors. Documentation licensed CC BY 4.0. Code samples are covered by the MIT License. Converted from Markdown, with links normalized and embedded media omitted.

资料来源与适用范围

资料来源
Microsoft Learn / Windows Win32 documentation
适用范围
Windows Win32 API · Source date 05/31/2018
内容语言
中文;命令、路径和错误标识保留技术原文
本地收录日期
2026-11-15
授权说明
CC BY 4.0 (documentation), MIT (code samples)

正文与所需资源由本站本地存储。查看来源及更新记录 ↗

请按适用版本和实际日志确认原因;本站没有对每一种系统或设备逐项执行文中的操作。