#############################################################################
#	QConvergeConsole CLI Return Codes
#	
#Date: 06/08/2022
#
#############################################################################
#Return
#Code	String                    			Description
#############################################################################
0,      SUCCESS, 				Command executed with no error
1,      ERROR_OPEN_FILE,                        Failed to open file 
2,      ERROR_READ_FILE,                        Failed to read file
3,      ERROR_WRITE_FILE,                       Failed to write to a file
4,      ERROR_CLOSE_FILE,                       Failed to close a file
5,      ERROR_INCORRECT_FILE,                  	Selected file is incorrect
6,      ERROR_INCORRECT_FILE_SIZE,             	File size is incorrect
7,      ERROR_UNSUPPORTED_HBA,                  Adapter is not supported
8,      ERROR_NO_HBA,                           Unable to open adapter handle
9,      ERROR_UNKNOWN_HBA,  			Adapter is not recognized by application
10,     ERROR_INVALID_SSID,                     Adapter has invalid subsystem device vendor or vendor ID
11,     ERROR_MISMATCH_SSID,                    Subsystem device or vendor ID does not match with current adapter
12,     ERROR_MISMATCH_CHECKSUM,                Checksum does not match
13,     ERROR_CORRUPTED_FILE,                   Input file is corrupted
14,     ERROR_FILE_CHKSUM_ERROR,                Checksum of the file is incorrect
15,     ERROR_FILE_INVALID_DATA,                File has invalid data
16,     ERROR_FLASH_UPDATE_IGNORE,  		Adapter flash is already up-to-date, update not required          	    
17,     ERROR_FLASH_BUFFER_INVALID,		Flash read returns invalid data
18,     ERROR_FLASH_UNSUPPORTED_FIRMWARE,	Firmware is not supported with diagnostics port test
19,     ERROR_FLASH_UPDATE_UNSUPPORTED,         Adapter is not supported with flash update
20,     ERROR_FLASH_OPTION_DISABLED_HBA,        Adapter is disabled with flash update
21,     ERROR_FLASH_OPTION_DISABLED_OS,         Flash update is disabled with this OS 
22,     ERROR_FLASH_INVALID_HEADER_SIGNATURE,  	Flash file has invalid header signature
23,     ERROR_FLASH_INVALID_DATA_SIGNATURE,    	Flash file has invalid data signature
24,     ERROR_FLASH_UPDATE_DISABLE_LOCKDOWN,	Flash update disabled due to adapter firmware update lockdown is on 
25,     ERROR_FLASH_CSUM_ERROR,                 Flash file checksum test failed
26,     ERROR_FLASH_NO_FW_REGION_VALID,         HBA does not have valid firmware region
27,     ERROR_FLASH_INVALID_FW_FILE,            Firmware file does not match with HBA
28,     Reserved,                 		Internally used
29,     ERROR_FLASH_CSUM_MISMATCH,              Flash file has checksum mismatched.
30,     ERROR_INCORRECT_RISC_CODE_FILE,         Incorrect RISC image
31,     ERROR_INCORRECT_BOOT_CODE_FILE,         Incorrect BIOS/FCode boot image
32,     ERROR_INCORRECT_FULL_IMAGE_FILE,        Incorrect 1M Flash image
33,     ERROR_CORRUPTED_FLASH_IMAGE_FILE,       Flash image file is corrupted
34,     ERROR_FLASH_UPDATE_FAILURE,		Failed to update flash
35,     ERROR_FLASH_INVALID_REGION_SIGNATURE,	Incorrect flash image file
36,     ERROR_FLASH_GET_REGION_FAILURE,		Failed to read flash update region from HBA
37,     ERROR_FLASH_UPDATE_NO_VALID_REGION,     Failed to validate flash update region read from HBA
38,     ERROR_FLASH_UPDATE_NO_REGION_LAYOUT,	Adapter has invalid flash layout table
39,     ERROR_FLASH_UPDATE_INVALID_VPD,		VPD update fails with flash update
40,     ERROR_DIAGNOSTICS_PARAM_ERROR,          Diagnostics test returns invalid parameters
41,     ERROR_DIAGNOSTICS_LOOP_DOWN,            Unable to run diagnostics because the loop is down
42,     ERROR_DIAGNOSTICS_FAILURE,		Diagnostics test failed with errors
43,     ERROR_DIAGNOSTICS_DATA_MISCOMPARE,      Diagnostics test failed with data miscompare
44,     ERROR_DIAGNOSTICS_UNKNOWN_STATUS,       Unknown diagnostics test status
45,     ERROR_DIAGNOSTICS_NO_AVAIL_TARGET, 	Unable to run R/W buffer test because there are no attached devices
46,     ERROR_DIAGNOSTICS_NOT_FOUND_TARGET,     Unable to run R/W buffer test because the excluded device is not available
47,     ERROR_DIAGNOSTICS_MAX_FRAME_SETTING,	Unable to run diagnostics because of the HBA current frame size setting
48,     ERROR_INVALID_DIAGNOSTICS_SETTINGS,	Invalid diagnostics test parameter settings
49,     ERROR_DIAGNOSTICS_UNSUPPORT_OPTION,	Adapter is not supported with diagnostic port test
50,     ERROR_FC_LINK_UNKNOWN_STATUS,           Error getting FC link status 
51,     ERROR_RESET_LINK_STATUS,       		Error resetting adapter link status 
52,     ERROR_INVALIDE_STATISTICS_PARAMS,	Invalid link status/statistics parameter settings 
53,     ERROR_QUERY_HBA_STATISTICS,		Unable to query HBA statistics of the selected adapter
54,     ERROR_RESET_HBA_STATISTICS,		Unable to reset HBA statistics of the selected adapter
55,     ERROR_RESET_FWPRIVSTATS_COUNTERS,	Error resetting firmware private statistics counters
56,     ERROR_DIAG_DPORT_UNEXPECTED_REJECT_CODE, Diagnostics port test fails (Unexpected reject code)
57,     ERROR_DIAG_DPORT_UNEXPECTED_PHASE,	Diagnostics port test fails (Unexpected phase)
58,     ERROR_DIAG_DPORT_RETRY_EXCEED,		Diagnostics port test fails (Retry exceeded)
59,     ERROR_DIAG_DPORT_TEST_TIMEOUT,		Diagnostics port test fails (Timeout exceeded)
60,     ERROR_INVALID_PARAM_SETTINGS,  		Invalid NVRAM parameter input
61,     ERROR_PARAM_UNSUPPORTED_HBA,            Unsupported NVRAM settings with current adapter
62,     ERROR_PARAM_UNSUPPORTED_DRIVER,         Failed to update NVRAM settings of current adapter (Unsupported driver)
63,     ERROR_RESTORE_NVRAM_DEFAULT,		Failed to restore NVRAM default of current adapter
64,     ERROR_PARAM_UNSUPPORTED_OS,		Unable to apply new HBA parameter(s) - OS unsupported
65,     ERROR_PARAM_DISABLE_SETTINGS,		Current parameter is not supported
66,     Reserved,				Not used
67,     Reserved,				Not used
68,     Reserved,				Not used
69,     Reserved,				Not used
70,     ERROR_DIAG_DPORT_TEST_DISABLE,		Diagnostics port test is disabled with current adapter
71,     ERROR_DIAG_DPORT_TEST_FAILED,		Diagnostics port test fails
72,     ERROR_DIAG_DPORT_TEST_SUSPEND,		Diagnostics port test suspends
73,     ERROR_DIAG_DPORT_TEST_PENDING,		Diagnostics port test is pending
74,     ERROR_DIAG_DPORT_TEST_RUNNING,		Diagnostics port test is already running
75,     ERROR_DIAG_DPORT_TEST_SKIPPED,		Diagnostics port test is skipped
76,     ERROR_DIAG_DPORT_TEST_RHOST,		Diagnostics port test is remote port 
77,     ERROR_DIAG_DPORT_TEST_STOPPED_BY_USER,	Diagnostics port test aborted by user
78,     ERROR_DIAG_DPORT_DYNAMIC_UNSUPPORTED,	Diagnostics port dynamic mode is not supported
79,     ERROR_DIAG_DPORT_COMMAND_NOT_SUPPORT,	Diagnostics port test is not supported
80,     ERROR_INVALID_SERIAL_NO, 		Adapter has invalid serial number
81,	ERROR_GET_NVRAM_DATA,			Failed to retrieve NVRAM settings of current adapter
82,	ERROR_UPDATE_NVRAM_DATA,		Failed to update HBA parameters
83,	ERROR_PRESERVE_NVRAM_DATA,		Failed to preserve HBA parameters
84,	ERROR_MISSING_NVRAM_TEMPLATE_FILE,      Unable to find the NVRAM template for the HBA
85,	ERROR_INVALID_NVRAM_PROG_OPTION,	Specified key/value to program NVRAM are invalid
86,	ERROR_SPECIFIC_OEM_TEMPLATE_UNSUPPORT,	Incorrect or unsupported OEM template type for selected HBA
87,	Reserved,				Not used
88,	Reserved,				Not used	
89,	Reserved,				Not used
90,     ERROR_READING_BOOT_DEVICE,              Failed to read boot device settings of the HBA
91,     ERROR_SAVING_BOOT_DEVICE,               Failed to save boot device settings to the HBA 
92,     ERROR_BOOT_CONFIG_DISABLED_DRIVER,      Boot device settings is disabled with running driver
93,     ERROR_BOOT_TARGET_NO_LUN,               Boot device settings aborted because boot target has no LUN
94,     ERROR_TARGET_NO_DIRECT_ACCESS,          Boot device settings failed because the boot target is not a direct access device
95,     ERROR_INVALID_BOOT_SETTINGS,            Boot device parameters is invalid/incorrect
96,     ERROR_UNSUPPORTED_BOOT_SETTINGS,        Unsupported boot device settings
97,     ERROR_DUPLICATE_BOOT_DEVICE,		Specified device is already configured as a boot device
98,     ERROR_DIAG_DPORT_LINK_DOWN              Unable to start diagnostics D-Port test (No link up)
99,     ERROR_NO_ROM_BIOS,			BIOS boot setting is disabled, selected HBA has no ROM BIOS
100,    ERROR_INVALID_DRIVER_PARAM,   		Driver parameter settings is invalid
101,    ERROR_READ_DRIVER_PARAM,		Failed to read current driver settings of the HBA
102,    ERROR_DRIVER_PARAM_NOT_FOUND,		Unknown driver parameter settings
103,    ERROR_UNSUPPORTED_DRIVER_PARAM,		Unsupported driver parameter settings
104,    ERROR_SEND_RDP_REQUEST,			Unable to issue remote diagnostics port command
105,    ERROR_SEND_LCB_REQUEST,			Unable to issue link cable beacon command
106,    ERROR_GET_QOS_CONFIG,			Unable to retrieve LUN QoS configuration
107,    ERROR_SET_QOS_CONFIG,			Unable to set LUN QoS configuration
108,    ERROR_SAVE_QOS_CONFIG,			Unable to save LUN QoS configuration
109,    ERROR_DISABLE_QOS_CONFIG,		Adapter is not supported with LUN QoS feature
110,    ERROR_DUPLICATE_TARGET_ID,         	Target has duplicate ID      
111,    ERROR_INVALID_TARGET_ID,                Target has invalid ID
112,    ERROR_MISMATCH_TARGET_ID,               Target has mismatch ID 
113,    ERROR_READ_FROM_DRIVER,                	Failed to read persistent binding data from driver database
114,    ERROR_READ_FROM_PERSISTENT_STORAGE,     Failed to read persistent binding data from persistent database
115,    ERROR_MEMORY_ALLOC_FAILURE,             Unable to allocate memory
116,    ERROR_TARGET_ENTRY_NOT_FOUND,           Unable to find the binding entry of the specified target
117,    ERROR_DELETE_TARGET_PERSISTENT_ENTRY,   Failed to delete target persistent binding
118,    ERROR_LUN_NOT_FOUND,                    The specified LUN ID not available
119,    ERROR_NO_DEVICE_FOUND,                  HBA does not have attached devices
120,	ERROR_OPTION_UNSUPPORTED_DRV,           Option is not available with running driver
121,	ERROR_OPTION_UNSUPPORTED_HBA,           Option is not available with HBA
122,	ERROR_OPTION_UNSUPPORTED_OS,            Option is not available on this OS platform
123,	ERROR_OPTION_DISABLED_GUI_CONFIG,    	Target persistent binding is not allowed because of existing congfiguration saved by the SANsurfer manager    
124,	ERROR_OPTION_DISABLED_DRV,              Target persistent binding is disabled becaused of current driver
125,	ERROR_UPDATE_LUN_DATA_PERSIST_BINDING,  Failed to update LUN data during persistent binding configuration
126,	ERROR_FAILOVER_DRIVER_LOADED,		Feature is not support with failover driver
127,	Reserved,				Not used
128,	Reserved,				Not used
129,	Reserved,				Not used
130,	ERROR_INVALID_HBA_WWID,          	HBA WWPN/WWNN specified is invalid        
131,	ERROR_INVALID_HBA_PID,        		HBA instance specified is invalid           
132,	ERROR_INVALID_TARGET_WWID,              Target WWPN/WWNN specified is invalid
133,	ERROR_INVALID_LUN_ID,                   LUN ID specified is invalid
134,	ERROR_MISSING_INPUT,                    Incomplete command line option
135,	ERROR_INVALID_INPUT,                    Invalid command line option
136,	ERROR_CMD_UNSUPPORTED,                  Specified command line option is unsupported
137,	ERROR_UNKNOWN_CMD_OPTION,		Unknown command option
138,	Reserved,				Not used
139,	Reserved,				Not used
140,	ERROR_UNKNOWN_FILE_FORMAT,		Unable to determine file format  
141,	ERROR_READ_DRV_VER_SYS_FILE,            Failed to read driver version from sys file
142,	ERROR_INIT_SECURITY_DESCRIPTOR,         Failed to init security descriptor during driver update
143,	ERROR_SET_SECURITY_DESCRIPTOR,          Failed to set security descriptor during driver	update
144,	ERROR_FAIL_UPDATE_DRIVER,               Failed to update driver
145,	ERROR_HARDWARE_ID_NO_MATCH,             HBA hardware ID does not match with the driver config file
146,	ERROR_DRIVER_UPDATE_UNSUPPORTED,        Driver update is not allowed with this HBA
147,	ERROR_NO_DRV_INF_FILE,                  Driver inf file is missing in the driver package
148,	ERROR_CREATE_TEMP_DIR,			Failed to create temporary directory
149,	ERROR_OPEN_ZIP_FILE,                    Failed to open zip file
150,	ERROR_CLOSE_ZIP_FILE,                   Failed to close zip file
151,	ERROR_READ_ZIP_FILE,                    Failed to read zip file
152,	ERROR_EXTRACT_ZIP_FILE,                 Failed to extract zip file
153,	ERROR_CORRUPTED_ZIP_FILE,               The zip file appears to be corrupted
154,	ERROR_CREATE_ZIP_FILE,                  Failed to create zip file
155,	ERROR_MISSING_DRV_FILE,                 Driver sys file is missing in the driver package
156,	ERROR_EMPTY_FOLDER,                     Driver folder is empty
157,	ERROR_GET_REGISTRY_KEY,			Failed to get a registry key 
158,	ERROR_SET_REGISTRY_KEY,			Failed to set a registry key
159,	ERROR_STORPORT_NOT_SUPPORTED,           Current Windows OS is not supported with storport driver
160,	ERROR_INVALID_VPD_DATA,                 HBA has invalid VPD data
161,	ERROR_CORRUPTED_VPD,			Adapter VPD is corrupted
162,	ERROR_BAD_CHECKSUM_VPD,			VPD data has invalid checksum
163,	ERROR_NO_SN_VPD,			Serial number is missing in VPD data
164,	ERROR_RETRIEVE_VPD_DATA,		Failed to read VPD of selected HBA
165,	ERROR_UNSUPPORT_VPD_OPT,		Option is not supported with selected HBA
166,	ERROR_BLANK_VPD,			Adapter has no VPD
167,	Reserved,				Not used
168,	ERROR_UPDATE_VPD_VERSION,		Unable to update version in VPD
169,	Reserved,				Not used
170,	ERROR_SAVE_HBA_FLASH_TO_FILE,		Failed to save adapter flash contents to file
171,	IBM Reserved,				Blocked
172,	IBM Reserved,				Blocked
173,	IBM Reserved,				Blocked
174,	IBM Reserved,				Blocked
175,	IBM Reserved,				Blocked
176,	IBM Reserved,				Blocked
177,	IBM Reserved,				Blocked
178,	IBM Reserved,				Blocked
179,	IBM Reserved,				Blocked
180,	IBM Reserved,				Blocked
181,	IBM Reserved,				Blocked
182,	IBM Reserved,				Blocked
183,	IBM Reserved,				Blocked
184,	IBM Reserved,				Blocked
185,	IBM Reserved,				Blocked
186,	IBM Reserved,				Blocked
187,	IBM Reserved,				Blocked
188,	IBM Reserved,				Blocked
189,	IBM Reserved,				Blocked
190,	IBM Reserved,				Blocked
191,	IBM Reserved,				Blocked
192,	ERROR_FC_PING_FAILED,			Failed to run diagnostics FC ping test
193,	Reserved,				Not used
194,	ERROR_MISSING_TEMPLATE_FILE,		Command fails (Template file is missing)
195,	ERROR_FC_ECHO_ELS_LINK_DOWN,		Unable to issue FC ELS echo ping command (Link is down)
196,	ERROR_FC_ECHO_ELS_FAILED,		Unable to issue FC ELS echo ping command to destination target
197,	ERROR_FC_ECHO_ELS_MISMATCH_SIZE,	FC ELS echo command failed (buffer size mismatched)
198,	Reserved,				Not used
199,	Reserved,				Not used
200,	ERROR_SAVE_SEL_LUN_CONFIG,		Failed to save selective LUN configuration		               
201,	ERROR_UPDATE_COMPLETE_REBOOT,		A reboot is required to complete the update
202,	ERROR_FC_TRACE_NOT_AVAILABLE,		Failed to retrieve FCE trace of current adapter
203,	ERROR_UPDATE_IMG_STATUS_REGION,		Failed to update adapter image status
204,	ERROR_UPDATE_AUX_IMG_STATUS_REGION,	Failed to update adapter auxiliary image status 
205,	Reserved,				Not used
206,	ERROR_CT_DEST_TARGET_NOT_AVAILABLE,	Diagnostics CT ping test failed (Destination target not available)
207,	ERROR_CT_INVALID_DEST_TARGET_WWN,	Diagnostics CT ping test failed (Destination target invalid)		
208,	ERROR_CT_DEST_LUN_NOT_AVAILABLE,	Diagnostics CT ping test failed (Destination LUN not available)
209,	ERROR_CT_PING_FAILED,			Diagnostics CT ping test ping failed 
210,	ERROR_CT_FABRIC_TRACEROUTE_FAILED,	Diagnostics CT fabric trace route test failed
211,	ERROR_UPDATES_PEP_BOARD_CONFIG_REGION,	Failed to update PEP board config 
212,	ERROR_UPDATES_PEP_SOFT_ROM_REGION,	Failed to update PEP SoftROM
213,	ERROR_NO_UPDATE_REQUIRED_NEWER_VERSION,	Update aborted. Adapter has newer version
214,	ERROR_NO_UPDATE_REQUIRED_SAME_VERSION,	Update not needed. Adapter has  same version
215,	ERROR_NO_UPDATE_REQUIRED,		Update not allow, not a management port.
216,	ERROR_ERASE_CRBINIT_REGION,		Failed to erase flash (crbinit)
217,	ERROR_ERASE_NIC_BOOTCODE_REGION,	Failed to erase flash (Nic boot code)
218,	ERROR_ERASE_ISCSI_BOOTCODE_REGION,	Failed to erase flash (iscsi boot code)
219,	ERROR_ERASE_FCOE_BOOTCODE_REGION,	Failed to erase flash (fcoe boot code)
220,	ERROR_ERASE_FLASH_REGION,		Failed to erase flash
221,	ERROR_GET_LOCKDOWN_INFO,		Failed to retrieve adapter lockdown info
222,	ERROR_LOCKDOWN_FW_UNSUPPORT,		Firmware not support lockdown feature
223,	ERROR_LOCKDOWN_DRV_UNSUPPORT,		Driver not suport lockdown feature
224,	ERROR_LOCKDOWN_MPI_FW_NOT_RUNNING,	Firmware lockdown mode is disabled (MPI FW not active)
225,	ERROR_EDIF_CONFIG_INPUT,		Storcryption config file or input invalid
226,	ERROR_EDIF_CONFIG_UPDATE,		Failed to update Storcryption config file
227,	ERROR_EDIF_CONFIG_READ,			Failed to read current Storcryption configuration
228,	Reserved,				Not used
229,	Reserved,				Not used
230,	ERROR_GET_TARGET_IIDMA_SETTINGS,    	Failed to retrieve current iidma settings     
231,	ERROR_SAVE_TARGET_IIDMA_SETTINGS,       Failed to save iidma settings to target device(s)
232,	ERROR_SET_TARGET_IIDMA_UNSUPPORTED,     Unable to set target link speed (Unsupported link speed)
233,	ERROR_INVALID_IIDMA_SETTINGS,		Unable to set target link speed (Invalid link speed setting )
234,	ERROR_TARGET_NOT_AVAIL_IIDMA_SETTINGS,	Unable to set target link speed (Target device is not supported)
235,	ERROR_IIDMA_SETTINGS_UNSUPPORTED,	Unable to set target link speed (Destination target device is not supported)
236,	Reserved,				Not used
237,	Reserved,				Not used
238,	Reserved,				Not used
239,	Reserved,				Not used
240,	ERROR_NO_TARGET_SELECTED,               Unable to run target beacon because no device is selected
241,	ERROR_GET_BEACON_STATE,                 Unable to get the beacon state
242,	ERROR_SET_BEACON_STATE,                 Unable to set the beacon state
243,	ERROR_BEACON_UNSUPPORTED,               Beacon operation is unsupported
244,	ERROR_INVALID_BEACON_PARAMETERS,	Beacon settings is invalid
245,	Reserved,				Not used
246,	ERROR_RETRIEVE_FW_PRIVATE_STATS,	Unable to retrieve firmware private stats data
247,	ERROR_RETRIEVE_BBCR_SETTINGS,		Failed to retrieve bbcr settings of current adapter
248,	ERROR_RETRIEVE_BBCR_FAILURE_LINK_DOWN,  Failed to retrieve bbcr settings of current adapter (link down)
249,	ERROR_CONFIGURE_BBCR_SETTINGS,		Failed to save new bbcr settings to current adapter
250,	ERROR_GET_HBA_ALIAS,			Failed to retrieve HBA alias of the HBA			
251,	ERROR_UPDATE_HBA_ALIAS,			Failed to update HBA alias of the HBA
252,	ERROR_GET_PORT_ALIAS,			Failed to retried port alias of the HBA
253,	ERROR_UPDATE_PORT_ALIAS,		Failed to update port alias of the HBA
254,	Reserved,				Not used
255,	Reserved,				Not used
256,	Reserved,				Not used
257,	Reserved,				Not used
258,	Reserved,				Not used
259,	Reserved,				Not used
260,	ERROR_DRIVER_RESCAN,                    Driver rescan operation failed (Solaris)
261,	ERROR_FABRIC_SCM_RDF_REJECT,		Congestion Management not available on connected fabric
262,	ERROR_QUERY_SCM_INFO,			Unable to retrieve USCM statistics
263,	ERROR_RESET_SCM_STATS,			Failed to reset USCM statistic counters
264,	ERROR_GET_SCMR_PROFILE,			Faield to quey USCM profile settings
265,	ERROR_SET_SCMR_PROFILE,			Failed to apply new USCM profile settings	
266,	ERROR_MONITOR_SCMR_BANDWIDTH,		Unable to monitor data bandwith performance
267,	Reserved,				Not used
269,	Reserved,				Not used
270,	ERROR_ADAPTER_PROP_MISSING,            	Adapter property file is missing  
271,	ERROR_NVME_BOOT_PARAMS_INVALID,		Invalid NVMe boot parameters
272,	ERROR_NVME_BOOT_PARAMS_CHKSUMN,         Invalid NVMe boot configuration (checksum error) 
273,	ERROR_NVME_BOOT_SAVE_CONFIG,		Unable to save new NVMe boot settings
274,	Reserved,				Not used
275,	Reserved,				Not used
276,	Reserved,				Not used
277,	Reserved,				Not used
278,	Reserved,				Not used
279,	Reserved,				Not used
280,    ERROR_CREATE_VIRTUAL_PORT,              Failed to create a virtual port of the HBA
281,    ERROR_DELETE_VIRTUAL_PORT,              Failed to delete a virtual port of the HBA
282,    ERROR_INVALID_VIRTUAL_PORT_WWN,         Virtual port WWPN is invalid
283,    ERROR_VIRTUAL_PORT_NOT_FOUND,           Unable to find the specific virtual port
284,    ERROR_NO_VIRTUAL_PORT_EXIST,            This HBA does not have any virtual ports
285,    ERROR_DELETE_ALL_VIRTUAL_PORTS,         Failed to delete all virtual ports of the HBA
286,    ERROR_OPTION_DISABLED_VIRTUAL_HBA,      Option is not available with virtual port HBA
287,    ERROR_PRESERVED_WWPN_VIRTUAL_HBA,      	The supplied hexadecimal value is currently preserved for physical HBA
288,	ERROR_BIND_VIRTUAL_HBA,			Failed to bind virtual port to VSAN
289,	ERROR_UNBIND_VIRTUAL_HBA,		Failed to unbind virtual port to VSAN
290,	ERROR_VIRTUAL_HBA_ALREADY_BOUND,	The selected virtual port is currently bound to this VSAN
291,	ERROR_VIRTUAL_HBA_LOCKED,		The selected vPort setting is currently being locked
292,	ERROR_VPORT_NOT_BELONG_TO_PPORT		The selected vPort does not belong to this physical port
293,	ERROR_DUPLICATE_WWPN_VIRTUAL_HBA	Found duplicate vPort WWPN
294,	Reserved,				Not used
295,	Reserved,				Not used
296,	Reserved,				Not used
297,	Reserved,				Not used
298,	Reserved,				Not used
299,	Reserved,				Not used
300,	ERROR_UNSUPPORTED_BBCR_FW,		Failed to reset FCoE engine 

301,	Reserved,				Not used
302,	Reserved,				Not used
303,	Reserved,				Not used
304,	Reserved,				Not used
305,	Reserved,				Not used
306,	Reserved,				Not used
307,	Reserved,				Not used
308,	Reserved,				Not used
309,	Reserved,				Not used

310,	ERROR_UNSUPPORTED_FEC_FW,		FEC feature is not enabled with current adapter (Firmware unsupported)
311,	ERROR_CONFIGURE_FEC_OPTION,		Failed to configure adapter FEC option
312,	ERROR_RESET_FEC_COUNTERS,	    	Failed to reset adapter FEC counters

313,	Reserved,				Not used
314,	Reserved,				Not used
315,	Reserved,				Not used
316,	Reserved,				Not used
317,	Reserved,				Not used
318,	Reserved,				Not used
319,	Reserved,				Not used
320,	ERROR_QUERY_NVME_DEVICES_FAILED,	Unable to query NVMe storage device
321,	ERROR_UNSUPPORTED_NVME_FEATURE,		Command is not supported with NVME target(s)
322,	Reserved,				Not used
323,	Reserved,				Not used
324,	Reserved,				Not used
325,	Reserved,				Not used
326,	Reserved,				Not used
327,	Reserved,				Not used
328,	Reserved,				Not used
329,	Reserved,				Not used
330,	FLASH_VER_CTRL_FILE_MISSING,		Flash version config file is missing
331, 	FLASH_UPDATE_NOT_NEEDED,		HBA boot code does not need to be upgrade
332, 	FLASH_UPDATE_ALL_FAILED,		Flash update failed with all HBAs
333, 	FLASH_UPDATE_SOME_FAILED,		flash update completed with errors (Some HBA failed to be upgraded)
334, 	FLASH_NO_ENTRY_FLASH_CFG_FILE,		HBA entry is missing in the flash version config file
335,	Reserved,				Not used
336,	Reserved,				Not used
337,	Reserved,				Not used
338,	Reserved,				Not used
339,	Reserved,				Not used
340,	ERROR_GET_UDEV_NAME,			Unable to query udev persistent device name
341,	ERROR_DISPLAY_LUN_PERSISTENT_NAME,	Error displaying udev persistent device name of the specified LUN	
342,	ERROR_SET_LUN_PERSISTENT_NAME,		Error setting udev persistent device name to the specified LUN	
343,	ERROR_DEL_LUN_PERSISTENT_NAME,		Error deleting udev persistent device name of the specified LUN	
344,	ERROR_INVALID_LUN_PERSISTENT_NAME,	Invalid udev persistent device name
345,	ERROR_OS_UNSUPPORTED_PERSISTENT_NAME,	Udev persistent device name feature is not support with current OS/kernel 
346,	ERROR_UNSUPPORTED_LUN_TYPE,		Selected device is not supported with udev persistent device name feature 
347,	ERROR_UDEV_NAME_NOT_FOUND,		Specified device is not currently configured with Udev persistent device name
348,	ERROR_DUPLICATE_LUN_PERSISTENT_NAME,	Duplicate udev persistent device name
349,	Reserved,								Not used
350,	ERROR_FW_PRELOAD_UPDATE_FAILURE,	Unable to update firmware preload area to current HBA
351,	ERROR_FW_PRELOAD_SAVE_FAILURE,		Unable to save HBA current firmware preload area to a file
352,	ERROR_GET_FW_PRELOAD_VERSION_HBA,	Unable to retrieve firmware preload area version from adapter
353,	ERROR_GET_FW_PRELOAD_VERSION_FILE,	Unable to retrieve firmware preload area version from input file
354,	ERROR_INCORRECT_FW_PRELOAD_FILE,	Unable to update firmware preload area to adapter (Incorrect file)
355,	Reserved,				Not used
356,	Reserved,				Not used
357,	Reserved,				Not used
358,	Reserved,				Not used
359,	Reserved,				Not used
360,	ERROR_FW_SERDES_UPDATE_FAILURE,		Unable to update FC board config to current adapter
361,	ERROR_FW_SERDES_SAVE_FAILURE,		Unable to save current HBA FC board config to a file
362,	ERROR_GET_SERDES_VERSION_FILE,		Unable to retrieve FC board config version from adapter
363,	ERROR_GET_SERDES_VERSION_HBA,		Unable to retrieve FC board config version from input file
364,	ERROR_FW_SERDES_INVALID_PARAMS,		Unable to read FC board config data
365,	Reserved,				Not used
366,	Reserved,				Not used
367,	ERROR_FORCE_MPI_FW_DUMP,		Unable to force an MPI FW dump
368,	ERROR_NO_MPI_FW_DUMP,			Selected HBA has no MPI FW dump
369,	ERROR_SAVE_MPI_FW_DUMP, 		Unable to save MPI FW dump to a file (No MPI FW dump)
370,	ERROR_UPDATE_VPORT_ENABLE_STATE,	Failed to enable/disable QoS enable setting state
371,	ERROR_UPDATE_VPORT_LOCK_STATE,		Failed to modify QoS lock setting state
372,	ERROR_UPDATE_PPORT_ENABLE_STATE,	Failed to modify QoS enable setting state. Selected port is a physical port
373,	ERROR_UPDATE_PPORT_LOCK_STATE,		Failed to lock/unlock QoS lock setting state. Selected port is a physical port
374,	ERROR_INVALID_QOS_TYPE,			Unsupported QoS type
375,	ERROR_INVALID_QOS_PRIORITY_VALUE,	Invalid input for QoS priority setting
376,	ERROR_INVALID_QOS_BW_PERCENTAGE_VALUE,	Invalid input for QoS bandwidth percentage setting
377,	ERROR_INVALID_QOS_BW_SPEED_VALUE,	Invalid input for QoS bandwidth speed setting
378,	ERROR_QOS_PERCENTAGE_OVERFLOW,		Failed to apply changes on selected port (QoS bandwidth overflow)
379,	ERROR_VPORT_DISABLE_QOS_SETTING,	Failed to apply changes on selected port (QoS settings is currently disabled)
380,	ERROR_VPORT_LOCK_QOS_SETTING,		Failed to apply changes on selected port (QoS settings is currently locked)
381,	ERROR_UPDATE_VPORT_QOS_SETTING,		Failed to update QoS settings
430,	ERROR_SFP_INVALID_FILE_RECORD,		File has invalid record
431,	ERROR_SFP_BUFFER_INVALID_SIZE,		Invalid record size
432,	ERROR_SFP_BUFFER_INVALID_CHKSUM,	File has invalid checksum
433,	ERROR_SFP_UPDATE_FAILED,		Failed to update EDC firmware
434,	ERROR_SFP_UPDATE_UNSUPPORTED,		Selected option is unsupported
435,	ERROR_SFP_UPDATE_NON_ZERO_COUNT_STATUS,	Status error count is nonzero
436,	ERROR_SFP_UPDATE_INVALID_DEV_ADDR,	Failed to update Vitesse EDC firmware (Invalid device address)
437,	ERROR_SFP_UPDATE_INVALID_INPUTS,	Failed to update Vitesse EDC firmware (Invalid input)
438,	ERROR_SFP_INVALID_FW_FILE,		Incorrect Vitesse EDC firmware file
439,	ERROR_SFP_READ_FW_VERSION,		Failed to read Vitesse EDC firmware version
440,	ERROR_SFP_READ_FW_STATUS,		Failed to read Vitesse EDC firmware status
441,	ERROR_SFP_UNSUPPORTED_LIB,		Selected option is unsupported with current libqlsdm version
442,	ERROR_SFP_READ_EDC_SETTINGS,		Failed to read Vitesse EDC firmware settings
443,	ERROR_SFP_INVALID_SIGNATURE,		Vitesse EDC firmware has invalid signature
444,	ERROR_SFP_EDC_INVALID_STATUS,		Failed to read Vitesse EDC firmware (Unknown status)
445,	ERROR_SFP_EDC_REBOOT_REQUIRED,		Reboot required after Vitesse EDC firmware updates
446,	ERROR_SFP_EDC_UNDEFINED_STATE,		Vitesse EDC firmware version is in undefined state
447,	Reserved,				Not used
448,	Reserved,				Not used
449,	Reserved,				Not used
450,	ERROR_ILT_SIGNATURE_MISMATCH,		Multiboot image layout table (ILT) signature does not match
451,	ERROR_INCORRECT_FCOE_FLASH_IMAGE,	Unable to find an adapter that matches with the flash image
452,	ERROR_VALIDATE_FCOE_FLASH_IMAGE,	Failed to verify flash image
453,	ERROR_MODIFY_FCOE_FLASH_IMAGE,		Failed to modify flash image
454,	ERROR_READ_FLT_FLASH_IMAGE,		Failed to read flash layout tables
455,	ERROR_UPDATE_NIC_BOOT_CODE,		Failed to update NIC boot code
456,	ERROR_UPDATE_MPI_FIRMWARE,		Failed to update MPI firmware
457,	ERROR_UPDATE_EDC_FIRMWARE,		Failed to update EDC firmware
458,	ERROR_UPDATE_FC_BOOT_CODE,		Failed to update FC boot code
459,	ERROR_UPDATE_FC_FIRMWARE,		Failed to update FC firmware
460,	ERROR_UPDATE_MPI_PARAMS,		Failed to update MPI settings
461,	ERROR_UPDATE_FCOE_FIRMWARE,		Failed to update FCoE firmware
462,	ERROR_UPDATE_FCOE_BOOT_CODE,		Failed to update FCoE boot code
463,	ERROR_VALIDATE_FC_BOOT_CODE,		Failed to validate FC boot code
464,	ERROR_VALIDATE_FCOE_BOOT_CODE,		Failed to validate FCoE boot code			
465,	ERROR_VALIDATE_PCI_HEADER,		Failed to validate FCoE boot code
466,	ERROR_UPDATE_FC_BOOT_CODE_EXP,		Failed to update FC boot code expansion
467,	ERROR_FW_UPDATE_LOCKDOWN,		Flash update disabled (Firmware update lockdown is currently enabled)
468,	Reserved,				Not used
469,	Reserved,				Not used               
470,	ERROR_MPI_CFG_UPDATE_FAILURE,		Failed to update MPI configuration		
471,	ERROR_MPI_CFG_SAVE_FAILURE,		Failed to save current MPI configuration
472,	ERROR_GET_MPI_CFG_VERSION_HBA,		Unable to retrieve MPI configuration version from adapter
473,	ERROR_GET_MPI_CFG_VERSION_FILE,		Unable to retrieve MPI configuration version from input file
474,	ERROR_VALIDATE_MPI_CFG_SETTINGS,	Unable to validate current MPI configuration
475,	ERROR_APPLY_MPI_CFG_SETTINGS,		Unable to save MPI configuration to adapter
476,	Reserved,				Not used
477,	Reserved,				Not used
478,	Reserved,				Not used
479,	Reserved,				Not used
480,	ERROR_GET_DCE_STATISTICS,       	Unable to retrieve DCE statistics data from current adapter
490, 	ERROR_GET_DCBX_PARAMETERS,		Unable to retrieve DCBX settings of current adapter
491,	ERROR_UPDATE_DCBX_PARAMETERS,		Unable to save new DCBX settings to current adapter
500, 	ERROR_UPDATE_PEGTUNE_REGION,		Failed to update pegtune of current adapter
501, 	ERROR_UPDATE_ISCSI_BOOT_CODE_REGION,	Failed to update iSCSI boot code of current adapter
502, 	ERROR_UPDATE_NIC_BOOT_CODE_REGION,	Failed to update NIC boot code of current adapter
503, 	ERROR_UPDATE_CRBINIT_REGION,		Failed to update crbinit of current adapter
504, 	ERROR_UPDATE_BOOTLOADER_REGION,		Failed to update bootloader of current adapter
505, 	ERROR_ILT_CHIP_REV_MISMATCH,		Adapter chip revision does not match with current flash image layout table chip revision
506, 	ERROR_ILT_TABLE_VERSION_MISMATCH,	Flash image layout table is incompatible with current adapter
507, 	ERROR_ILT_EXPECTED_REGION_NOT_FOUND,	flash image layout table has missing component
508, 	ERROR_ILT_REGION_SIZE_MISMATCH,		flash image layout table size is incorrect
509, 	Reserved,				Not used
510, 	ERROR_UPDATE_SIGNATURE_REGION,		Failed to update flash signature of current adapter
511, 	ERROR_UPDATE_MPI_FW_REGION,		Failed to update MPI FW of current adapter
512, 	ERROR_UPDATE_PEP_FW_REGION,		Failed to update PEP FW of current adapter
513, 	ERROR_UPDATE_TRUNKING_PEP_FW_REGION,	Failed to update trunking PEP FW of current adapter
514, 	ERROR_UPDATE_PRIM_IMG_STATUS_REGION,	Failed to update primary image status of current adapter
515, 	ERROR_UPDATE_ALT_IMG_STATUS_REGION,	Failed to update secondary image status of current adapter
516, 	ERROR_UPDATE_FC_VPD_0_REGION,		Failed to update vpd 0 of current adapter
517, 	ERROR_UPDATE_FC_VPD_1_REGION,		Failed to update vpd 1 of current adapter
518, 	ERROR_UPDATE_FC_VPD_2_REGION,		Failed to update vpd 2 of current adapter
519, 	ERROR_UPDATE_FC_VPD_3_REGION,		Failed to update vpd 3 of current adapter
520, 	ERROR_INVALID_FLASH_IMAGE,		Invalid multiboot image file (MBI)
521, 	ERROR_COMBINE_FLASH_IMAGE_COMPONENTS,	Failed to rebuild multiboot image file
522, 	ERROR_VALIDATE_FLASH_IMAGE_COMPONENTS,	Input multiboot image file is not compatible with current adapter
523, 	ERROR_ONLINE_ACTIVATION_OUTTAGE,	Unable to start online flash update command
524, 	ERROR_ONLINE_ACTIVATION_FAILURE,	Unable to activate online flash update command
525, 	ERROR_FLASH_UPDATE_SESSION_IN_PROGRESS,	Online flash update is already running
526, 	ERROR_UPDATE_FLASH_MEMO_BLK_REGION,	Failed to update flash memo block of current adapter
527, 	ERROR_UPDATE_PEP_SOFTROM_REGION,	Failed to update FC Pep soft ROM of current adapter
528, 	ERROR_UPDATE_MPI_SOFTROM_REGION,	Failed to update FC MPI soft ROM of current adapter
529, 	ERROR_UPDATE_PCIE_SERDES_REGION,	Failed to update FC PCIE serdes of current adapter
530, 	ERROR_UPDATE_PEP_BRDCFG_REGION,		Failed to update FC PEP board config of current adapter
531, 	ERROR_UPDATE_FC_BRDCFG_REGION,		Failed to update FC board config of current adapter
532, 	ERROR_UPDATE_FWAREA_PRELOAD_REGION,	Failed to update FC firmware area of current adapter
533, 	ERROR_UPDATE_FC_SOFTROM_REGION,		Failed to update FC soft ROM of current adapter
580,	ERROR_MISSING_IP_ADDRESS,      		IP address is required
581,	ERROR_MISSING_NETMASK_ADDRESS,          Netmask address is required
582,	ERROR_MISSING_GATEWAY_ADDRESS,          Gateway address is required                  
583,	ERROR_INVALID_IP_ADDRESS,               Invalid IP address
584,	ERROR_INVALID_NET_MASK,                 Invalid netmask address
585,	ERROR_GET_SWITCH_INFO,                  Failed to get switch information
586,	ERROR_SET_SWITCH_IP_ADDRESS,            Failed to set switch IP address
587,	ERROR_INVALID_SWITCH_INPUT,             Invalid swich parameters settings
588,	ERROR_INVALID_ADMIN_ACCOUNT,            Admin account is required
589,	ERROR_INVALID_ADMIN_PASSWORD,           Admin password is incorrect
590,	ERROR_INVALID_OPTION,                   Switch input is invalid

600,    Reserved,				Not used
601,    ERROR_GET_BOARD_TEMP_DATA,		Unable to read adapter ASIC temperature
602,    ERROR_GET_BOARD_TEMP_INVALID_SETTINGS,	Invalid temperature monitoring settings
603,    ERROR_GET_BOARD_TEMP_FW_MBX_FAILED,	Failed to read current adapter ASIC temperature (Mbox command failed)
604,    ERROR_GET_BOARD_TEMP_FW_MBX_UNSUPPORTED, Failed to read current adapter ASIC temperature (Mbox command unsupported)
605,    ERROR_GET_BOARD_TEMP_HBA_UNSUPPORTED,	Unable to query the adapter ASIC temperature (HBA not supported this feature) 

700,    ERROR_READ_SERDES_PARAMS,		Unable to read FC board config serdes data	

800, 	ERROR_FEATURE_MASK_UNCHANGEABLE, 	Selected adapter does not support personality change
801, 	ERROR_MODIFY_ADAPTER_PERSONALITY,	Failed to change adapter personality
802,	ERROR_USER_PERSONALITY_CHANGE_DISABLE,	HBA personality change is disabled with selected adapter
803,	ERROR_USER_PERSONALITY_NO_CHANGE,	HBA personality is FC only
 
900,    ERROR_UPDATE_SOFTROM_REGION,		Unable to update adapter Soft ROM data

920,    ERROR_GET_SMARTSAN_STATUS,		Unable to query HBA Smart SAN feature status
921, 	ERROR_ENABLE_SMARTSAN_KEY,		Unable to enable Smart SAN feature of selected adapter
922, 	ERROR_DISABLE_SMARTSAN_KEY,		Unable to disable Smart SAN feature of selected adapter
923, 	ERROR_HARDWARE_DRIVER_UNSUPPORTED,	Current driver does not support Smart SAN feature

1000,	ERROR_RETRIEVE_FW_DUMP,			Unable to retrieve adapter firmware dump
1001, 	ERROR_RETRIEVE_FW_DUMP_BUFF_TOO_SMALL,	Unable to retrieve adapter firmware dump (Buffer too small)
1002,	ERROR_RETRIEVE_FW_DUMP_OUT_OF_MEMORY,	Unable to retrieve adapter firmware dump (Out of Memory)
1003, 	ERROR_RETRIEVE_FW_DUMP_HBA_DISABLE,	Firmware dump is disabled with selected adapter
1004,	ERROR_HBA_HAS_NO_FW_DUMP,		Current HBA does not have firmware dump
1005,	ERROR_FW_DUMP_UNSUPPORTED_HBA,		Firmware dump option is not supported with selected adapter
1006,   ERROR_FORCE_HBA_FW_DUMP,         	Unable to force a firmware dump with selected adapter

1101,	ERROR_RESET_MENLO,			Failed to reset FCoE engine 
1102,	ERROR_GET_MENLO_FW_VERSION,		Failed to retrieve FCoE firmware version
1103,	ERROR_UPDATE_MENLO_FW,			Failed to update FCoE firmware
1104,	ERROR_MANAGE_MENLO_INFO,		Failed to execute FCoE operation commands
1105,	ERROR_GET_MENLO_CONFIG,			Failed to retrieve FCoE parameters
1106,	ERROR_SET_MENLO_CONFIG,			Failed to update FCoE parameters
1107,	ERROR_NOT_A_FCOE_DEVICE,		Selected adapter is not a FCoE HBA
1108,	ERROR_INVALID_FW_SEGMENT_SIZE,		Invalid FCoE firmware segment size
1100,	ERROR_MENLO_PORT_NOT_FOUND,		Unable to find the selected FCoE port
1110,	ERROR_UNSUPPORTED_MENLO_DEVICE,		Unsupported FCoE HBA
1111,	ERROR_GET_MENLO_ASIC_MONITORING,	Failed to query FCoE ASIC port statistics
1112,	ERROR_GET_MENLO_CPU_MONITORING,		Failed to query FCoE CPU statistics
1113,	ERROR_GET_MENLO_ETH_MONITORING,		Failed to query FCoE Ethernet Port/LIF statistics
1114,	ERROR_GET_MENLO_FC_MONITORING,		Failed to query FCoE FC Port/LIF statistics
1115,	ERROR_GET_MENLO_NSL_MONITORING,		Failed to query FCoE NSL Port statistisc 
1116,	ERROR_CORRUPTED_LOG_DATA,		FCoE log data seems to be corrupted
1117,	ERROR_NO_MATCHING_LOG_ID,		Unable to find the specified log that matched with the log id
1118,	ERROR_READ_MENLO_MEMORY,		FCoE diagnostics read memory failed
1119,	ERROR_WRITE_MENLO_MEMORY,		FCoE diagnostics write memory failed
1120,	ERROR_RETRIEVING_MENLO_LOG_LAYOUT,	Failed to query FCoE log layout
1121,	ERROR_RETRIEVING_MENLO_LOG_ID,		Failed to retrieve FCoE log data
1122,	ERROR_INVALID_OFFSET,			Invalid offset input
1123,	ERROR_INVALID_BYTES,			Invalid bytes input
1124,	ERROR_INVALID_DIAG_ADDRESS,		Invalid FCoE memory buffer address
1125,	ERROR_INVALID_DIAG_SIZE,		Invalid FCoE memory buffer size
1126,	ERROR_INVALID_DIAG_INPUTS,		Invalid FCoE inputs
1127,	ERROR_RETRIEVING_MENLO_PANIC_LOG,	Failed to retrieve FCoE panic log
1128,	ERROR_NO_PANIC_LOG_FOUND,		FCoE panic log not found
1129,	ERROR_FCOE_PARAMS_INVALID,		FCoE parameter settings is invalid
1130,	ERROR_FCOE_PARAMS_UNSUPPORT,		FCoE parameter settings is unsupported

2000,   ERROR_GET_HYPER_VFC_INFO,		Unable to query adapter hyper-V information
2001, 	ERROR_GET_HYPER_VFC_TIMED_OUT,		Unable to query adapter hyper-V information (Timeout)
2002,	ERROR_GET_HYPER_VFC_CONNECTION_FAILED,	Unable to query adapter hyper-V information (Connection failed)
2003, 	ERROR_GET_HYPER_VFC_OUT_OF_MEMORY,	Unable to query adapter hyper-V information (Out of Memory)	
2004,	ERROR_GET_HYPER_VFC_ACCESS_DENIED,	Unable to query adapter hyper-V information (Access denied)
2005, 	ERROR_GET_HYPER_VFC_SVR_FAILED_RSP,	Unable to query adapter hyper-V information (Server failed)
2006, 	ERROR_GET_HYPER_VFC_SVR_NOT_AVAILABLE, Unable to query adapter hyper-V information (Server not available)

2010, 	ERROR_INVALID_FCF_PRIM_VLAN_ID_SETTINGS, Invalid FCF primary VLAN ID setting
2011,	ERROR_GET_FCF_PRIM_VLAN_ID_SETTINGS,	Unable to query FCF primary VLAN ID
2012, 	ERROR_SET_FCF_PRIM_VLAN_ID_SETTINGS,	Unable to set FCF primary VLAN ID
2013,	ERROR_NO_FCF_VLAN_ID_SETTINGS_NEEDED,	FCF VLAN ID not applicable
