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

Msvm_EthernetSwitchPortOffloadData class

· 52CE 我爱测

Represents the port offload feature status data.

Represents the port offload feature status data.

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

Syntax

[Dynamic, Provider("VmmsWmiInstanceAndMethodProvider"), UUID("C885BFD1-ABB7-418F-8163-9F379C9F7166"), ExtensionId("11EC6134-128A-4A23-B12F-164184B48348"), InterfaceVersion("3"), InterfaceRevision("0"), DisplayName("Ethernet Switch Port Offload Feature Status"), AMENDMENT]
class Msvm_EthernetSwitchPortOffloadData : Msvm_EthernetPortData
{
  string  InstanceID;
  string  Caption = "Ethernet Switch Port Offload Feature Status";
  string  Description = "Represents the port offload feature status data.";
  string  ElementName = "Ethernet Switch Port Offload Feature Status";
  string  SystemCreationClassName = "Msvm_VirtualEthernetSwitch";
  string  SystemName;
  string  DeviceCreationClassName = "Msvm_EthernetSwitchPort";
  string  DeviceID;
  string  CreationClassName = "Msvm_EthernetSwitchPortOffloadData";
  string  Name;
  uint32  IpsecCurrentOffloadSaCount = 0;
  uint32  IovOffloadUsage = 0;
  uint32  VMQOffloadUsage = 0;
  uint32  VMQId = 0;
  uint16  IovVfId = 0;
  boolean IovVfDataPathActive = FALSE;
  uint32  IovQueuePairUsage = 0;
  uint32  VmmqQueuePairs = 0;
  uint32  VrssVmbusChannelAffinityPolicy = 0;
  boolean VrssIndependentHostSpreading = FALSE;
  boolean VrssExcludePrimaryProcessor = FALSE;
  uint32  VrssQueueSchedulingMode = 0;
  uint32  VrssMinQueuePairs = 0;
  boolean VmmqEnabled = FALSE;
  boolean VrssEnabled = FALSE;
};

Members

The Msvm_EthernetSwitchPortOffloadData class has these types of members:

Properties

The Msvm_EthernetSwitchPortOffloadData 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, and it is always set to "Ethernet Switch Port Offload Feature Status".

CreationClassName

Data type: string

Access type: Read-only

Qualifiers: Key, MaxLen ( 256 )

The name of the subclass used in the creation of this port data instance. This property is inherited from Msvm_EthernetPortData, and it is always set to "Msvm_EthernetSwitchPortOffloadData".

Description

Data type: string

Access type: Read-only

A description of the object. This property is inherited from CIM_ManagedElement, and it is always set to "Represents the port offload feature status data.".

DeviceCreationClassName

Data type: string

Access type: Read-only

Qualifiers: Key, MaxLen ( 256 )

The scoping system's creation class name. This property is inherited from Msvm_EthernetPortData, and it is always set to "Msvm_EthernetSwitchPort".

DeviceID

Data type: string

Access type: Read-only

Qualifiers: Key, MaxLen ( 64 )

The Device ID of the port that scopes this port data instance. This property is inherited from Msvm_EthernetPortData.

ElementName

Data type: string

Access type: Read-only

A display name for the object. This property is inherited from CIM_ManagedElement, and it is always set to "Ethernet Switch Port Offload Feature Status".

InstanceID

Data type: string

Access type: Read-only

Qualifiers: Key

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

IovOffloadUsage

Data type: uint32

Access type: Read/write

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

The current I/O virtualization (IOV) offload usage.

IovQueuePairUsage

Data type: uint32

Access type: Read/write

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

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

IovVfDataPathActive

Data type: boolean

Access type: Read/write

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

Indicates whether the IOV VF data path is active.

IovVfId

Data type: uint16

Access type: Read/write

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

The current IOV VF identifier that is assigned to the port. This is valid if IovOffloadUsage is not zero.

IpsecCurrentOffloadSaCount

Data type: uint32

Access type: Read/write

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

The current number of security association (SA) offload slots in use on the port.

Name

Data type: string

Access type: Read-only

Qualifiers: Key, MaxLen ( 256 )

A string that uniquely identifies this port data instance within the scope of the switch and port. This property is inherited from Msvm_EthernetPortData.

SystemCreationClassName

Data type: string

Access type: Read-only

Qualifiers: Key, MaxLen (256)

The scoping system's creation class name. This property is inherited from Msvm_EthernetPortData, and it is always set to "Msvm_VirtualEthernetSwitch".

SystemName

Data type: string

Access type: Read-only

Qualifiers: Key, MaxLen ( 256 )

The name of the virtual switch that scopes this port data instance. This property is inherited from Msvm_EthernetPortData.

VmmqEnabled

Data type: boolean

Access type: Read-only

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

Indicates if VMMQ is active.

Note:
This property was added in Windows 10, version 1703.

VmmqQueuePairs

Data type: uint32

Access type: Read-only

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

Indicates how many queues are used for VRSS/VMMQ.

Note:
This property was added in Windows 10, version 1703 and Windows Server 2016.

VMQId

Data type: uint32

Access type: Read/write

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

The current virtual machine queue identifier that is assigned to the port. This is valid if VMQOffloadUsage is not zero.

VMQOffloadUsage

Data type: uint32

Access type: Read/write

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

The current virtual machine queue (VMQ) offload usage.

VrssEnabled

Data type: boolean

Access type: Read-only

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

Indicates if vRSS is active.

Note:
This property was added in Windows 10, version 1703.

VrssExcludePrimaryProcessor

Data type: boolean

Access type: Read-only

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

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

Note:
Added in Windows 10, version 1709.

VrssIndependentHostSpreading

Data type: boolean

Access type: Read-only

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

Indicates whether host side VRSS/VMMQ spreading happens, regardless of RSS settings of the virtual NIC.

Note:
Added in Windows 10, version 1709.

VrssMinQueuePairs

Data type: uint32

Access type: Read-only

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

Indicates minimum number of queues used for VRSS/VMMQ.

Note:
Added in Windows 10, version 1709.

VrssQueueSchedulingMode

Data type: uint32

Access type: Read-only

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

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

Note:
Added in Windows 10, version 1709.

VrssVmbusChannelAffinityPolicy

Data type: uint32

Access type: Read-only

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

Indicates how Vmbus channels are affinitized to host processors.

Note:
Added in Windows 10, version 1709.

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)

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

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