Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Macros | Enumerations
bfa_defs.h File Reference
#include "bfa_fc.h"
#include "bfad_drv.h"

Go to the source code of this file.

Data Structures

struct  bfa_mfg_vpd_s
 
struct  bfa_adapter_attr_s
 
struct  bfa_ioc_driver_attr_s
 
struct  bfa_ioc_pci_attr_s
 
struct  bfa_fw_ioc_stats_s
 
struct  bfa_ioc_drv_stats_s
 
struct  bfa_ioc_stats_s
 
struct  bfa_ioc_attr_s
 
struct  bfa_adapter_aen_data_s
 
struct  bfa_port_aen_data_s
 
struct  bfa_lport_aen_data_s
 
struct  bfa_itnim_aen_data_s
 
struct  bfa_audit_aen_data_s
 
struct  bfa_ioc_aen_data_s
 
struct  bfa_mfg_block_s
 
struct  bfa_boot_bootlun_s
 
struct  bfa_boot_cfg_s
 
struct  bfa_boot_pbc_s
 
struct  bfa_ethboot_cfg_s
 
struct  bfa_adapter_cfg_mode_s
 
struct  bfa_ablk_cfg_pf_s
 
struct  bfa_ablk_cfg_port_s
 
struct  bfa_ablk_cfg_inst_s
 
struct  bfa_ablk_cfg_s
 
struct  sfp_srlid_base_s
 
struct  sfp_srlid_ext_s
 
struct  sfp_diag_base_s
 
struct  sfp_diag_ext_s
 
struct  sfp_usr_eeprom_s
 
struct  sfp_mem_s
 
union  sfp_xcvr_e10g_code_u
 
union  sfp_xcvr_so1_code_u
 
union  sfp_xcvr_so2_code_u
 
union  sfp_xcvr_eth_code_u
 
struct  sfp_xcvr_fc1_code_s
 
union  sfp_xcvr_fc2_code_u
 
union  sfp_xcvr_fc3_code_u
 
struct  sfp_xcvr_s
 
struct  bfa_flash_part_attr_s
 
struct  bfa_flash_attr_s
 
struct  bfa_diag_memtest_s
 
struct  bfa_diag_memtest_result
 
struct  bfa_diag_loopback_result_s
 
struct  bfa_diag_ledtest_s
 
struct  bfa_diag_loopback_s
 
struct  bfa_phy_attr_s
 
struct  bfa_phy_stats_s
 

Macros

#define BFA_MFG_SERIALNUM_SIZE   11
 
#define STRSZ(_n)   (((_n) + 4) & ~3)
 
#define bfa_mfg_is_mezz(type)
 
#define bfa_mfg_is_old_wwn_mac_model(type)
 
#define bfa_mfg_increment_wwn_mac(m, i)
 
#define BFA_MFG_VPD_LEN   512
 
#define bfa_status_t   enum bfa_status
 
#define bfa_eproto_status_t   enum bfa_eproto_status
 
#define bfa_boolean_t   enum bfa_boolean
 
#define BFA_STRING_32   32
 
#define BFA_VERSION_LEN   64
 
#define BFA_MFG_CHKSUM_SIZE   16
 
#define BFA_MFG_PARTNUM_SIZE   14
 
#define BFA_MFG_SUPPLIER_ID_SIZE   10
 
#define BFA_MFG_SUPPLIER_PARTNUM_SIZE   20
 
#define BFA_MFG_SUPPLIER_SERIALNUM_SIZE   20
 
#define BFA_MFG_SUPPLIER_REVISION_SIZE   4
 
#define BFA_MFG_IC_FC   0x01
 
#define BFA_MFG_IC_ETH   0x02
 
#define BFA_CM_HBA   0x01
 
#define BFA_CM_CNA   0x02
 
#define BFA_CM_NIC   0x04
 
#define BFA_CM_FC16G   0x08
 
#define BFA_CM_SRIOV   0x10
 
#define BFA_CM_MEZZ   0x20
 
#define bfa_asic_id_cb(__d)
 
#define bfa_asic_id_ct(__d)
 
#define bfa_asic_id_ct2(__d)   ((__d) == BFA_PCI_DEVICE_ID_CT2)
 
#define bfa_asic_id_ctc(__d)   (bfa_asic_id_ct(__d) || bfa_asic_id_ct2(__d))
 
#define BFA_PCI_ACCESS_RANGES   1
 
#define bfa_port_speed_t   enum bfa_port_speed
 
#define BOOT_CFG_REV1   1
 
#define BOOT_CFG_VLAN   1
 
#define BFA_ABLK_MAX_PORTS   2
 
#define BFA_ABLK_MAX_PFS   16
 
#define BFA_ABLK_MAX   2
 
#define SFP_DIAGMON_SIZE   10 /* num bytes of diag monitor data */
 
#define BFA_SFP_SCN_REMOVED   0
 
#define BFA_SFP_SCN_INSERTED   1
 
#define BFA_SFP_SCN_POM   2
 
#define BFA_SFP_SCN_FAILED   3
 
#define BFA_SFP_SCN_UNSUPPORT   4
 
#define BFA_SFP_SCN_VALID   5
 
#define BFA_FLASH_PART_ENTRY_SIZE   32 /* partition entry size */
 
#define BFA_FLASH_PART_MAX   32 /* maximal # of partitions */
 
#define LB_PATTERN_DEFAULT   0xB5B5B5B5
 
#define QTEST_CNT_DEFAULT   10
 
#define QTEST_PAT_DEFAULT   LB_PATTERN_DEFAULT
 

Enumerations

enum  {
  BFA_MFG_TYPE_CB_MAX = 825, BFA_MFG_TYPE_FC8P2 = 825, BFA_MFG_TYPE_FC8P1 = 815, BFA_MFG_TYPE_FC4P2 = 425,
  BFA_MFG_TYPE_FC4P1 = 415, BFA_MFG_TYPE_CNA10P2 = 1020, BFA_MFG_TYPE_CNA10P1 = 1010, BFA_MFG_TYPE_JAYHAWK = 804,
  BFA_MFG_TYPE_WANCHESE = 1007, BFA_MFG_TYPE_ASTRA = 807, BFA_MFG_TYPE_LIGHTNING_P0 = 902, BFA_MFG_TYPE_LIGHTNING = 1741,
  BFA_MFG_TYPE_PROWLER_F = 1560, BFA_MFG_TYPE_PROWLER_N = 1410, BFA_MFG_TYPE_PROWLER_C = 1710, BFA_MFG_TYPE_PROWLER_D = 1860,
  BFA_MFG_TYPE_CHINOOK = 1867, BFA_MFG_TYPE_INVALID = 0
}
 
enum  {
  BFA_MFG_VPD_UNKNOWN = 0, BFA_MFG_VPD_IBM = 1, BFA_MFG_VPD_HP = 2, BFA_MFG_VPD_DELL = 3,
  BFA_MFG_VPD_PCI_IBM = 0x08, BFA_MFG_VPD_PCI_HP = 0x10, BFA_MFG_VPD_PCI_DELL = 0x20, BFA_MFG_VPD_PCI_BRCD = 0xf8
}
 
enum  bfa_status {
  BFA_STATUS_OK = 0, BFA_STATUS_FAILED = 1, BFA_STATUS_EINVAL = 2, BFA_STATUS_ENOMEM = 3,
  BFA_STATUS_ENOSYS = 4, BFA_STATUS_ETIMER = 5, BFA_STATUS_EPROTOCOL = 6, BFA_STATUS_ENOFCPORTS = 7,
  BFA_STATUS_NOFLASH = 8, BFA_STATUS_BADFLASH = 9, BFA_STATUS_SFP_UNSUPP = 10, BFA_STATUS_UNKNOWN_VFID = 11,
  BFA_STATUS_DATACORRUPTED = 12, BFA_STATUS_DEVBUSY = 13, BFA_STATUS_ABORTED = 14, BFA_STATUS_NODEV = 15,
  BFA_STATUS_HDMA_FAILED = 16, BFA_STATUS_FLASH_BAD_LEN = 17, BFA_STATUS_UNKNOWN_LWWN = 18, BFA_STATUS_UNKNOWN_RWWN = 19,
  BFA_STATUS_FCPT_LS_RJT = 20, BFA_STATUS_VPORT_EXISTS = 21, BFA_STATUS_VPORT_MAX = 22, BFA_STATUS_UNSUPP_SPEED = 23,
  BFA_STATUS_INVLD_DFSZ = 24, BFA_STATUS_CNFG_FAILED = 25, BFA_STATUS_CMD_NOTSUPP = 26, BFA_STATUS_NO_ADAPTER = 27,
  BFA_STATUS_LINKDOWN = 28, BFA_STATUS_FABRIC_RJT = 29, BFA_STATUS_UNKNOWN_VWWN = 30, BFA_STATUS_NSLOGIN_FAILED = 31,
  BFA_STATUS_NO_RPORTS = 32, BFA_STATUS_NSQUERY_FAILED = 33, BFA_STATUS_PORT_OFFLINE = 34, BFA_STATUS_RPORT_OFFLINE = 35,
  BFA_STATUS_TGTOPEN_FAILED = 36, BFA_STATUS_BAD_LUNS = 37, BFA_STATUS_IO_FAILURE = 38, BFA_STATUS_NO_FABRIC = 39,
  BFA_STATUS_EBADF = 40, BFA_STATUS_EINTR = 41, BFA_STATUS_EIO = 42, BFA_STATUS_ENOTTY = 43,
  BFA_STATUS_ENXIO = 44, BFA_STATUS_EFOPEN = 45, BFA_STATUS_VPORT_WWN_BP = 46, BFA_STATUS_PORT_NOT_DISABLED = 47,
  BFA_STATUS_BADFRMHDR = 48, BFA_STATUS_BADFRMSZ = 49, BFA_STATUS_MISSINGFRM = 50, BFA_STATUS_LINKTIMEOUT = 51,
  BFA_STATUS_NO_FCPIM_NEXUS = 52, BFA_STATUS_CHECKSUM_FAIL = 53, BFA_STATUS_GZME_FAILED = 54, BFA_STATUS_SCSISTART_REQD = 55,
  BFA_STATUS_IOC_FAILURE = 56, BFA_STATUS_INVALID_WWN = 57, BFA_STATUS_MISMATCH = 58, BFA_STATUS_IOC_ENABLED = 59,
  BFA_STATUS_ADAPTER_ENABLED = 60, BFA_STATUS_IOC_NON_OP = 61, BFA_STATUS_ADDR_MAP_FAILURE = 62, BFA_STATUS_SAME_NAME = 63,
  BFA_STATUS_PENDING = 64, BFA_STATUS_8G_SPD = 65, BFA_STATUS_4G_SPD = 66, BFA_STATUS_AD_IS_ENABLE = 67,
  BFA_STATUS_EINVAL_TOV = 68, BFA_STATUS_EINVAL_QDEPTH = 69, BFA_STATUS_VERSION_FAIL = 70, BFA_STATUS_DIAG_BUSY = 71,
  BFA_STATUS_BEACON_ON = 72, BFA_STATUS_BEACON_OFF = 73, BFA_STATUS_LBEACON_ON = 74, BFA_STATUS_LBEACON_OFF = 75,
  BFA_STATUS_PORT_NOT_INITED = 76, BFA_STATUS_RPSC_ENABLED = 77, BFA_STATUS_ENOFSAVE = 78, BFA_STATUS_BAD_FILE = 79,
  BFA_STATUS_RLIM_EN = 80, BFA_STATUS_RLIM_DIS = 81, BFA_STATUS_IOC_DISABLED = 82, BFA_STATUS_ADAPTER_DISABLED = 83,
  BFA_STATUS_BIOS_DISABLED = 84, BFA_STATUS_AUTH_ENABLED = 85, BFA_STATUS_AUTH_DISABLED = 86, BFA_STATUS_ERROR_TRL_ENABLED = 87,
  BFA_STATUS_ERROR_QOS_ENABLED = 88, BFA_STATUS_NO_SFP_DEV = 89, BFA_STATUS_MEMTEST_FAILED = 90, BFA_STATUS_INVALID_DEVID = 91,
  BFA_STATUS_QOS_ENABLED = 92, BFA_STATUS_QOS_DISABLED = 93, BFA_STATUS_INCORRECT_DRV_CONFIG = 94, BFA_STATUS_REG_FAIL = 95,
  BFA_STATUS_IM_INV_CODE = 96, BFA_STATUS_IM_INV_VLAN = 97, BFA_STATUS_IM_INV_ADAPT_NAME = 98, BFA_STATUS_IM_LOW_RESOURCES = 99,
  BFA_STATUS_IM_VLANID_IS_PVID = 100, BFA_STATUS_IM_VLANID_EXISTS = 101, BFA_STATUS_IM_FW_UPDATE_FAIL = 102, BFA_STATUS_PORTLOG_ENABLED = 103,
  BFA_STATUS_PORTLOG_DISABLED = 104, BFA_STATUS_FILE_NOT_FOUND = 105, BFA_STATUS_QOS_FC_ONLY = 106, BFA_STATUS_RLIM_FC_ONLY = 107,
  BFA_STATUS_CT_SPD = 108, BFA_STATUS_LEDTEST_OP = 109, BFA_STATUS_CEE_NOT_DN = 110, BFA_STATUS_10G_SPD = 111,
  BFA_STATUS_IM_INV_TEAM_NAME = 112, BFA_STATUS_IM_DUP_TEAM_NAME = 113, BFA_STATUS_IM_ADAPT_ALREADY_IN_TEAM = 114, BFA_STATUS_IM_ADAPT_HAS_VLANS = 115,
  BFA_STATUS_IM_PVID_MISMATCH = 116, BFA_STATUS_IM_LINK_SPEED_MISMATCH = 117, BFA_STATUS_IM_MTU_MISMATCH = 118, BFA_STATUS_IM_RSS_MISMATCH = 119,
  BFA_STATUS_IM_HDS_MISMATCH = 120, BFA_STATUS_IM_OFFLOAD_MISMATCH = 121, BFA_STATUS_IM_PORT_PARAMS = 122, BFA_STATUS_IM_PORT_NOT_IN_TEAM = 123,
  BFA_STATUS_IM_CANNOT_REM_PRI = 124, BFA_STATUS_IM_MAX_PORTS_REACHED = 125, BFA_STATUS_IM_LAST_PORT_DELETE = 126, BFA_STATUS_IM_NO_DRIVER = 127,
  BFA_STATUS_IM_MAX_VLANS_REACHED = 128, BFA_STATUS_TOMCAT_SPD_NOT_ALLOWED = 129, BFA_STATUS_NO_MINPORT_DRIVER = 130, BFA_STATUS_CARD_TYPE_MISMATCH = 131,
  BFA_STATUS_BAD_ASICBLK = 132, BFA_STATUS_NO_DRIVER = 133, BFA_STATUS_INVALID_MAC = 134, BFA_STATUS_IM_NO_VLAN = 135,
  BFA_STATUS_IM_ETH_LB_FAILED = 136, BFA_STATUS_IM_PVID_REMOVE = 137, BFA_STATUS_IM_PVID_EDIT = 138, BFA_STATUS_CNA_NO_BOOT = 139,
  BFA_STATUS_IM_PVID_NON_ZERO = 140, BFA_STATUS_IM_INETCFG_LOCK_FAILED = 141, BFA_STATUS_IM_GET_INETCFG_FAILED = 142, BFA_STATUS_IM_NOT_BOUND = 143,
  BFA_STATUS_INSUFFICIENT_PERMS = 144, BFA_STATUS_IM_INV_VLAN_NAME = 145, BFA_STATUS_CMD_NOTSUPP_CNA = 146, BFA_STATUS_IM_PASSTHRU_EDIT = 147,
  BFA_STATUS_IM_BIND_FAILED = 148, BFA_STATUS_IM_UNBIND_FAILED = 149, BFA_STATUS_IM_PORT_IN_TEAM = 150, BFA_STATUS_IM_VLAN_NOT_FOUND = 151,
  BFA_STATUS_IM_TEAM_NOT_FOUND = 152, BFA_STATUS_IM_TEAM_CFG_NOT_ALLOWED = 153, BFA_STATUS_PBC = 154, BFA_STATUS_DEVID_MISSING = 155,
  BFA_STATUS_BAD_FWCFG = 156, BFA_STATUS_CREATE_FILE = 157, BFA_STATUS_INVALID_VENDOR = 158, BFA_STATUS_SFP_NOT_READY = 159,
  BFA_STATUS_FLASH_UNINIT = 160, BFA_STATUS_FLASH_EMPTY = 161, BFA_STATUS_FLASH_CKFAIL = 162, BFA_STATUS_TRUNK_UNSUPP = 163,
  BFA_STATUS_TRUNK_ENABLED = 164, BFA_STATUS_TRUNK_DISABLED = 165, BFA_STATUS_TRUNK_ERROR_TRL_ENABLED = 166, BFA_STATUS_BOOT_CODE_UPDATED = 167,
  BFA_STATUS_BOOT_VERSION = 168, BFA_STATUS_CARDTYPE_MISSING = 169, BFA_STATUS_INVALID_CARDTYPE = 170, BFA_STATUS_NO_TOPOLOGY_FOR_CNA = 171,
  BFA_STATUS_IM_VLAN_OVER_TEAM_DELETE_FAILED = 172, BFA_STATUS_ETHBOOT_ENABLED = 173, BFA_STATUS_ETHBOOT_DISABLED = 174, BFA_STATUS_IOPROFILE_OFF = 175,
  BFA_STATUS_NO_PORT_INSTANCE = 176, BFA_STATUS_BOOT_CODE_TIMEDOUT = 177, BFA_STATUS_NO_VPORT_LOCK = 178, BFA_STATUS_VPORT_NO_CNFG = 179,
  BFA_STATUS_MAX_VAL, BFA_STATUS_OK = 0, BFA_STATUS_FAILED = 1, BFA_STATUS_EINVAL = 2,
  BFA_STATUS_ENOMEM = 3, BFA_STATUS_ETIMER = 5, BFA_STATUS_EPROTOCOL = 6, BFA_STATUS_SFP_UNSUPP = 10,
  BFA_STATUS_UNKNOWN_VFID = 11, BFA_STATUS_DATACORRUPTED = 12, BFA_STATUS_DEVBUSY = 13, BFA_STATUS_HDMA_FAILED = 16,
  BFA_STATUS_FLASH_BAD_LEN = 17, BFA_STATUS_UNKNOWN_LWWN = 18, BFA_STATUS_UNKNOWN_RWWN = 19, BFA_STATUS_VPORT_EXISTS = 21,
  BFA_STATUS_VPORT_MAX = 22, BFA_STATUS_UNSUPP_SPEED = 23, BFA_STATUS_INVLD_DFSZ = 24, BFA_STATUS_CMD_NOTSUPP = 26,
  BFA_STATUS_FABRIC_RJT = 29, BFA_STATUS_UNKNOWN_VWWN = 30, BFA_STATUS_PORT_OFFLINE = 34, BFA_STATUS_VPORT_WWN_BP = 46,
  BFA_STATUS_PORT_NOT_DISABLED = 47, BFA_STATUS_NO_FCPIM_NEXUS = 52, BFA_STATUS_IOC_FAILURE = 56, BFA_STATUS_INVALID_WWN = 57,
  BFA_STATUS_ADAPTER_ENABLED = 60, BFA_STATUS_IOC_NON_OP = 61, BFA_STATUS_VERSION_FAIL = 70, BFA_STATUS_DIAG_BUSY = 71,
  BFA_STATUS_BEACON_ON = 72, BFA_STATUS_ENOFSAVE = 78, BFA_STATUS_IOC_DISABLED = 82, BFA_STATUS_ERROR_TRL_ENABLED = 87,
  BFA_STATUS_ERROR_QOS_ENABLED = 88, BFA_STATUS_NO_SFP_DEV = 89, BFA_STATUS_MEMTEST_FAILED = 90, BFA_STATUS_LEDTEST_OP = 109,
  BFA_STATUS_INVALID_MAC = 134, BFA_STATUS_CMD_NOTSUPP_CNA = 146, BFA_STATUS_PBC = 154, BFA_STATUS_BAD_FWCFG = 156,
  BFA_STATUS_INVALID_VENDOR = 158, BFA_STATUS_SFP_NOT_READY = 159, BFA_STATUS_TRUNK_ENABLED = 164, BFA_STATUS_TRUNK_DISABLED = 165,
  BFA_STATUS_IOPROFILE_OFF = 175, BFA_STATUS_PHY_NOT_PRESENT = 183, BFA_STATUS_FEATURE_NOT_SUPPORTED = 192, BFA_STATUS_ENTRY_EXISTS = 193,
  BFA_STATUS_ENTRY_NOT_EXISTS = 194, BFA_STATUS_NO_CHANGE = 195, BFA_STATUS_FAA_ENABLED = 197, BFA_STATUS_FAA_DISABLED = 198,
  BFA_STATUS_FAA_ACQUIRED = 199, BFA_STATUS_FAA_ACQ_ADDR = 200, BFA_STATUS_ERROR_TRUNK_ENABLED = 203, BFA_STATUS_MAX_ENTRY_REACHED = 212,
  BFA_STATUS_TOPOLOGY_LOOP = 230, BFA_STATUS_LOOP_UNSUPP_MEZZ = 231, BFA_STATUS_INVALID_BW = 233, BFA_STATUS_QOS_BW_INVALID = 234,
  BFA_STATUS_DPORT_ENABLED = 235, BFA_STATUS_DPORT_DISABLED = 236, BFA_STATUS_CMD_NOTSUPP_MEZZ = 239, BFA_STATUS_FRU_NOT_PRESENT = 240,
  BFA_STATUS_DPORT_ERR = 245, BFA_STATUS_MAX_VAL
}
 
enum  bfa_eproto_status { BFA_EPROTO_BAD_ACCEPT = 0, BFA_EPROTO_UNKNOWN_RSP = 1, BFA_EPROTO_BAD_ACCEPT = 0, BFA_EPROTO_UNKNOWN_RSP = 1 }
 
enum  bfa_boolean { BFA_FALSE = 0, BFA_TRUE = 1 }
 
enum  {
  BFA_ADAPTER_SERIAL_NUM_LEN = STRSZ(BFA_MFG_SERIALNUM_SIZE), BFA_ADAPTER_MODEL_NAME_LEN = 16, BFA_ADAPTER_MODEL_DESCR_LEN = 128, BFA_ADAPTER_MFG_NAME_LEN = 8,
  BFA_ADAPTER_SYM_NAME_LEN = 64, BFA_ADAPTER_OS_TYPE_LEN = 64
}
 
enum  { BFA_IOC_DRIVER_LEN = 16, BFA_IOC_CHIP_REV_LEN = 8 }
 
enum  bfa_ioc_state {
  BFA_IOC_UNINIT = 1, BFA_IOC_RESET = 2, BFA_IOC_SEMWAIT = 3, BFA_IOC_HWINIT = 4,
  BFA_IOC_GETATTR = 5, BFA_IOC_OPERATIONAL = 6, BFA_IOC_INITFAIL = 7, BFA_IOC_FAIL = 8,
  BFA_IOC_DISABLING = 9, BFA_IOC_DISABLED = 10, BFA_IOC_FWMISMATCH = 11, BFA_IOC_ENABLING = 12,
  BFA_IOC_HWFAIL = 13, BFA_IOC_UNINIT = 1, BFA_IOC_RESET = 2, BFA_IOC_SEMWAIT = 3,
  BFA_IOC_HWINIT = 4, BFA_IOC_GETATTR = 5, BFA_IOC_OPERATIONAL = 6, BFA_IOC_INITFAIL = 7,
  BFA_IOC_FAIL = 8, BFA_IOC_DISABLING = 9, BFA_IOC_DISABLED = 10, BFA_IOC_FWMISMATCH = 11,
  BFA_IOC_ENABLING = 12, BFA_IOC_HWFAIL = 13, BFA_IOC_ACQ_ADDR = 14
}
 
enum  bfa_ioc_type_e { BFA_IOC_TYPE_FC = 1, BFA_IOC_TYPE_FCoE = 2, BFA_IOC_TYPE_LL = 3 }
 
enum  bfa_aen_category {
  BFA_AEN_CAT_ADAPTER = 1, BFA_AEN_CAT_PORT = 2, BFA_AEN_CAT_LPORT = 3, BFA_AEN_CAT_RPORT = 4,
  BFA_AEN_CAT_ITNIM = 5, BFA_AEN_CAT_AUDIT = 8, BFA_AEN_CAT_IOC = 9
}
 
enum  bfa_adapter_aen_event { BFA_ADAPTER_AEN_ADD = 1, BFA_ADAPTER_AEN_REMOVE = 2 }
 
enum  bfa_port_aen_event {
  BFA_PORT_AEN_ONLINE = 1, BFA_PORT_AEN_OFFLINE = 2, BFA_PORT_AEN_RLIR = 3, BFA_PORT_AEN_SFP_INSERT = 4,
  BFA_PORT_AEN_SFP_REMOVE = 5, BFA_PORT_AEN_SFP_POM = 6, BFA_PORT_AEN_ENABLE = 7, BFA_PORT_AEN_DISABLE = 8,
  BFA_PORT_AEN_AUTH_ON = 9, BFA_PORT_AEN_AUTH_OFF = 10, BFA_PORT_AEN_DISCONNECT = 11, BFA_PORT_AEN_QOS_NEG = 12,
  BFA_PORT_AEN_FABRIC_NAME_CHANGE = 13, BFA_PORT_AEN_SFP_ACCESS_ERROR = 14, BFA_PORT_AEN_SFP_UNSUPPORT = 15
}
 
enum  bfa_port_aen_sfp_pom { BFA_PORT_AEN_SFP_POM_GREEN = 1, BFA_PORT_AEN_SFP_POM_AMBER = 2, BFA_PORT_AEN_SFP_POM_RED = 3, BFA_PORT_AEN_SFP_POM_MAX = BFA_PORT_AEN_SFP_POM_RED }
 
enum  bfa_lport_aen_event {
  BFA_LPORT_AEN_NEW = 1, BFA_LPORT_AEN_DELETE = 2, BFA_LPORT_AEN_ONLINE = 3, BFA_LPORT_AEN_OFFLINE = 4,
  BFA_LPORT_AEN_DISCONNECT = 5, BFA_LPORT_AEN_NEW_PROP = 6, BFA_LPORT_AEN_DELETE_PROP = 7, BFA_LPORT_AEN_NEW_STANDARD = 8,
  BFA_LPORT_AEN_DELETE_STANDARD = 9, BFA_LPORT_AEN_NPIV_DUP_WWN = 10, BFA_LPORT_AEN_NPIV_FABRIC_MAX = 11, BFA_LPORT_AEN_NPIV_UNKNOWN = 12
}
 
enum  bfa_itnim_aen_event { BFA_ITNIM_AEN_ONLINE = 1, BFA_ITNIM_AEN_OFFLINE = 2, BFA_ITNIM_AEN_DISCONNECT = 3 }
 
enum  bfa_audit_aen_event { BFA_AUDIT_AEN_AUTH_ENABLE = 1, BFA_AUDIT_AEN_AUTH_DISABLE = 2, BFA_AUDIT_AEN_FLASH_ERASE = 3, BFA_AUDIT_AEN_FLASH_UPDATE = 4 }
 
enum  bfa_ioc_aen_event {
  BFA_IOC_AEN_HBGOOD = 1, BFA_IOC_AEN_HBFAIL = 2, BFA_IOC_AEN_ENABLE = 3, BFA_IOC_AEN_DISABLE = 4,
  BFA_IOC_AEN_FWMISMATCH = 5, BFA_IOC_AEN_FWCFG_ERROR = 6, BFA_IOC_AEN_INVALID_VENDOR = 7, BFA_IOC_AEN_INVALID_NWWN = 8,
  BFA_IOC_AEN_INVALID_PWWN = 9
}
 
enum  bfa_dport_state { BFA_DPORT_ST_DISABLED = 0, BFA_DPORT_ST_DISABLING = 1, BFA_DPORT_ST_ENABLING = 2, BFA_DPORT_ST_ENABLED = 3 }
 
enum  {
  BFA_PCI_VENDOR_ID_BROCADE = 0x1657, BFA_PCI_DEVICE_ID_FC_8G2P = 0x13, BFA_PCI_DEVICE_ID_FC_8G1P = 0x17, BFA_PCI_DEVICE_ID_CT = 0x14,
  BFA_PCI_DEVICE_ID_CT_FC = 0x21, BFA_PCI_DEVICE_ID_CT2 = 0x22
}
 
enum  { BFA_PCI_FCOE_SSDEVICE_ID = 0x14, BFA_PCI_CT2_SSID_FCoE = 0x22, BFA_PCI_CT2_SSID_ETH = 0x23, BFA_PCI_CT2_SSID_FC = 0x24 }
 
enum  bfa_port_speed {
  BFA_PORT_SPEED_UNKNOWN = 0, BFA_PORT_SPEED_1GBPS = 1, BFA_PORT_SPEED_2GBPS = 2, BFA_PORT_SPEED_4GBPS = 4,
  BFA_PORT_SPEED_8GBPS = 8, BFA_PORT_SPEED_10GBPS = 10, BFA_PORT_SPEED_16GBPS = 16, BFA_PORT_SPEED_AUTO = 0xf
}
 
enum  { BFA_BOOT_BOOTLUN_MAX = 4, BFA_PREBOOT_BOOTLUN_MAX = 8 }
 
enum  bfa_boot_bootopt { BFA_BOOT_AUTO_DISCOVER = 0, BFA_BOOT_STORED_BLUN = 1, BFA_BOOT_FIRST_LUN = 2, BFA_BOOT_PBC = 3 }
 
enum  bfa_mode_s { BFA_MODE_HBA = 1, BFA_MODE_CNA = 2, BFA_MODE_NIC = 3 }
 
enum  bfa_defs_sfp_media_e {
  BFA_SFP_MEDIA_UNKNOWN = 0x00, BFA_SFP_MEDIA_CU = 0x01, BFA_SFP_MEDIA_LW = 0x02, BFA_SFP_MEDIA_SW = 0x03,
  BFA_SFP_MEDIA_EL = 0x04, BFA_SFP_MEDIA_UNSUPPORT = 0x05
}
 
enum  {
  SFP_XMTR_TECH_CU = (1 << 0), SFP_XMTR_TECH_CP = (1 << 1), SFP_XMTR_TECH_CA = (1 << 2), SFP_XMTR_TECH_LL = (1 << 3),
  SFP_XMTR_TECH_SL = (1 << 4), SFP_XMTR_TECH_SN = (1 << 5), SFP_XMTR_TECH_EL_INTRA = (1 << 6), SFP_XMTR_TECH_EL_INTER = (1 << 7),
  SFP_XMTR_TECH_LC = (1 << 8), SFP_XMTR_TECH_SA = (1 << 9)
}
 
enum  bfa_flash_part_type {
  BFA_FLASH_PART_OPTROM = 1, BFA_FLASH_PART_FWIMG = 2, BFA_FLASH_PART_FWCFG = 3, BFA_FLASH_PART_DRV = 4,
  BFA_FLASH_PART_BOOT = 5, BFA_FLASH_PART_ASIC = 6, BFA_FLASH_PART_MFG = 7, BFA_FLASH_PART_OPTROM2 = 8,
  BFA_FLASH_PART_VPD = 9, BFA_FLASH_PART_PBC = 10, BFA_FLASH_PART_BOOTOVL = 11, BFA_FLASH_PART_LOG = 12,
  BFA_FLASH_PART_PXECFG = 13, BFA_FLASH_PART_PXEOVL = 14, BFA_FLASH_PART_PORTCFG = 15, BFA_FLASH_PART_ASICBK = 16
}
 
enum  bfa_phy_status_e { BFA_PHY_STATUS_GOOD = 0, BFA_PHY_STATUS_NOT_PRESENT = 1, BFA_PHY_STATUS_BAD = 2 }
 

Macro Definition Documentation

#define BFA_ABLK_MAX   2

Definition at line 729 of file bfa_defs.h.

#define BFA_ABLK_MAX_PFS   16

Definition at line 728 of file bfa_defs.h.

#define BFA_ABLK_MAX_PORTS   2

Definition at line 727 of file bfa_defs.h.

#define bfa_asic_id_cb (   __d)
Value:

Definition at line 619 of file bfa_defs.h.

#define bfa_asic_id_ct (   __d)
Value:

Definition at line 622 of file bfa_defs.h.

#define bfa_asic_id_ct2 (   __d)    ((__d) == BFA_PCI_DEVICE_ID_CT2)

Definition at line 625 of file bfa_defs.h.

#define bfa_asic_id_ctc (   __d)    (bfa_asic_id_ct(__d) || bfa_asic_id_ct2(__d))

Definition at line 626 of file bfa_defs.h.

#define bfa_boolean_t   enum bfa_boolean

Definition at line 215 of file bfa_defs.h.

#define BFA_CM_CNA   0x02

Definition at line 554 of file bfa_defs.h.

#define BFA_CM_FC16G   0x08

Definition at line 556 of file bfa_defs.h.

#define BFA_CM_HBA   0x01

Definition at line 553 of file bfa_defs.h.

#define BFA_CM_MEZZ   0x20

Definition at line 558 of file bfa_defs.h.

#define BFA_CM_NIC   0x04

Definition at line 555 of file bfa_defs.h.

#define BFA_CM_SRIOV   0x10

Definition at line 557 of file bfa_defs.h.

#define bfa_eproto_status_t   enum bfa_eproto_status

Definition at line 209 of file bfa_defs.h.

#define BFA_FLASH_PART_ENTRY_SIZE   32 /* partition entry size */

Definition at line 1079 of file bfa_defs.h.

#define BFA_FLASH_PART_MAX   32 /* maximal # of partitions */

Definition at line 1080 of file bfa_defs.h.

#define BFA_MFG_CHKSUM_SIZE   16

Definition at line 537 of file bfa_defs.h.

#define BFA_MFG_IC_ETH   0x02

Definition at line 548 of file bfa_defs.h.

#define BFA_MFG_IC_FC   0x01

Definition at line 547 of file bfa_defs.h.

#define bfa_mfg_increment_wwn_mac (   m,
  i 
)
Value:
do { \
u32 t = ((u32)(m)[0] << 16) | ((u32)(m)[1] << 8) | \
(u32)(m)[2]; \
t += (i); \
(m)[0] = (t >> 16) & 0xFF; \
(m)[1] = (t >> 8) & 0xFF; \
(m)[2] = t & 0xFF; \
} while (0)

Definition at line 77 of file bfa_defs.h.

#define bfa_mfg_is_mezz (   type)
Value:

Definition at line 56 of file bfa_defs.h.

#define bfa_mfg_is_old_wwn_mac_model (   type)
Value:

Definition at line 67 of file bfa_defs.h.

#define BFA_MFG_PARTNUM_SIZE   14

Definition at line 539 of file bfa_defs.h.

#define BFA_MFG_SERIALNUM_SIZE   11

Definition at line 24 of file bfa_defs.h.

#define BFA_MFG_SUPPLIER_ID_SIZE   10

Definition at line 540 of file bfa_defs.h.

#define BFA_MFG_SUPPLIER_PARTNUM_SIZE   20

Definition at line 541 of file bfa_defs.h.

#define BFA_MFG_SUPPLIER_REVISION_SIZE   4

Definition at line 543 of file bfa_defs.h.

#define BFA_MFG_SUPPLIER_SERIALNUM_SIZE   20

Definition at line 542 of file bfa_defs.h.

#define BFA_MFG_VPD_LEN   512

Definition at line 90 of file bfa_defs.h.

#define BFA_PCI_ACCESS_RANGES   1

Definition at line 642 of file bfa_defs.h.

#define bfa_port_speed_t   enum bfa_port_speed

Definition at line 658 of file bfa_defs.h.

#define BFA_SFP_SCN_FAILED   3

Definition at line 787 of file bfa_defs.h.

#define BFA_SFP_SCN_INSERTED   1

Definition at line 785 of file bfa_defs.h.

#define BFA_SFP_SCN_POM   2

Definition at line 786 of file bfa_defs.h.

#define BFA_SFP_SCN_REMOVED   0

Definition at line 784 of file bfa_defs.h.

#define BFA_SFP_SCN_UNSUPPORT   4

Definition at line 788 of file bfa_defs.h.

#define BFA_SFP_SCN_VALID   5

Definition at line 789 of file bfa_defs.h.

#define bfa_status_t   enum bfa_status

Definition at line 203 of file bfa_defs.h.

#define BFA_STRING_32   32

Definition at line 217 of file bfa_defs.h.

#define BFA_VERSION_LEN   64

Definition at line 218 of file bfa_defs.h.

#define BOOT_CFG_REV1   1

Definition at line 665 of file bfa_defs.h.

#define BOOT_CFG_VLAN   1

Definition at line 666 of file bfa_defs.h.

#define LB_PATTERN_DEFAULT   0xB5B5B5B5

Definition at line 1126 of file bfa_defs.h.

#define QTEST_CNT_DEFAULT   10

Definition at line 1127 of file bfa_defs.h.

#define QTEST_PAT_DEFAULT   LB_PATTERN_DEFAULT

Definition at line 1128 of file bfa_defs.h.

#define SFP_DIAGMON_SIZE   10 /* num bytes of diag monitor data */

Definition at line 781 of file bfa_defs.h.

#define STRSZ (   _n)    (((_n) + 4) & ~3)

Definition at line 25 of file bfa_defs.h.

Enumeration Type Documentation

anonymous enum
Enumerator:
BFA_MFG_TYPE_CB_MAX 
BFA_MFG_TYPE_FC8P2 
BFA_MFG_TYPE_FC8P1 
BFA_MFG_TYPE_FC4P2 
BFA_MFG_TYPE_FC4P1 
BFA_MFG_TYPE_CNA10P2 
BFA_MFG_TYPE_CNA10P1 
BFA_MFG_TYPE_JAYHAWK 
BFA_MFG_TYPE_WANCHESE 
BFA_MFG_TYPE_ASTRA 
BFA_MFG_TYPE_LIGHTNING_P0 
BFA_MFG_TYPE_LIGHTNING 
BFA_MFG_TYPE_PROWLER_F 
BFA_MFG_TYPE_PROWLER_N 
BFA_MFG_TYPE_PROWLER_C 
BFA_MFG_TYPE_PROWLER_D 
BFA_MFG_TYPE_CHINOOK 
BFA_MFG_TYPE_INVALID 

Definition at line 30 of file bfa_defs.h.

anonymous enum
Enumerator:
BFA_MFG_VPD_UNKNOWN 
BFA_MFG_VPD_IBM 
BFA_MFG_VPD_HP 
BFA_MFG_VPD_DELL 
BFA_MFG_VPD_PCI_IBM 
BFA_MFG_VPD_PCI_HP 
BFA_MFG_VPD_PCI_DELL 
BFA_MFG_VPD_PCI_BRCD 

Definition at line 95 of file bfa_defs.h.

anonymous enum
Enumerator:
BFA_ADAPTER_SERIAL_NUM_LEN 
BFA_ADAPTER_MODEL_NAME_LEN 
BFA_ADAPTER_MODEL_DESCR_LEN 
BFA_ADAPTER_MFG_NAME_LEN 
BFA_ADAPTER_SYM_NAME_LEN 
BFA_ADAPTER_OS_TYPE_LEN 

Definition at line 227 of file bfa_defs.h.

anonymous enum
Enumerator:
BFA_IOC_DRIVER_LEN 
BFA_IOC_CHIP_REV_LEN 

Definition at line 276 of file bfa_defs.h.

anonymous enum
Enumerator:
BFA_PCI_VENDOR_ID_BROCADE 
BFA_PCI_DEVICE_ID_FC_8G2P 
BFA_PCI_DEVICE_ID_FC_8G1P 
BFA_PCI_DEVICE_ID_CT 
BFA_PCI_DEVICE_ID_CT_FC 
BFA_PCI_DEVICE_ID_CT2 

Definition at line 610 of file bfa_defs.h.

anonymous enum
Enumerator:
BFA_PCI_FCOE_SSDEVICE_ID 
BFA_PCI_CT2_SSID_FCoE 
BFA_PCI_CT2_SSID_ETH 
BFA_PCI_CT2_SSID_FC 

Definition at line 632 of file bfa_defs.h.

anonymous enum
Enumerator:
BFA_BOOT_BOOTLUN_MAX 
BFA_PREBOOT_BOOTLUN_MAX 

Definition at line 660 of file bfa_defs.h.

anonymous enum
Enumerator:
SFP_XMTR_TECH_CU 
SFP_XMTR_TECH_CP 
SFP_XMTR_TECH_CA 
SFP_XMTR_TECH_LL 
SFP_XMTR_TECH_SL 
SFP_XMTR_TECH_SN 
SFP_XMTR_TECH_EL_INTRA 
SFP_XMTR_TECH_EL_INTER 
SFP_XMTR_TECH_LC 
SFP_XMTR_TECH_SA 

Definition at line 803 of file bfa_defs.h.

Enumerator:
BFA_ADAPTER_AEN_ADD 
BFA_ADAPTER_AEN_REMOVE 

Definition at line 400 of file bfa_defs.h.

Enumerator:
BFA_AEN_CAT_ADAPTER 
BFA_AEN_CAT_PORT 
BFA_AEN_CAT_LPORT 
BFA_AEN_CAT_RPORT 
BFA_AEN_CAT_ITNIM 
BFA_AEN_CAT_AUDIT 
BFA_AEN_CAT_IOC 

Definition at line 389 of file bfa_defs.h.

Enumerator:
BFA_AUDIT_AEN_AUTH_ENABLE 
BFA_AUDIT_AEN_AUTH_DISABLE 
BFA_AUDIT_AEN_FLASH_ERASE 
BFA_AUDIT_AEN_FLASH_UPDATE 

Definition at line 487 of file bfa_defs.h.

Enumerator:
BFA_FALSE 
BFA_TRUE 

Definition at line 211 of file bfa_defs.h.

Enumerator:
BFA_BOOT_AUTO_DISCOVER 
BFA_BOOT_STORED_BLUN 
BFA_BOOT_FIRST_LUN 
BFA_BOOT_PBC 

Definition at line 672 of file bfa_defs.h.

Enumerator:
BFA_SFP_MEDIA_UNKNOWN 
BFA_SFP_MEDIA_CU 
BFA_SFP_MEDIA_LW 
BFA_SFP_MEDIA_SW 
BFA_SFP_MEDIA_EL 
BFA_SFP_MEDIA_UNSUPPORT 

Definition at line 791 of file bfa_defs.h.

Enumerator:
BFA_DPORT_ST_DISABLED 
BFA_DPORT_ST_DISABLING 
BFA_DPORT_ST_ENABLING 
BFA_DPORT_ST_ENABLED 

Definition at line 523 of file bfa_defs.h.

Enumerator:
BFA_EPROTO_BAD_ACCEPT 
BFA_EPROTO_UNKNOWN_RSP 
BFA_EPROTO_BAD_ACCEPT 
BFA_EPROTO_UNKNOWN_RSP 

Definition at line 205 of file bfa_defs.h.

Enumerator:
BFA_FLASH_PART_OPTROM 
BFA_FLASH_PART_FWIMG 
BFA_FLASH_PART_FWCFG 
BFA_FLASH_PART_DRV 
BFA_FLASH_PART_BOOT 
BFA_FLASH_PART_ASIC 
BFA_FLASH_PART_MFG 
BFA_FLASH_PART_OPTROM2 
BFA_FLASH_PART_VPD 
BFA_FLASH_PART_PBC 
BFA_FLASH_PART_BOOTOVL 
BFA_FLASH_PART_LOG 
BFA_FLASH_PART_PXECFG 
BFA_FLASH_PART_PXEOVL 
BFA_FLASH_PART_PORTCFG 
BFA_FLASH_PART_ASICBK 

Definition at line 1082 of file bfa_defs.h.

Enumerator:
BFA_IOC_AEN_HBGOOD 
BFA_IOC_AEN_HBFAIL 
BFA_IOC_AEN_ENABLE 
BFA_IOC_AEN_DISABLE 
BFA_IOC_AEN_FWMISMATCH 
BFA_IOC_AEN_FWCFG_ERROR 
BFA_IOC_AEN_INVALID_VENDOR 
BFA_IOC_AEN_INVALID_NWWN 
BFA_IOC_AEN_INVALID_PWWN 

Definition at line 501 of file bfa_defs.h.

Enumerator:
BFA_IOC_UNINIT 

IOC is in uninit state

BFA_IOC_RESET 

IOC is in reset state

BFA_IOC_SEMWAIT 

Waiting for IOC h/w semaphore

BFA_IOC_HWINIT 

IOC h/w is being initialized

BFA_IOC_GETATTR 

IOC is being configured

BFA_IOC_OPERATIONAL 

IOC is operational

BFA_IOC_INITFAIL 

IOC hardware failure

BFA_IOC_FAIL 

IOC heart-beat failure

BFA_IOC_DISABLING 

IOC is being disabled

BFA_IOC_DISABLED 

IOC is disabled

BFA_IOC_FWMISMATCH 

IOC f/w different from drivers

BFA_IOC_ENABLING 

IOC is being enabled

BFA_IOC_HWFAIL 

PCI mapping doesn't exist

BFA_IOC_UNINIT 
BFA_IOC_RESET 
BFA_IOC_SEMWAIT 
BFA_IOC_HWINIT 
BFA_IOC_GETATTR 
BFA_IOC_OPERATIONAL 
BFA_IOC_INITFAIL 
BFA_IOC_FAIL 
BFA_IOC_DISABLING 
BFA_IOC_DISABLED 
BFA_IOC_FWMISMATCH 
BFA_IOC_ENABLING 
BFA_IOC_HWFAIL 
BFA_IOC_ACQ_ADDR 

Definition at line 309 of file bfa_defs.h.

Enumerator:
BFA_IOC_TYPE_FC 
BFA_IOC_TYPE_FCoE 
BFA_IOC_TYPE_LL 

Definition at line 364 of file bfa_defs.h.

Enumerator:
BFA_ITNIM_AEN_ONLINE 
BFA_ITNIM_AEN_OFFLINE 
BFA_ITNIM_AEN_DISCONNECT 

Definition at line 472 of file bfa_defs.h.

Enumerator:
BFA_LPORT_AEN_NEW 
BFA_LPORT_AEN_DELETE 
BFA_LPORT_AEN_ONLINE 
BFA_LPORT_AEN_OFFLINE 
BFA_LPORT_AEN_DISCONNECT 
BFA_LPORT_AEN_NEW_PROP 
BFA_LPORT_AEN_DELETE_PROP 
BFA_LPORT_AEN_NEW_STANDARD 
BFA_LPORT_AEN_DELETE_STANDARD 
BFA_LPORT_AEN_NPIV_DUP_WWN 
BFA_LPORT_AEN_NPIV_FABRIC_MAX 
BFA_LPORT_AEN_NPIV_UNKNOWN 

Definition at line 448 of file bfa_defs.h.

enum bfa_mode_s
Enumerator:
BFA_MODE_HBA 
BFA_MODE_CNA 
BFA_MODE_NIC 

Definition at line 732 of file bfa_defs.h.

Enumerator:
BFA_PHY_STATUS_GOOD 
BFA_PHY_STATUS_NOT_PRESENT 
BFA_PHY_STATUS_BAD 

Definition at line 1176 of file bfa_defs.h.

Enumerator:
BFA_PORT_AEN_ONLINE 
BFA_PORT_AEN_OFFLINE 
BFA_PORT_AEN_RLIR 
BFA_PORT_AEN_SFP_INSERT 
BFA_PORT_AEN_SFP_REMOVE 
BFA_PORT_AEN_SFP_POM 
BFA_PORT_AEN_ENABLE 
BFA_PORT_AEN_DISABLE 
BFA_PORT_AEN_AUTH_ON 
BFA_PORT_AEN_AUTH_OFF 
BFA_PORT_AEN_DISCONNECT 
BFA_PORT_AEN_QOS_NEG 
BFA_PORT_AEN_FABRIC_NAME_CHANGE 
BFA_PORT_AEN_SFP_ACCESS_ERROR 
BFA_PORT_AEN_SFP_UNSUPPORT 

Definition at line 412 of file bfa_defs.h.

Enumerator:
BFA_PORT_AEN_SFP_POM_GREEN 
BFA_PORT_AEN_SFP_POM_AMBER 
BFA_PORT_AEN_SFP_POM_RED 
BFA_PORT_AEN_SFP_POM_MAX 

Definition at line 430 of file bfa_defs.h.

Enumerator:
BFA_PORT_SPEED_UNKNOWN 
BFA_PORT_SPEED_1GBPS 
BFA_PORT_SPEED_2GBPS 
BFA_PORT_SPEED_4GBPS 
BFA_PORT_SPEED_8GBPS 
BFA_PORT_SPEED_10GBPS 
BFA_PORT_SPEED_16GBPS 
BFA_PORT_SPEED_AUTO 

Definition at line 648 of file bfa_defs.h.

enum bfa_status
Enumerator:
BFA_STATUS_OK 
BFA_STATUS_FAILED 
BFA_STATUS_EINVAL 
BFA_STATUS_ENOMEM 
BFA_STATUS_ENOSYS 
BFA_STATUS_ETIMER 
BFA_STATUS_EPROTOCOL 
BFA_STATUS_ENOFCPORTS 
BFA_STATUS_NOFLASH 
BFA_STATUS_BADFLASH 
BFA_STATUS_SFP_UNSUPP 
BFA_STATUS_UNKNOWN_VFID 
BFA_STATUS_DATACORRUPTED 
BFA_STATUS_DEVBUSY 
BFA_STATUS_ABORTED 
BFA_STATUS_NODEV 
BFA_STATUS_HDMA_FAILED 
BFA_STATUS_FLASH_BAD_LEN 
BFA_STATUS_UNKNOWN_LWWN 
BFA_STATUS_UNKNOWN_RWWN 
BFA_STATUS_FCPT_LS_RJT 
BFA_STATUS_VPORT_EXISTS 
BFA_STATUS_VPORT_MAX 
BFA_STATUS_UNSUPP_SPEED 
BFA_STATUS_INVLD_DFSZ 
BFA_STATUS_CNFG_FAILED 
BFA_STATUS_CMD_NOTSUPP 
BFA_STATUS_NO_ADAPTER 
BFA_STATUS_LINKDOWN 
BFA_STATUS_FABRIC_RJT 
BFA_STATUS_UNKNOWN_VWWN 
BFA_STATUS_NSLOGIN_FAILED 
BFA_STATUS_NO_RPORTS 
BFA_STATUS_NSQUERY_FAILED 
BFA_STATUS_PORT_OFFLINE 
BFA_STATUS_RPORT_OFFLINE 
BFA_STATUS_TGTOPEN_FAILED 
BFA_STATUS_BAD_LUNS 
BFA_STATUS_IO_FAILURE 
BFA_STATUS_NO_FABRIC 
BFA_STATUS_EBADF 
BFA_STATUS_EINTR 
BFA_STATUS_EIO 
BFA_STATUS_ENOTTY 
BFA_STATUS_ENXIO 
BFA_STATUS_EFOPEN 
BFA_STATUS_VPORT_WWN_BP 
BFA_STATUS_PORT_NOT_DISABLED 
BFA_STATUS_BADFRMHDR 
BFA_STATUS_BADFRMSZ 
BFA_STATUS_MISSINGFRM 
BFA_STATUS_LINKTIMEOUT 
BFA_STATUS_NO_FCPIM_NEXUS 
BFA_STATUS_CHECKSUM_FAIL 
BFA_STATUS_GZME_FAILED 
BFA_STATUS_SCSISTART_REQD 
BFA_STATUS_IOC_FAILURE 
BFA_STATUS_INVALID_WWN 
BFA_STATUS_MISMATCH 
BFA_STATUS_IOC_ENABLED 
BFA_STATUS_ADAPTER_ENABLED 
BFA_STATUS_IOC_NON_OP 
BFA_STATUS_ADDR_MAP_FAILURE 
BFA_STATUS_SAME_NAME 
BFA_STATUS_PENDING 
BFA_STATUS_8G_SPD 
BFA_STATUS_4G_SPD 
BFA_STATUS_AD_IS_ENABLE 
BFA_STATUS_EINVAL_TOV 
BFA_STATUS_EINVAL_QDEPTH 
BFA_STATUS_VERSION_FAIL 
BFA_STATUS_DIAG_BUSY 
BFA_STATUS_BEACON_ON 
BFA_STATUS_BEACON_OFF 
BFA_STATUS_LBEACON_ON 
BFA_STATUS_LBEACON_OFF 
BFA_STATUS_PORT_NOT_INITED 
BFA_STATUS_RPSC_ENABLED 
BFA_STATUS_ENOFSAVE 
BFA_STATUS_BAD_FILE 
BFA_STATUS_RLIM_EN 
BFA_STATUS_RLIM_DIS 
BFA_STATUS_IOC_DISABLED 
BFA_STATUS_ADAPTER_DISABLED 
BFA_STATUS_BIOS_DISABLED 
BFA_STATUS_AUTH_ENABLED 
BFA_STATUS_AUTH_DISABLED 
BFA_STATUS_ERROR_TRL_ENABLED 
BFA_STATUS_ERROR_QOS_ENABLED 
BFA_STATUS_NO_SFP_DEV 
BFA_STATUS_MEMTEST_FAILED 
BFA_STATUS_INVALID_DEVID 
BFA_STATUS_QOS_ENABLED 
BFA_STATUS_QOS_DISABLED 
BFA_STATUS_INCORRECT_DRV_CONFIG 
BFA_STATUS_REG_FAIL 
BFA_STATUS_IM_INV_CODE 
BFA_STATUS_IM_INV_VLAN 
BFA_STATUS_IM_INV_ADAPT_NAME 
BFA_STATUS_IM_LOW_RESOURCES 
BFA_STATUS_IM_VLANID_IS_PVID 
BFA_STATUS_IM_VLANID_EXISTS 
BFA_STATUS_IM_FW_UPDATE_FAIL 
BFA_STATUS_PORTLOG_ENABLED 
BFA_STATUS_PORTLOG_DISABLED 
BFA_STATUS_FILE_NOT_FOUND 
BFA_STATUS_QOS_FC_ONLY 
BFA_STATUS_RLIM_FC_ONLY 
BFA_STATUS_CT_SPD 
BFA_STATUS_LEDTEST_OP 
BFA_STATUS_CEE_NOT_DN 
BFA_STATUS_10G_SPD 
BFA_STATUS_IM_INV_TEAM_NAME 
BFA_STATUS_IM_DUP_TEAM_NAME 
BFA_STATUS_IM_ADAPT_ALREADY_IN_TEAM 
BFA_STATUS_IM_ADAPT_HAS_VLANS 
BFA_STATUS_IM_PVID_MISMATCH 
BFA_STATUS_IM_LINK_SPEED_MISMATCH 
BFA_STATUS_IM_MTU_MISMATCH 
BFA_STATUS_IM_RSS_MISMATCH 
BFA_STATUS_IM_HDS_MISMATCH 
BFA_STATUS_IM_OFFLOAD_MISMATCH 
BFA_STATUS_IM_PORT_PARAMS 
BFA_STATUS_IM_PORT_NOT_IN_TEAM 
BFA_STATUS_IM_CANNOT_REM_PRI 
BFA_STATUS_IM_MAX_PORTS_REACHED 
BFA_STATUS_IM_LAST_PORT_DELETE 
BFA_STATUS_IM_NO_DRIVER 
BFA_STATUS_IM_MAX_VLANS_REACHED 
BFA_STATUS_TOMCAT_SPD_NOT_ALLOWED 
BFA_STATUS_NO_MINPORT_DRIVER 
BFA_STATUS_CARD_TYPE_MISMATCH 
BFA_STATUS_BAD_ASICBLK 
BFA_STATUS_NO_DRIVER 
BFA_STATUS_INVALID_MAC 
BFA_STATUS_IM_NO_VLAN 
BFA_STATUS_IM_ETH_LB_FAILED 
BFA_STATUS_IM_PVID_REMOVE 
BFA_STATUS_IM_PVID_EDIT 
BFA_STATUS_CNA_NO_BOOT 
BFA_STATUS_IM_PVID_NON_ZERO 
BFA_STATUS_IM_INETCFG_LOCK_FAILED 
BFA_STATUS_IM_GET_INETCFG_FAILED 
BFA_STATUS_IM_NOT_BOUND 
BFA_STATUS_INSUFFICIENT_PERMS 
BFA_STATUS_IM_INV_VLAN_NAME 
BFA_STATUS_CMD_NOTSUPP_CNA 
BFA_STATUS_IM_PASSTHRU_EDIT 
BFA_STATUS_IM_BIND_FAILED 
BFA_STATUS_IM_UNBIND_FAILED 
BFA_STATUS_IM_PORT_IN_TEAM 
BFA_STATUS_IM_VLAN_NOT_FOUND 
BFA_STATUS_IM_TEAM_NOT_FOUND 
BFA_STATUS_IM_TEAM_CFG_NOT_ALLOWED 
BFA_STATUS_PBC 
BFA_STATUS_DEVID_MISSING 
BFA_STATUS_BAD_FWCFG 
BFA_STATUS_CREATE_FILE 
BFA_STATUS_INVALID_VENDOR 
BFA_STATUS_SFP_NOT_READY 
BFA_STATUS_FLASH_UNINIT 
BFA_STATUS_FLASH_EMPTY 
BFA_STATUS_FLASH_CKFAIL 
BFA_STATUS_TRUNK_UNSUPP 
BFA_STATUS_TRUNK_ENABLED 
BFA_STATUS_TRUNK_DISABLED 
BFA_STATUS_TRUNK_ERROR_TRL_ENABLED 
BFA_STATUS_BOOT_CODE_UPDATED 
BFA_STATUS_BOOT_VERSION 
BFA_STATUS_CARDTYPE_MISSING 
BFA_STATUS_INVALID_CARDTYPE 
BFA_STATUS_NO_TOPOLOGY_FOR_CNA 
BFA_STATUS_IM_VLAN_OVER_TEAM_DELETE_FAILED 
BFA_STATUS_ETHBOOT_ENABLED 
BFA_STATUS_ETHBOOT_DISABLED 
BFA_STATUS_IOPROFILE_OFF 
BFA_STATUS_NO_PORT_INSTANCE 
BFA_STATUS_BOOT_CODE_TIMEDOUT 
BFA_STATUS_NO_VPORT_LOCK 
BFA_STATUS_VPORT_NO_CNFG 
BFA_STATUS_MAX_VAL 
BFA_STATUS_OK 
BFA_STATUS_FAILED 
BFA_STATUS_EINVAL 
BFA_STATUS_ENOMEM 
BFA_STATUS_ETIMER 
BFA_STATUS_EPROTOCOL 
BFA_STATUS_SFP_UNSUPP 
BFA_STATUS_UNKNOWN_VFID 
BFA_STATUS_DATACORRUPTED 
BFA_STATUS_DEVBUSY 
BFA_STATUS_HDMA_FAILED 
BFA_STATUS_FLASH_BAD_LEN 
BFA_STATUS_UNKNOWN_LWWN 
BFA_STATUS_UNKNOWN_RWWN 
BFA_STATUS_VPORT_EXISTS 
BFA_STATUS_VPORT_MAX 
BFA_STATUS_UNSUPP_SPEED 
BFA_STATUS_INVLD_DFSZ 
BFA_STATUS_CMD_NOTSUPP 
BFA_STATUS_FABRIC_RJT 
BFA_STATUS_UNKNOWN_VWWN 
BFA_STATUS_PORT_OFFLINE 
BFA_STATUS_VPORT_WWN_BP 
BFA_STATUS_PORT_NOT_DISABLED 
BFA_STATUS_NO_FCPIM_NEXUS 
BFA_STATUS_IOC_FAILURE 
BFA_STATUS_INVALID_WWN 
BFA_STATUS_ADAPTER_ENABLED 
BFA_STATUS_IOC_NON_OP 
BFA_STATUS_VERSION_FAIL 
BFA_STATUS_DIAG_BUSY 
BFA_STATUS_BEACON_ON 
BFA_STATUS_ENOFSAVE 
BFA_STATUS_IOC_DISABLED 
BFA_STATUS_ERROR_TRL_ENABLED 
BFA_STATUS_ERROR_QOS_ENABLED 
BFA_STATUS_NO_SFP_DEV 
BFA_STATUS_MEMTEST_FAILED 
BFA_STATUS_LEDTEST_OP 
BFA_STATUS_INVALID_MAC 
BFA_STATUS_CMD_NOTSUPP_CNA 
BFA_STATUS_PBC 
BFA_STATUS_BAD_FWCFG 
BFA_STATUS_INVALID_VENDOR 
BFA_STATUS_SFP_NOT_READY 
BFA_STATUS_TRUNK_ENABLED 
BFA_STATUS_TRUNK_DISABLED 
BFA_STATUS_IOPROFILE_OFF 
BFA_STATUS_PHY_NOT_PRESENT 
BFA_STATUS_FEATURE_NOT_SUPPORTED 
BFA_STATUS_ENTRY_EXISTS 
BFA_STATUS_ENTRY_NOT_EXISTS 
BFA_STATUS_NO_CHANGE 
BFA_STATUS_FAA_ENABLED 
BFA_STATUS_FAA_DISABLED 
BFA_STATUS_FAA_ACQUIRED 
BFA_STATUS_FAA_ACQ_ADDR 
BFA_STATUS_ERROR_TRUNK_ENABLED 
BFA_STATUS_MAX_ENTRY_REACHED 
BFA_STATUS_TOPOLOGY_LOOP 
BFA_STATUS_LOOP_UNSUPP_MEZZ 
BFA_STATUS_INVALID_BW 
BFA_STATUS_QOS_BW_INVALID 
BFA_STATUS_DPORT_ENABLED 
BFA_STATUS_DPORT_DISABLED 
BFA_STATUS_CMD_NOTSUPP_MEZZ 
BFA_STATUS_FRU_NOT_PRESENT 
BFA_STATUS_DPORT_ERR 
BFA_STATUS_MAX_VAL 

Definition at line 124 of file bfa_defs.h.