NDIS_NIC_SWITCH_VPORT_STATE enumeration (ntddndis.h)
The NDIS_NIC_SWITCH_VPORT_STATE enumeration specifies the state of a single root I/O virtualization (SR-IOV) virtual port (VPort) on the NIC switch of a network adapter.
Syntax
typedef enum _NDIS_NIC_SWITCH_VPORT_STATE {
NdisNicSwitchVPortStateUndefined,
NdisNicSwitchVPortStateActivated,
NdisNicSwitchVPortStateDeactivated,
NdisNicSwitchVPortStateMaximum
} NDIS_NIC_SWITCH_VPORT_STATE, *PNDIS_NIC_SWITCH_VPORT_STATE;
Constants
NdisNicSwitchVPortStateUndefined The VPort state is not defined. |
NdisNicSwitchVPortStateActivated The VPort is allocated and in an activated state. Note The default VPort attached to the PCI Express (PCIe) Physical Function (PF) and nondefault VPorts attached to PCIe Virtual Functions (VFs) are created in an activated state. Once created, these VPorts cannot be deactivated. |
NdisNicSwitchVPortStateDeactivated The VPort is allocated and in a deactivated state. Note Nondefault VPorts attached to the PF are created in a deactivated state. These VPorts can be activated by using OID set requests of OID_NIC_SWITCH_VPORT_PARAMETERS. However, once activated, these VPorts cannot be deactivated. |
NdisNicSwitchVPortStateMaximum The maximum value for this enumeration. This value might change in future versions of the NDIS header files and binaries. |
Remarks
The VPortState member of the NDIS_NIC_SWITCH_VPORT_PARAMETERS and NDIS_NIC_SWITCH_VPORT_INFO structures is an NDIS_NIC_SWITCH_VPORT_STATE enumeration data type.
Requirements
Requirement | Value |
---|---|
Minimum supported client | Supported in NDIS 6.30 and later. |
Header | ntddndis.h (include Ndis.h) |
See also