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

Go to the source code of this file.

Data Structures

struct  bfi_mhdr_s
 
union  bfi_addr_u
 
struct  bfi_sge_s
 
struct  bfi_alen_s
 
struct  bfi_sgpg_s
 
struct  bfi_msg_s
 
struct  bfi_mbmsg_s
 
struct  bfi_ioc_getattr_req_s
 
struct  bfi_ioc_attr_s
 
struct  bfi_ioc_getattr_reply_s
 
struct  bfi_ioc_image_hdr_s
 
struct  bfi_ioc_hbeat_s
 
struct  bfi_ioc_ctrl_req_s
 
struct  bfi_ioc_ctrl_reply_s
 
union  bfi_ioc_h2i_msg_u
 
union  bfi_ioc_i2h_msg_u
 
struct  bfi_pbc_blun_s
 
struct  bfi_pbc_vport_s
 
struct  bfi_pbc_s
 
struct  bfi_msgq_mhdr_s
 
struct  bfi_msgq_s
 
struct  bfi_msgq_cfg_req_s
 
struct  bfi_msgq_cfg_rsp_s
 
struct  bfi_msgq_h2i_db_s
 
struct  bfi_msgq_i2h_db_s
 
struct  bfi_port_generic_req_s
 
struct  bfi_port_generic_rsp_s
 
struct  bfi_port_get_stats_req_s
 
union  bfi_port_h2i_msg_u
 
union  bfi_port_i2h_msg_u
 
struct  bfi_ablk_h2i_query_s
 
struct  bfi_ablk_h2i_cfg_req_s
 
struct  bfi_ablk_h2i_pf_req_s
 
struct  bfi_ablk_h2i_optrom_s
 
struct  bfi_ablk_i2h_rsp_s
 
struct  bfi_cee_reset_stats_s
 
struct  bfi_cee_get_req_s
 
struct  bfi_cee_get_rsp_s
 
struct  bfi_cee_stats_rsp_s
 
union  bfi_cee_i2h_msg_u
 
struct  bfi_sfp_scn_s
 
struct  bfi_sfp_req_s
 
struct  bfi_sfp_rsp_s
 
struct  bfi_flash_query_req_s
 
struct  bfi_flash_erase_req_s
 
struct  bfi_flash_write_req_s
 
struct  bfi_flash_read_req_s
 
struct  bfi_flash_query_rsp_s
 
struct  bfi_flash_read_rsp_s
 
struct  bfi_flash_write_rsp_s
 
struct  bfi_flash_erase_rsp_s
 
struct  bfi_flash_event_s
 
struct  bfi_diag_lb_req_s
 
struct  bfi_diag_lb_rsp_s
 
struct  bfi_diag_fwping_req_s
 
struct  bfi_diag_fwping_rsp_s
 
struct  bfi_diag_ts_req_s
 
struct  bfi_diag_ledtest_req_s
 
struct  bfi_diag_ledtest_rsp_s
 
struct  bfi_diag_portbeacon_req_s
 
struct  bfi_diag_portbeacon_rsp_s
 
struct  bfi_diag_qtest_req_s
 
struct  bfi_diag_dport_req_s
 
struct  bfi_phy_query_req_s
 
struct  bfi_phy_stats_req_s
 
struct  bfi_phy_write_req_s
 
struct  bfi_phy_read_req_s
 
struct  bfi_phy_query_rsp_s
 
struct  bfi_phy_stats_rsp_s
 
struct  bfi_phy_read_rsp_s
 
struct  bfi_phy_write_rsp_s
 
struct  bfi_fru_write_req_s
 
struct  bfi_fru_read_req_s
 
struct  bfi_fru_rsp_s
 

Macros

#define BFI_MEM_DMA_SEG_SZ   (131072)
 
#define BFI_MEM_DMA_NSEGS(_num_reqs, _req_sz)
 
#define BFI_MEM_NREQS_SEG(_rqsz)   (BFI_MEM_DMA_SEG_SZ / (_rqsz))
 
#define BFI_MEM_SEG_FROM_TAG(_tag, _rqsz)   ((_tag) / BFI_MEM_NREQS_SEG(_rqsz))
 
#define BFI_MEM_SEG_REQ_OFFSET(_tag, _sz)   ((_tag) - (BFI_MEM_SEG_FROM_TAG(_tag, _sz) * BFI_MEM_NREQS_SEG(_sz)))
 
#define BFI_FLASH_CHUNK_SZ   256 /* Flash chunk size */
 
#define BFI_FLASH_CHUNK_SZ_WORDS   (BFI_FLASH_CHUNK_SZ/sizeof(u32))
 
#define bfi_fn_lpu(__fn, __lpu)   ((__fn) << 1 | (__lpu))
 
#define bfi_mhdr_2_fn(_mh)   ((_mh)->mtag.h2i.fn_lpu >> 1)
 
#define bfi_h2i_set(_mh, _mc, _op, _fn_lpu)
 
#define bfi_i2h_set(_mh, _mc, _op, _i2htok)
 
#define BFI_I2H_OPCODE_BASE   128
 
#define BFA_I2HM(_x)   ((_x) + BFI_I2H_OPCODE_BASE)
 
#define BFI_SGE_INLINE   1
 
#define BFI_SGE_INLINE_MAX   (BFI_SGE_INLINE + 1)
 
#define BFI_SGPG_DATA_SGES   7
 
#define BFI_SGPG_SGES_MAX   (BFI_SGPG_DATA_SGES + 1)
 
#define BFI_SGPG_RSVD_WD_LEN   8
 
#define BFI_IO_MAX   (2000)
 
#define BFI_IOIM_SNSLEN   (256)
 
#define BFI_IOIM_SNSBUF_SEGS   BFI_MEM_DMA_NSEGS(BFI_IO_MAX, BFI_IOIM_SNSLEN)
 
#define BFI_LMSG_SZ   128
 
#define BFI_LMSG_PL_WSZ   ((BFI_LMSG_SZ - sizeof(struct bfi_mhdr_s)) / 4)
 
#define BFI_MBMSG_SZ   7
 
#define BFI_IOC_MAX_CQS   4
 
#define BFI_IOC_MAX_CQS_ASIC   8
 
#define BFI_IOC_MSGLEN_MAX   32 /* 32 bytes */
 
#define BFI_IOC_SMEM_PG0_CB   (0x40)
 
#define BFI_IOC_SMEM_PG0_CT   (0x180)
 
#define BFI_IOC_FWSTATS_OFF   (0x6B40)
 
#define BFI_IOC_FWSTATS_SZ   (4096)
 
#define BFI_IOC_TRC_OFF   (0x4b00)
 
#define BFI_IOC_TRC_ENTS   256
 
#define BFI_IOC_FW_SIGNATURE   (0xbfadbfad)
 
#define BFI_IOC_MD5SUM_SZ   4
 
#define BFI_FWBOOT_DEVMODE_OFF   4
 
#define BFI_FWBOOT_TYPE_OFF   8
 
#define BFI_FWBOOT_ENV_OFF   12
 
#define BFI_FWBOOT_DEVMODE(__asic_gen, __asic_mode, __p0_mode, __p1_mode)
 
#define BFI_FWBOOT_TYPE_NORMAL   0
 
#define BFI_FWBOOT_TYPE_MEMTEST   2
 
#define BFI_FWBOOT_ENV_OS   0
 
#define BFI_IOC_ENDIAN_SIG   0x12345678
 
#define BFI_ADAPTER_GETP(__prop, __adap_prop)
 
#define BFI_ADAPTER_SETP(__prop, __val)   ((__val) << BFI_ADAPTER_ ## __prop ## _SH)
 
#define BFI_ADAPTER_IS_PROTO(__adap_type)   ((__adap_type) & BFI_ADAPTER_PROTO)
 
#define BFI_ADAPTER_IS_TTV(__adap_type)   ((__adap_type) & BFI_ADAPTER_TTV)
 
#define BFI_ADAPTER_IS_UNSUPP(__adap_type)   ((__adap_type) & BFI_ADAPTER_UNSUPP)
 
#define BFI_ADAPTER_IS_SPECIAL(__adap_type)
 
#define bfi_ioc_enable_req_t   struct bfi_ioc_ctrl_req_s;
 
#define bfi_ioc_disable_req_t   struct bfi_ioc_ctrl_req_s;
 
#define bfi_ioc_enable_reply_t   struct bfi_ioc_ctrl_reply_s;
 
#define bfi_ioc_disable_reply_t   struct bfi_ioc_ctrl_reply_s;
 
#define BFI_IOC_MSGSZ   8
 
#define BFI_PBC_MAX_BLUNS   8
 
#define BFI_PBC_MAX_VPORTS   16
 
#define BFI_PBC_PORT_DISABLED   2
 
#define BFI_MSGQ_FULL(_q)   (((_q->pi + 1) % _q->q_depth) == _q->ci)
 
#define BFI_MSGQ_EMPTY(_q)   (_q->pi == _q->ci)
 
#define BFI_MSGQ_UPDATE_CI(_q)   (_q->ci = (_q->ci + 1) % _q->q_depth)
 
#define BFI_MSGQ_UPDATE_PI(_q)   (_q->pi = (_q->pi + 1) % _q->q_depth)
 
#define BFI_MSGQ_FREE_CNT(_q)   ((_q->ci - _q->pi - 1) & (_q->q_depth - 1))
 
#define bfi_msgq_mhdr_set(_mh, _mc, _mid, _tok, _enet_id)
 
#define BFI_MSGQ_CMD_ENTRY_SIZE   (64) /* TBD */
 
#define BFI_MSGQ_RSP_ENTRY_SIZE   (64) /* TBD */
 
#define BFI_MSGQ_MSG_SIZE_MAX   (2048) /* TBD */
 
#define BFI_DIAG_MAX_SGES   2
 
#define BFI_DIAG_DMA_BUF_SZ   (2 * 1024)
 
#define BFI_BOOT_MEMTEST_RES_ADDR   0x900
 
#define BFI_BOOT_MEMTEST_RES_SIG   0xA0A1A2A3
 
#define bfi_diag_ts_rsp_t   struct bfi_diag_ts_req_s
 
#define bfi_diag_qtest_rsp_t   struct bfi_diag_qtest_req_s
 
#define bfi_diag_dport_rsp_t   struct bfi_diag_dport_req_s
 

Enumerations

enum  {
  BFI_SGE_DATA = 0, BFI_SGE_DATA_CPL = 1, BFI_SGE_DATA_LAST = 3, BFI_SGE_LINK = 2,
  BFI_SGE_PGDLEN = 2
}
 
enum  bfi_pcifn_class { BFI_PCIFN_CLASS_FC = 0x0c04, BFI_PCIFN_CLASS_ETH = 0x0200, BFI_PCIFN_CLASS_FC = 0x0c04, BFI_PCIFN_CLASS_ETH = 0x0200 }
 
enum  bfi_mclass {
  BFI_MC_IOC = 1, BFI_MC_DIAG = 2, BFI_MC_FLASH = 3, BFI_MC_CEE = 4,
  BFI_MC_FCPORT = 5, BFI_MC_IOCFC = 6, BFI_MC_LL = 7, BFI_MC_UF = 8,
  BFI_MC_FCXP = 9, BFI_MC_LPS = 10, BFI_MC_RPORT = 11, BFI_MC_ITNIM = 12,
  BFI_MC_IOIM_READ = 13, BFI_MC_IOIM_WRITE = 14, BFI_MC_IOIM_IO = 15, BFI_MC_IOIM = 16,
  BFI_MC_IOIM_IOCOM = 17, BFI_MC_TSKIM = 18, BFI_MC_SBOOT = 19, BFI_MC_IPFC = 20,
  BFI_MC_PORT = 21, BFI_MC_SFP = 22, BFI_MC_MSGQ = 23, BFI_MC_ENET = 24,
  BFI_MC_PHY = 25, BFI_MC_NBOOT = 26, BFI_MC_TIO_READ = 27, BFI_MC_TIO_WRITE = 28,
  BFI_MC_TIO_DATA_XFERED = 29, BFI_MC_TIO_IO = 30, BFI_MC_TIO = 31, BFI_MC_MFG = 32,
  BFI_MC_EDMA = 33, BFI_MC_MAX = 34, BFI_MC_IOC = 1, BFI_MC_DIAG = 2,
  BFI_MC_FLASH = 3, BFI_MC_CEE = 4, BFI_MC_FCPORT = 5, BFI_MC_IOCFC = 6,
  BFI_MC_ABLK = 7, BFI_MC_UF = 8, BFI_MC_FCXP = 9, BFI_MC_LPS = 10,
  BFI_MC_RPORT = 11, BFI_MC_ITN = 12, BFI_MC_IOIM_READ = 13, BFI_MC_IOIM_WRITE = 14,
  BFI_MC_IOIM_IO = 15, BFI_MC_IOIM = 16, BFI_MC_IOIM_IOCOM = 17, BFI_MC_TSKIM = 18,
  BFI_MC_PORT = 21, BFI_MC_SFP = 22, BFI_MC_PHY = 25, BFI_MC_FRU = 34,
  BFI_MC_MAX = 35
}
 
enum  bfi_asic_gen {
  BFI_ASIC_GEN_CB = 1, BFI_ASIC_GEN_CT = 2, BFI_ASIC_GEN_CT2 = 3, BFI_ASIC_GEN_CB = 1,
  BFI_ASIC_GEN_CT = 2, BFI_ASIC_GEN_CT2 = 3
}
 
enum  bfi_asic_mode {
  BFI_ASIC_MODE_FC = 1, BFI_ASIC_MODE_FC16 = 2, BFI_ASIC_MODE_ETH = 3, BFI_ASIC_MODE_COMBO = 4,
  BFI_ASIC_MODE_FC = 1, BFI_ASIC_MODE_FC16 = 2, BFI_ASIC_MODE_ETH = 3, BFI_ASIC_MODE_COMBO = 4
}
 
enum  bfi_ioc_h2i_msgs {
  BFI_IOC_H2I_ENABLE_REQ = 1, BFI_IOC_H2I_DISABLE_REQ = 2, BFI_IOC_H2I_GETATTR_REQ = 3, BFI_IOC_H2I_DBG_SYNC = 4,
  BFI_IOC_H2I_DBG_DUMP = 5, BFI_IOC_H2I_ENABLE_REQ = 1, BFI_IOC_H2I_DISABLE_REQ = 2, BFI_IOC_H2I_GETATTR_REQ = 3,
  BFI_IOC_H2I_DBG_SYNC = 4, BFI_IOC_H2I_DBG_DUMP = 5
}
 
enum  bfi_ioc_i2h_msgs {
  BFI_IOC_I2H_ENABLE_REPLY = BFA_I2HM(1), BFI_IOC_I2H_DISABLE_REPLY = BFA_I2HM(2), BFI_IOC_I2H_GETATTR_REPLY = BFA_I2HM(3), BFI_IOC_I2H_HBEAT = BFA_I2HM(4),
  BFI_IOC_I2H_ENABLE_REPLY = BFA_I2HM(1), BFI_IOC_I2H_DISABLE_REPLY = BFA_I2HM(2), BFI_IOC_I2H_GETATTR_REPLY = BFA_I2HM(3), BFI_IOC_I2H_HBEAT = BFA_I2HM(4),
  BFI_IOC_I2H_ACQ_ADDR_REPLY = BFA_I2HM(5)
}
 
enum  bfi_port_mode { BFI_PORT_MODE_FC = 1, BFI_PORT_MODE_ETH = 2, BFI_PORT_MODE_FC = 1, BFI_PORT_MODE_ETH = 2 }
 
enum  bfi_ioc_state {
  BFI_IOC_UNINIT = 0, BFI_IOC_INITING = 1, BFI_IOC_HWINIT = 2, BFI_IOC_CFG = 3,
  BFI_IOC_OP = 4, BFI_IOC_DISABLING = 5, BFI_IOC_DISABLED = 6, BFI_IOC_CFG_DISABLED = 7,
  BFI_IOC_FAIL = 8, BFI_IOC_MEMTEST = 9, BFI_IOC_UNINIT = 0, BFI_IOC_INITING = 1,
  BFI_IOC_HWINIT = 2, BFI_IOC_CFG = 3, BFI_IOC_OP = 4, BFI_IOC_DISABLING = 5,
  BFI_IOC_DISABLED = 6, BFI_IOC_CFG_DISABLED = 7, BFI_IOC_FAIL = 8, BFI_IOC_MEMTEST = 9
}
 
enum  {
  BFI_ADAPTER_TYPE_FC = 0x01, BFI_ADAPTER_TYPE_MK = 0x0f0000, BFI_ADAPTER_TYPE_SH = 16, BFI_ADAPTER_NPORTS_MK = 0xff00,
  BFI_ADAPTER_NPORTS_SH = 8, BFI_ADAPTER_SPEED_MK = 0xff, BFI_ADAPTER_SPEED_SH = 0, BFI_ADAPTER_PROTO = 0x100000,
  BFI_ADAPTER_TTV = 0x200000, BFI_ADAPTER_UNSUPP = 0x400000
}
 
enum  bfi_msgq_h2i_msgs_e { BFI_MSGQ_H2I_INIT_REQ = 1, BFI_MSGQ_H2I_DOORBELL = 2, BFI_MSGQ_H2I_SHUTDOWN = 3 }
 
enum  bfi_msgq_i2h_msgs_e { BFI_MSGQ_I2H_INIT_RSP = 1, BFI_MSGQ_I2H_DOORBELL = 2 }
 
enum  bfi_port_h2i {
  BFI_PORT_H2I_ENABLE_REQ = (1), BFI_PORT_H2I_DISABLE_REQ = (2), BFI_PORT_H2I_GET_STATS_REQ = (3), BFI_PORT_H2I_CLEAR_STATS_REQ = (4),
  BFI_PORT_H2I_ENABLE_REQ = (1), BFI_PORT_H2I_DISABLE_REQ = (2), BFI_PORT_H2I_GET_STATS_REQ = (3), BFI_PORT_H2I_CLEAR_STATS_REQ = (4)
}
 
enum  bfi_port_i2h {
  BFI_PORT_I2H_ENABLE_RSP = BFA_I2HM(1), BFI_PORT_I2H_DISABLE_RSP = BFA_I2HM(2), BFI_PORT_I2H_GET_STATS_RSP = BFA_I2HM(3), BFI_PORT_I2H_CLEAR_STATS_RSP = BFA_I2HM(4),
  BFI_PORT_I2H_ENABLE_RSP = BFA_I2HM(1), BFI_PORT_I2H_DISABLE_RSP = BFA_I2HM(2), BFI_PORT_I2H_GET_STATS_RSP = BFA_I2HM(3), BFI_PORT_I2H_CLEAR_STATS_RSP = BFA_I2HM(4)
}
 
enum  bfi_ablk_h2i_msgs_e {
  BFI_ABLK_H2I_QUERY = 1, BFI_ABLK_H2I_ADPT_CONFIG = 2, BFI_ABLK_H2I_PORT_CONFIG = 3, BFI_ABLK_H2I_PF_CREATE = 4,
  BFI_ABLK_H2I_PF_DELETE = 5, BFI_ABLK_H2I_PF_UPDATE = 6, BFI_ABLK_H2I_OPTROM_ENABLE = 7, BFI_ABLK_H2I_OPTROM_DISABLE = 8
}
 
enum  bfi_ablk_i2h_msgs_e {
  BFI_ABLK_I2H_QUERY = BFA_I2HM(BFI_ABLK_H2I_QUERY), BFI_ABLK_I2H_ADPT_CONFIG = BFA_I2HM(BFI_ABLK_H2I_ADPT_CONFIG), BFI_ABLK_I2H_PORT_CONFIG = BFA_I2HM(BFI_ABLK_H2I_PORT_CONFIG), BFI_ABLK_I2H_PF_CREATE = BFA_I2HM(BFI_ABLK_H2I_PF_CREATE),
  BFI_ABLK_I2H_PF_DELETE = BFA_I2HM(BFI_ABLK_H2I_PF_DELETE), BFI_ABLK_I2H_PF_UPDATE = BFA_I2HM(BFI_ABLK_H2I_PF_UPDATE), BFI_ABLK_I2H_OPTROM_ENABLE = BFA_I2HM(BFI_ABLK_H2I_OPTROM_ENABLE), BFI_ABLK_I2H_OPTROM_DISABLE = BFA_I2HM(BFI_ABLK_H2I_OPTROM_DISABLE)
}
 
enum  bfi_cee_h2i_msgs_e { BFI_CEE_H2I_GET_CFG_REQ = 1, BFI_CEE_H2I_RESET_STATS = 2, BFI_CEE_H2I_GET_STATS_REQ = 3 }
 
enum  bfi_cee_i2h_msgs_e { BFI_CEE_I2H_GET_CFG_RSP = BFA_I2HM(1), BFI_CEE_I2H_RESET_STATS_RSP = BFA_I2HM(2), BFI_CEE_I2H_GET_STATS_RSP = BFA_I2HM(3) }
 
enum  bfi_sfp_h2i_e { BFI_SFP_H2I_SHOW = 1, BFI_SFP_H2I_SCN = 2 }
 
enum  bfi_sfp_i2h_e { BFI_SFP_I2H_SHOW = BFA_I2HM(BFI_SFP_H2I_SHOW), BFI_SFP_I2H_SCN = BFA_I2HM(BFI_SFP_H2I_SCN) }
 
enum  bfa_sfp_stat_e {
  BFA_SFP_STATE_INIT = 0, BFA_SFP_STATE_REMOVED = 1, BFA_SFP_STATE_INSERTED = 2, BFA_SFP_STATE_VALID = 3,
  BFA_SFP_STATE_UNSUPPORT = 4, BFA_SFP_STATE_FAILED = 5
}
 
enum  bfi_sfp_mem_e { BFI_SFP_MEM_ALL = 0x1, BFI_SFP_MEM_DIAGEXT = 0x2 }
 
enum  bfi_flash_h2i_msgs {
  BFI_FLASH_H2I_QUERY_REQ = 1, BFI_FLASH_H2I_ERASE_REQ = 2, BFI_FLASH_H2I_WRITE_REQ = 3, BFI_FLASH_H2I_READ_REQ = 4,
  BFI_FLASH_H2I_BOOT_VER_REQ = 5, BFI_FLASH_H2I_QUERY_REQ = 1, BFI_FLASH_H2I_ERASE_REQ = 2, BFI_FLASH_H2I_WRITE_REQ = 3,
  BFI_FLASH_H2I_READ_REQ = 4, BFI_FLASH_H2I_BOOT_VER_REQ = 5
}
 
enum  bfi_flash_i2h_msgs {
  BFI_FLASH_I2H_QUERY_RSP = BFA_I2HM(1), BFI_FLASH_I2H_ERASE_RSP = BFA_I2HM(2), BFI_FLASH_I2H_WRITE_RSP = BFA_I2HM(3), BFI_FLASH_I2H_READ_RSP = BFA_I2HM(4),
  BFI_FLASH_I2H_BOOT_VER_RSP = BFA_I2HM(5), BFI_FLASH_I2H_EVENT = BFA_I2HM(127), BFI_FLASH_I2H_QUERY_RSP = BFA_I2HM(1), BFI_FLASH_I2H_ERASE_RSP = BFA_I2HM(2),
  BFI_FLASH_I2H_WRITE_RSP = BFA_I2HM(3), BFI_FLASH_I2H_READ_RSP = BFA_I2HM(4), BFI_FLASH_I2H_BOOT_VER_RSP = BFA_I2HM(5), BFI_FLASH_I2H_EVENT = BFA_I2HM(127)
}
 
enum  bfi_diag_h2i {
  BFI_DIAG_H2I_PORTBEACON = 1, BFI_DIAG_H2I_LOOPBACK = 2, BFI_DIAG_H2I_FWPING = 3, BFI_DIAG_H2I_TEMPSENSOR = 4,
  BFI_DIAG_H2I_LEDTEST = 5, BFI_DIAG_H2I_QTEST = 6, BFI_DIAG_H2I_DPORT = 7
}
 
enum  bfi_diag_i2h {
  BFI_DIAG_I2H_PORTBEACON = BFA_I2HM(BFI_DIAG_H2I_PORTBEACON), BFI_DIAG_I2H_LOOPBACK = BFA_I2HM(BFI_DIAG_H2I_LOOPBACK), BFI_DIAG_I2H_FWPING = BFA_I2HM(BFI_DIAG_H2I_FWPING), BFI_DIAG_I2H_TEMPSENSOR = BFA_I2HM(BFI_DIAG_H2I_TEMPSENSOR),
  BFI_DIAG_I2H_LEDTEST = BFA_I2HM(BFI_DIAG_H2I_LEDTEST), BFI_DIAG_I2H_QTEST = BFA_I2HM(BFI_DIAG_H2I_QTEST), BFI_DIAG_I2H_DPORT = BFA_I2HM(BFI_DIAG_H2I_DPORT)
}
 
enum  bfi_dport_req { BFI_DPORT_DISABLE = 0, BFI_DPORT_ENABLE = 1 }
 
enum  bfi_phy_h2i_msgs_e { BFI_PHY_H2I_QUERY_REQ = 1, BFI_PHY_H2I_STATS_REQ = 2, BFI_PHY_H2I_WRITE_REQ = 3, BFI_PHY_H2I_READ_REQ = 4 }
 
enum  bfi_phy_i2h_msgs_e { BFI_PHY_I2H_QUERY_RSP = BFA_I2HM(1), BFI_PHY_I2H_STATS_RSP = BFA_I2HM(2), BFI_PHY_I2H_WRITE_RSP = BFA_I2HM(3), BFI_PHY_I2H_READ_RSP = BFA_I2HM(4) }
 
enum  bfi_fru_h2i_msgs { BFI_FRUVPD_H2I_WRITE_REQ = 1, BFI_FRUVPD_H2I_READ_REQ = 2, BFI_TFRU_H2I_WRITE_REQ = 3, BFI_TFRU_H2I_READ_REQ = 4 }
 
enum  bfi_fru_i2h_msgs { BFI_FRUVPD_I2H_WRITE_RSP = BFA_I2HM(1), BFI_FRUVPD_I2H_READ_RSP = BFA_I2HM(2), BFI_TFRU_I2H_WRITE_RSP = BFA_I2HM(3), BFI_TFRU_I2H_READ_RSP = BFA_I2HM(4) }
 

Macro Definition Documentation

#define BFA_I2HM (   _x)    ((_x) + BFI_I2H_OPCODE_BASE)

Definition at line 84 of file bfi.h.

#define BFI_ADAPTER_GETP (   __prop,
  __adap_prop 
)
Value:
(((__adap_prop) & BFI_ADAPTER_ ## __prop ## _MK) >> \
BFI_ADAPTER_ ## __prop ## _SH)

Definition at line 392 of file bfi.h.

#define BFI_ADAPTER_IS_PROTO (   __adap_type)    ((__adap_type) & BFI_ADAPTER_PROTO)

Definition at line 397 of file bfi.h.

#define BFI_ADAPTER_IS_SPECIAL (   __adap_type)
Value:

Definition at line 403 of file bfi.h.

#define BFI_ADAPTER_IS_TTV (   __adap_type)    ((__adap_type) & BFI_ADAPTER_TTV)

Definition at line 399 of file bfi.h.

#define BFI_ADAPTER_IS_UNSUPP (   __adap_type)    ((__adap_type) & BFI_ADAPTER_UNSUPP)

Definition at line 401 of file bfi.h.

#define BFI_ADAPTER_SETP (   __prop,
  __val 
)    ((__val) << BFI_ADAPTER_ ## __prop ## _SH)

Definition at line 395 of file bfi.h.

#define BFI_BOOT_MEMTEST_RES_ADDR   0x900

Definition at line 980 of file bfi.h.

#define BFI_BOOT_MEMTEST_RES_SIG   0xA0A1A2A3

Definition at line 981 of file bfi.h.

#define BFI_DIAG_DMA_BUF_SZ   (2 * 1024)

Definition at line 979 of file bfi.h.

#define bfi_diag_dport_rsp_t   struct bfi_diag_dport_req_s

Definition at line 1076 of file bfi.h.

#define BFI_DIAG_MAX_SGES   2

Definition at line 978 of file bfi.h.

#define bfi_diag_qtest_rsp_t   struct bfi_diag_qtest_req_s

Definition at line 1059 of file bfi.h.

#define bfi_diag_ts_rsp_t   struct bfi_diag_ts_req_s

Definition at line 1026 of file bfi.h.

#define BFI_FLASH_CHUNK_SZ   256 /* Flash chunk size */

Definition at line 47 of file bfi.h.

#define BFI_FLASH_CHUNK_SZ_WORDS   (BFI_FLASH_CHUNK_SZ/sizeof(u32))

Definition at line 48 of file bfi.h.

#define bfi_fn_lpu (   __fn,
  __lpu 
)    ((__fn) << 1 | (__lpu))

Definition at line 65 of file bfi.h.

#define BFI_FWBOOT_DEVMODE (   __asic_gen,
  __asic_mode,
  __p0_mode,
  __p1_mode 
)
Value:
(((u32)(__asic_gen)) << 24 | \
((u32)(__asic_mode)) << 16 | \
((u32)(__p0_mode)) << 8 | \
((u32)(__p1_mode)))

Definition at line 341 of file bfi.h.

#define BFI_FWBOOT_DEVMODE_OFF   4

Definition at line 338 of file bfi.h.

#define BFI_FWBOOT_ENV_OFF   12

Definition at line 340 of file bfi.h.

#define BFI_FWBOOT_ENV_OS   0

Definition at line 349 of file bfi.h.

#define BFI_FWBOOT_TYPE_MEMTEST   2

Definition at line 348 of file bfi.h.

#define BFI_FWBOOT_TYPE_NORMAL   0

Definition at line 347 of file bfi.h.

#define BFI_FWBOOT_TYPE_OFF   8

Definition at line 339 of file bfi.h.

#define bfi_h2i_set (   _mh,
  _mc,
  _op,
  _fn_lpu 
)
Value:
do { \
(_mh).msg_class = (_mc); \
(_mh).msg_id = (_op); \
(_mh).mtag.h2i.fn_lpu = (_fn_lpu); \
} while (0)

Definition at line 68 of file bfi.h.

#define BFI_I2H_OPCODE_BASE   128

Definition at line 83 of file bfi.h.

#define bfi_i2h_set (   _mh,
  _mc,
  _op,
  _i2htok 
)
Value:
do { \
(_mh).msg_class = (_mc); \
(_mh).msg_id = (_op); \
(_mh).mtag.i2htok = (_i2htok); \
} while (0)

Definition at line 74 of file bfi.h.

#define BFI_IO_MAX   (2000)

Definition at line 154 of file bfi.h.

#define bfi_ioc_disable_reply_t   struct bfi_ioc_ctrl_reply_s;

Definition at line 430 of file bfi.h.

#define bfi_ioc_disable_req_t   struct bfi_ioc_ctrl_req_s;

Definition at line 417 of file bfi.h.

#define bfi_ioc_enable_reply_t   struct bfi_ioc_ctrl_reply_s;

Definition at line 429 of file bfi.h.

#define bfi_ioc_enable_req_t   struct bfi_ioc_ctrl_req_s;

Definition at line 416 of file bfi.h.

#define BFI_IOC_ENDIAN_SIG   0x12345678

Definition at line 377 of file bfi.h.

#define BFI_IOC_FW_SIGNATURE   (0xbfadbfad)

Definition at line 324 of file bfi.h.

#define BFI_IOC_FWSTATS_OFF   (0x6B40)

Definition at line 315 of file bfi.h.

#define BFI_IOC_FWSTATS_SZ   (4096)

Definition at line 316 of file bfi.h.

#define BFI_IOC_MAX_CQS   4

Definition at line 217 of file bfi.h.

#define BFI_IOC_MAX_CQS_ASIC   8

Definition at line 218 of file bfi.h.

#define BFI_IOC_MD5SUM_SZ   4

Definition at line 325 of file bfi.h.

#define BFI_IOC_MSGLEN_MAX   32 /* 32 bytes */

Definition at line 219 of file bfi.h.

#define BFI_IOC_MSGSZ   8

Definition at line 432 of file bfi.h.

#define BFI_IOC_SMEM_PG0_CB   (0x40)

Definition at line 309 of file bfi.h.

#define BFI_IOC_SMEM_PG0_CT   (0x180)

Definition at line 310 of file bfi.h.

#define BFI_IOC_TRC_ENTS   256

Definition at line 322 of file bfi.h.

#define BFI_IOC_TRC_OFF   (0x4b00)

Definition at line 321 of file bfi.h.

#define BFI_IOIM_SNSBUF_SEGS   BFI_MEM_DMA_NSEGS(BFI_IO_MAX, BFI_IOIM_SNSLEN)

Definition at line 156 of file bfi.h.

#define BFI_IOIM_SNSLEN   (256)

Definition at line 155 of file bfi.h.

#define BFI_LMSG_PL_WSZ   ((BFI_LMSG_SZ - sizeof(struct bfi_mhdr_s)) / 4)

Definition at line 163 of file bfi.h.

#define BFI_LMSG_SZ   128

Definition at line 162 of file bfi.h.

#define BFI_MBMSG_SZ   7

Definition at line 174 of file bfi.h.

#define BFI_MEM_DMA_NSEGS (   _num_reqs,
  _req_sz 
)
Value:
((u16)(((((_num_reqs) * (_req_sz)) + BFI_MEM_DMA_SEG_SZ - 1) & \

Definition at line 30 of file bfi.h.

#define BFI_MEM_DMA_SEG_SZ   (131072)

Definition at line 27 of file bfi.h.

#define BFI_MEM_NREQS_SEG (   _rqsz)    (BFI_MEM_DMA_SEG_SZ / (_rqsz))

Definition at line 35 of file bfi.h.

#define BFI_MEM_SEG_FROM_TAG (   _tag,
  _rqsz 
)    ((_tag) / BFI_MEM_NREQS_SEG(_rqsz))

Definition at line 38 of file bfi.h.

#define BFI_MEM_SEG_REQ_OFFSET (   _tag,
  _sz 
)    ((_tag) - (BFI_MEM_SEG_FROM_TAG(_tag, _sz) * BFI_MEM_NREQS_SEG(_sz)))

Definition at line 41 of file bfi.h.

#define bfi_mhdr_2_fn (   _mh)    ((_mh)->mtag.h2i.fn_lpu >> 1)

Definition at line 66 of file bfi.h.

#define BFI_MSGQ_CMD_ENTRY_SIZE   (64) /* TBD */

Definition at line 543 of file bfi.h.

#define BFI_MSGQ_EMPTY (   _q)    (_q->pi == _q->ci)

Definition at line 503 of file bfi.h.

#define BFI_MSGQ_FREE_CNT (   _q)    ((_q->ci - _q->pi - 1) & (_q->q_depth - 1))

Definition at line 508 of file bfi.h.

#define BFI_MSGQ_FULL (   _q)    (((_q->pi + 1) % _q->q_depth) == _q->ci)

Definition at line 502 of file bfi.h.

#define bfi_msgq_mhdr_set (   _mh,
  _mc,
  _mid,
  _tok,
  _enet_id 
)
Value:
do { \
(_mh).msg_class = (_mc); \
(_mh).msg_id = (_mid); \
(_mh).msg_token = (_tok); \
(_mh).enet_id = (_enet_id); \
} while (0)

Definition at line 532 of file bfi.h.

#define BFI_MSGQ_MSG_SIZE_MAX   (2048) /* TBD */

Definition at line 545 of file bfi.h.

#define BFI_MSGQ_RSP_ENTRY_SIZE   (64) /* TBD */

Definition at line 544 of file bfi.h.

#define BFI_MSGQ_UPDATE_CI (   _q)    (_q->ci = (_q->ci + 1) % _q->q_depth)

Definition at line 504 of file bfi.h.

#define BFI_MSGQ_UPDATE_PI (   _q)    (_q->pi = (_q->pi + 1) % _q->q_depth)

Definition at line 505 of file bfi.h.

#define BFI_PBC_MAX_BLUNS   8

Definition at line 460 of file bfi.h.

#define BFI_PBC_MAX_VPORTS   16

Definition at line 461 of file bfi.h.

#define BFI_PBC_PORT_DISABLED   2

Definition at line 462 of file bfi.h.

#define BFI_SGE_INLINE   1

Definition at line 94 of file bfi.h.

#define BFI_SGE_INLINE_MAX   (BFI_SGE_INLINE + 1)

Definition at line 95 of file bfi.h.

#define BFI_SGPG_DATA_SGES   7

Definition at line 145 of file bfi.h.

#define BFI_SGPG_RSVD_WD_LEN   8

Definition at line 147 of file bfi.h.

#define BFI_SGPG_SGES_MAX   (BFI_SGPG_DATA_SGES + 1)

Definition at line 146 of file bfi.h.

Enumeration Type Documentation

anonymous enum
Enumerator:
BFI_SGE_DATA 
BFI_SGE_DATA_CPL 
BFI_SGE_DATA_LAST 
BFI_SGE_LINK 
BFI_SGE_PGDLEN 

Definition at line 100 of file bfi.h.

anonymous enum
Enumerator:
BFI_ADAPTER_TYPE_FC 
BFI_ADAPTER_TYPE_MK 
BFI_ADAPTER_TYPE_SH 
BFI_ADAPTER_NPORTS_MK 
BFI_ADAPTER_NPORTS_SH 
BFI_ADAPTER_SPEED_MK 
BFI_ADAPTER_SPEED_SH 
BFI_ADAPTER_PROTO 
BFI_ADAPTER_TTV 
BFI_ADAPTER_UNSUPP 

Definition at line 379 of file bfi.h.

Enumerator:
BFA_SFP_STATE_INIT 
BFA_SFP_STATE_REMOVED 
BFA_SFP_STATE_INSERTED 
BFA_SFP_STATE_VALID 
BFA_SFP_STATE_UNSUPPORT 
BFA_SFP_STATE_FAILED 

Definition at line 805 of file bfi.h.

Enumerator:
BFI_ABLK_H2I_QUERY 
BFI_ABLK_H2I_ADPT_CONFIG 
BFI_ABLK_H2I_PORT_CONFIG 
BFI_ABLK_H2I_PF_CREATE 
BFI_ABLK_H2I_PF_DELETE 
BFI_ABLK_H2I_PF_UPDATE 
BFI_ABLK_H2I_OPTROM_ENABLE 
BFI_ABLK_H2I_OPTROM_DISABLE 

Definition at line 649 of file bfi.h.

Enumerator:
BFI_ABLK_I2H_QUERY 
BFI_ABLK_I2H_ADPT_CONFIG 
BFI_ABLK_I2H_PORT_CONFIG 
BFI_ABLK_I2H_PF_CREATE 
BFI_ABLK_I2H_PF_DELETE 
BFI_ABLK_I2H_PF_UPDATE 
BFI_ABLK_I2H_OPTROM_ENABLE 
BFI_ABLK_I2H_OPTROM_DISABLE 

Definition at line 660 of file bfi.h.

Enumerator:
BFI_ASIC_GEN_CB 
BFI_ASIC_GEN_CT 
BFI_ASIC_GEN_CT2 
BFI_ASIC_GEN_CB 
BFI_ASIC_GEN_CT 
BFI_ASIC_GEN_CT2 

Definition at line 230 of file bfi.h.

Enumerator:
BFI_ASIC_MODE_FC 
BFI_ASIC_MODE_FC16 
BFI_ASIC_MODE_ETH 
BFI_ASIC_MODE_COMBO 
BFI_ASIC_MODE_FC 
BFI_ASIC_MODE_FC16 
BFI_ASIC_MODE_ETH 
BFI_ASIC_MODE_COMBO 

Definition at line 236 of file bfi.h.

Enumerator:
BFI_CEE_H2I_GET_CFG_REQ 
BFI_CEE_H2I_RESET_STATS 
BFI_CEE_H2I_GET_STATS_REQ 

Definition at line 725 of file bfi.h.

Enumerator:
BFI_CEE_I2H_GET_CFG_RSP 
BFI_CEE_I2H_RESET_STATS_RSP 
BFI_CEE_I2H_GET_STATS_RSP 

Definition at line 731 of file bfi.h.

Enumerator:
BFI_DIAG_H2I_PORTBEACON 
BFI_DIAG_H2I_LOOPBACK 
BFI_DIAG_H2I_FWPING 
BFI_DIAG_H2I_TEMPSENSOR 
BFI_DIAG_H2I_LEDTEST 
BFI_DIAG_H2I_QTEST 
BFI_DIAG_H2I_DPORT 

Definition at line 958 of file bfi.h.

Enumerator:
BFI_DIAG_I2H_PORTBEACON 
BFI_DIAG_I2H_LOOPBACK 
BFI_DIAG_I2H_FWPING 
BFI_DIAG_I2H_TEMPSENSOR 
BFI_DIAG_I2H_LEDTEST 
BFI_DIAG_I2H_QTEST 
BFI_DIAG_I2H_DPORT 

Definition at line 968 of file bfi.h.

Enumerator:
BFI_DPORT_DISABLE 
BFI_DPORT_ENABLE 

Definition at line 1064 of file bfi.h.

Enumerator:
BFI_FLASH_H2I_QUERY_REQ 
BFI_FLASH_H2I_ERASE_REQ 
BFI_FLASH_H2I_WRITE_REQ 
BFI_FLASH_H2I_READ_REQ 
BFI_FLASH_H2I_BOOT_VER_REQ 
BFI_FLASH_H2I_QUERY_REQ 
BFI_FLASH_H2I_ERASE_REQ 
BFI_FLASH_H2I_WRITE_REQ 
BFI_FLASH_H2I_READ_REQ 
BFI_FLASH_H2I_BOOT_VER_REQ 

Definition at line 839 of file bfi.h.

Enumerator:
BFI_FLASH_I2H_QUERY_RSP 
BFI_FLASH_I2H_ERASE_RSP 
BFI_FLASH_I2H_WRITE_RSP 
BFI_FLASH_I2H_READ_RSP 
BFI_FLASH_I2H_BOOT_VER_RSP 
BFI_FLASH_I2H_EVENT 
BFI_FLASH_I2H_QUERY_RSP 
BFI_FLASH_I2H_ERASE_RSP 
BFI_FLASH_I2H_WRITE_RSP 
BFI_FLASH_I2H_READ_RSP 
BFI_FLASH_I2H_BOOT_VER_RSP 
BFI_FLASH_I2H_EVENT 

Definition at line 847 of file bfi.h.

Enumerator:
BFI_FRUVPD_H2I_WRITE_REQ 
BFI_FRUVPD_H2I_READ_REQ 
BFI_TFRU_H2I_WRITE_REQ 
BFI_TFRU_H2I_READ_REQ 

Definition at line 1174 of file bfi.h.

Enumerator:
BFI_FRUVPD_I2H_WRITE_RSP 
BFI_FRUVPD_I2H_READ_RSP 
BFI_TFRU_I2H_WRITE_RSP 
BFI_TFRU_I2H_READ_RSP 

Definition at line 1181 of file bfi.h.

Enumerator:
BFI_IOC_H2I_ENABLE_REQ 
BFI_IOC_H2I_DISABLE_REQ 
BFI_IOC_H2I_GETATTR_REQ 
BFI_IOC_H2I_DBG_SYNC 
BFI_IOC_H2I_DBG_DUMP 
BFI_IOC_H2I_ENABLE_REQ 
BFI_IOC_H2I_DISABLE_REQ 
BFI_IOC_H2I_GETATTR_REQ 
BFI_IOC_H2I_DBG_SYNC 
BFI_IOC_H2I_DBG_DUMP 

Definition at line 243 of file bfi.h.

Enumerator:
BFI_IOC_I2H_ENABLE_REPLY 
BFI_IOC_I2H_DISABLE_REPLY 
BFI_IOC_I2H_GETATTR_REPLY 
BFI_IOC_I2H_HBEAT 
BFI_IOC_I2H_ENABLE_REPLY 
BFI_IOC_I2H_DISABLE_REPLY 
BFI_IOC_I2H_GETATTR_REPLY 
BFI_IOC_I2H_HBEAT 
BFI_IOC_I2H_ACQ_ADDR_REPLY 

Definition at line 251 of file bfi.h.

Enumerator:
BFI_IOC_UNINIT 

not initialized

BFI_IOC_INITING 

h/w is being initialized

BFI_IOC_HWINIT 

h/w is initialized

BFI_IOC_CFG 

IOC configuration in progress

BFI_IOC_OP 

IOC is operational

BFI_IOC_DISABLING 

IOC is being disabled

BFI_IOC_DISABLED 

IOC is disabled

BFI_IOC_CFG_DISABLED 

IOC is being disabled;transient

BFI_IOC_FAIL 

IOC heart-beat failure

BFI_IOC_MEMTEST 

IOC is doing memtest

BFI_IOC_UNINIT 
BFI_IOC_INITING 
BFI_IOC_HWINIT 
BFI_IOC_CFG 
BFI_IOC_OP 
BFI_IOC_DISABLING 
BFI_IOC_DISABLED 
BFI_IOC_CFG_DISABLED 
BFI_IOC_FAIL 
BFI_IOC_MEMTEST 

Definition at line 364 of file bfi.h.

enum bfi_mclass
Enumerator:
BFI_MC_IOC 

IO Controller (IOC)

BFI_MC_DIAG 

Diagnostic Msgs

BFI_MC_FLASH 

Flash message class

BFI_MC_CEE 

CEE

BFI_MC_FCPORT 

FC port

BFI_MC_IOCFC 

FC - IO Controller (IOC)

BFI_MC_LL 

Link Layer

BFI_MC_UF 

Unsolicited frame receive

BFI_MC_FCXP 

FC Transport

BFI_MC_LPS 

lport fc login services

BFI_MC_RPORT 

Remote port

BFI_MC_ITNIM 

I-T nexus (Initiator mode)

BFI_MC_IOIM_READ 

read IO (Initiator mode)

BFI_MC_IOIM_WRITE 

write IO (Initiator mode)

BFI_MC_IOIM_IO 

IO (Initiator mode)

BFI_MC_IOIM 

IO (Initiator mode)

BFI_MC_IOIM_IOCOM 

good IO completion

BFI_MC_TSKIM 

Initiator Task management

BFI_MC_SBOOT 

SAN boot services

BFI_MC_IPFC 

IP over FC Msgs

BFI_MC_PORT 

Physical port

BFI_MC_SFP 

SFP module

BFI_MC_MSGQ 

MSGQ

BFI_MC_ENET 

ENET commands/responses

BFI_MC_PHY 

External PHY message class

BFI_MC_NBOOT 

Network Boot

BFI_MC_TIO_READ 

read IO (Target mode)

BFI_MC_TIO_WRITE 

write IO (Target mode)

BFI_MC_TIO_DATA_XFERED 

ds transferred (target mode)

BFI_MC_TIO_IO 

IO (Target mode)

BFI_MC_TIO 

IO (target mode)

BFI_MC_MFG 

MFG/ASIC block commands

BFI_MC_EDMA 

EDMA copy commands

BFI_MC_MAX 
BFI_MC_IOC 
BFI_MC_DIAG 
BFI_MC_FLASH 
BFI_MC_CEE 
BFI_MC_FCPORT 
BFI_MC_IOCFC 
BFI_MC_ABLK 
BFI_MC_UF 
BFI_MC_FCXP 
BFI_MC_LPS 
BFI_MC_RPORT 
BFI_MC_ITN 
BFI_MC_IOIM_READ 
BFI_MC_IOIM_WRITE 
BFI_MC_IOIM_IO 
BFI_MC_IOIM 
BFI_MC_IOIM_IOCOM 
BFI_MC_TSKIM 
BFI_MC_PORT 
BFI_MC_SFP 
BFI_MC_PHY 
BFI_MC_FRU 
BFI_MC_MAX 

Definition at line 191 of file bfi.h.

Enumerator:
BFI_MSGQ_H2I_INIT_REQ 
BFI_MSGQ_H2I_DOORBELL 
BFI_MSGQ_H2I_SHUTDOWN 

Definition at line 510 of file bfi.h.

Enumerator:
BFI_MSGQ_I2H_INIT_RSP 
BFI_MSGQ_I2H_DOORBELL 

Definition at line 516 of file bfi.h.

Enumerator:
BFI_PCIFN_CLASS_FC 
BFI_PCIFN_CLASS_ETH 
BFI_PCIFN_CLASS_FC 
BFI_PCIFN_CLASS_ETH 

Definition at line 183 of file bfi.h.

Enumerator:
BFI_PHY_H2I_QUERY_REQ 
BFI_PHY_H2I_STATS_REQ 
BFI_PHY_H2I_WRITE_REQ 
BFI_PHY_H2I_READ_REQ 

Definition at line 1081 of file bfi.h.

Enumerator:
BFI_PHY_I2H_QUERY_RSP 
BFI_PHY_I2H_STATS_RSP 
BFI_PHY_I2H_WRITE_RSP 
BFI_PHY_I2H_READ_RSP 

Definition at line 1088 of file bfi.h.

Enumerator:
BFI_PORT_H2I_ENABLE_REQ 
BFI_PORT_H2I_DISABLE_REQ 
BFI_PORT_H2I_GET_STATS_REQ 
BFI_PORT_H2I_CLEAR_STATS_REQ 
BFI_PORT_H2I_ENABLE_REQ 
BFI_PORT_H2I_DISABLE_REQ 
BFI_PORT_H2I_GET_STATS_REQ 
BFI_PORT_H2I_CLEAR_STATS_REQ 

Definition at line 587 of file bfi.h.

Enumerator:
BFI_PORT_I2H_ENABLE_RSP 
BFI_PORT_I2H_DISABLE_RSP 
BFI_PORT_I2H_GET_STATS_RSP 
BFI_PORT_I2H_CLEAR_STATS_RSP 
BFI_PORT_I2H_ENABLE_RSP 
BFI_PORT_I2H_DISABLE_RSP 
BFI_PORT_I2H_GET_STATS_RSP 
BFI_PORT_I2H_CLEAR_STATS_RSP 

Definition at line 594 of file bfi.h.

Enumerator:
BFI_PORT_MODE_FC 
BFI_PORT_MODE_ETH 
BFI_PORT_MODE_FC 
BFI_PORT_MODE_ETH 

Definition at line 351 of file bfi.h.

Enumerator:
BFI_SFP_H2I_SHOW 
BFI_SFP_H2I_SCN 

Definition at line 781 of file bfi.h.

Enumerator:
BFI_SFP_I2H_SHOW 
BFI_SFP_I2H_SCN 

Definition at line 786 of file bfi.h.

Enumerator:
BFI_SFP_MEM_ALL 
BFI_SFP_MEM_DIAGEXT 

Definition at line 817 of file bfi.h.