NPIV Status Codes
The NPIV WMI methods return the result of a port operation in their Status out parameter. The status values and descriptions are the following.
| Return code/value | Description |
|---|---|
| NPIV_SUCCESS 0x0 | The NPIV virtual port operation completed successfully. |
| NPIV_UNKNOWN_ERROR 0x1 | The NPIV virtual port operation failed with an unknown error. |
| NPIV_NOT_SUPPORTED_HOST 0x2 | The NPIV virtual port operation is not supported by the host |
| NPIV_NOT_SUPPORTED_FABRIC 0x3 | The NPIV virtual port operation is not supported by the fabric. |
| NPIV_OUT_OF_RESOURCES 0x4 | There are not enough of resources to perform the NPIV virtual port operation. |
| NPIV_MAX_VPORT_COUNT 0x5 | The maximum number of virtual ports on the physical HBA is exceeded. |
| NPIV_WWPN_IN_USE 0x6 | The world wide port name already exists on the fabric. |
| NPIV_WWPN_INVALID_FORMAT 0x7 | An invalid parameter was given. |
| NPIV_LINK_DOWN 0x8 | The fibre channel link is down. |
| NPIV_WWPN_NOT_FOUND 0x9 | The fibre channel miniport driver does not support NPIV or the NPIV WMI classes are not installed correctly. |
| NPIV_AUTHENTICATION_MECHANISM_NOT_USABLE 0xA | The DH-CHAP authentication mechanism is not usable. |
| NPIV_HASH_FUNCTION_NOT_USABLE 0xB | The DH-CHAP hash function is not usable. |
| NPIV_AUTHENTICATION_TRANSACTION_ALREADY_STARTED 0xC | The DH-CHAP authentication transaction has already started |
| NPIV_AUTHENTICATION_FAILED 0xD | The DH-CHAP authentication for the virtual port failed. |
| NPIV_UNSUPPORTED_PROTOCOL_VERSION 0xE | The specified NPIV protocol version is not supported. |