Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Macros | Typedefs | Enumerations
lpfc_hw.h File Reference

Go to the source code of this file.

Data Structures

union  CtRevisionId
 
union  CtCommandResponse
 
struct  lpfc_sli_ct_request
 
struct  lpfc_name
 
struct  csp
 
struct  class_parms
 
struct  serv_parm
 
struct  fc_vft_header
 
struct  ls_rjt
 
struct  _LOGO
 
struct  _PRLI
 
struct  _PRLO
 
struct  _ADISC
 
struct  _FARP
 
struct  _FAN
 
struct  _SCR
 
struct  _RNID_TOP_DISC
 
struct  _RNID
 
struct  _RPS
 
struct  _RPS_RSP
 
struct  RLS
 
struct  RLS_RSP
 
struct  RRQ
 
struct  RTV_RSP
 
struct  _RPL
 
struct  _PORT_NUM_BLK
 
struct  _RPL_RSP
 
struct  _D_ID
 
struct  _ELS_PKT
 
union  AttributesDef
 
struct  ATTRIBUTE_ENTRY
 
struct  ATTRIBUTE_BLOCK
 
struct  PORT_ENTRY
 
struct  HBA_IDENTIFIER
 
struct  REG_PORT_LIST
 
struct  REG_HBA
 
struct  REG_HBA_ATTRIBUTE
 
struct  REG_PORT_ATTRIBUTE
 
struct  GRHL_ACC_PAYLOAD
 
struct  GRPL_ACC_PAYLOAD
 
struct  GPAT_ACC_PAYLOAD
 
struct  FF_REGS
 
struct  RR_REG
 
struct  ulp_bde
 
struct  ULP_BDL
 
struct  lpfc_pde5
 
struct  lpfc_pde6
 
struct  lpfc_pde7
 
struct  LOAD_SM_VAR
 
struct  READ_NV_VAR
 
struct  WRITE_NV_VAR
 
struct  BIU_DIAG_VAR
 
struct  READ_EVENT_LOG_VAR
 
struct  INIT_LINK_VAR
 
struct  DOWN_LINK_VAR
 
struct  CONFIG_LINK
 
struct  RING_DEF
 
struct  PART_SLIM_VAR
 
struct  CONFIG_RING_VAR
 
struct  RESET_RING_VAR
 
struct  READ_CONFIG_VAR
 
struct  READ_RCONF_VAR
 
struct  READ_SPARM_VAR
 
struct  READ_STATUS_VAR
 
struct  READ_RPI_VAR
 
struct  READ_XRI_VAR
 
struct  READ_REV_VAR
 
struct  READ_LNK_VAR
 
struct  REG_LOGIN_VAR
 
union  REG_WD30
 
struct  UNREG_LOGIN_VAR
 
struct  REG_VPI_VAR
 
struct  UNREG_VPI_VAR
 
struct  UNREG_D_ID_VAR
 
struct  lpfc_mbx_read_top
 
struct  CLEAR_LA_VAR
 
struct  DUMP_VAR
 
struct  vport_rec
 
struct  static_vport_info
 
struct  prog_id
 
struct  update_cfg_var
 
struct  hbq_mask
 
struct  config_hbq_var
 
struct  CONFIG_PORT_VAR
 
struct  config_msi_var
 
struct  _SLI2_RDSC
 
struct  _PCB
 
struct  CONFIG_FARP_VAR
 
struct  ASYNCEVT_ENABLE_VAR
 
union  MAILVARIANTS
 
struct  lpfc_hgp
 
struct  lpfc_pgp
 
struct  sli2_desc
 
struct  sli3_desc
 
struct  sli3_pgp
 
union  sli_var
 
struct  MAILBOX_t
 
struct  PARM_ERR
 
union  WORD5
 
struct  GENERIC_RSP
 
struct  XR_SEQ_FIELDS
 
struct  ELS_REQUEST
 
struct  RCV_ELS_REQ
 
struct  AC_XRI
 
struct  A_MXRI64
 
struct  GET_RPI
 
struct  FCPI_FIELDS
 
struct  FCPT_FIELDS
 
struct  XMT_SEQ_FIELDS64
 
struct  RCV_SEQ_FIELDS64
 
struct  ELS_REQUEST64
 
struct  GEN_REQUEST64
 
struct  RCV_ELS_REQ64
 
struct  rcv_seq64
 
struct  FCPI_FIELDS64
 
struct  FCPT_FIELDS64
 
struct  ASYNCSTAT_FIELDS
 
struct  rcv_sli3
 
struct  lpfc_hbq_entry
 
struct  QUE_XRI64_CX_FIELDS
 
struct  que_xri64cx_ext_fields
 
struct  sli3_bg_fields
 
struct  fcp_irw_ext
 
struct  _IOCB
 
struct  lpfc_sli2_slim
 

Macros

#define FDMI_DID   0xfffffaU
 
#define NameServer_DID   0xfffffcU
 
#define SCR_DID   0xfffffdU
 
#define Fabric_DID   0xfffffeU
 
#define Bcast_DID   0xffffffU
 
#define Mask_DID   0xffffffU
 
#define CT_DID_MASK   0xffff00U
 
#define Fabric_DID_MASK   0xfff000U
 
#define WELL_KNOWN_DID_MASK   0xfffff0U
 
#define PT2PT_LocalID   1
 
#define PT2PT_RemoteID   2
 
#define FF_DEF_EDTOV   2000 /* Default E_D_TOV (2000ms) */
 
#define FF_DEF_ALTOV   15 /* Default AL_TIME (15ms) */
 
#define FF_DEF_RATOV   2 /* Default RA_TOV (2s) */
 
#define FF_DEF_ARBTOV   1900 /* Default ARB_TOV (1900ms) */
 
#define LPFC_BUF_RING0
 
#define FCELSSIZE   1024 /* maximum ELS transfer size */
 
#define LPFC_FCP_RING   0 /* ring 0 for FCP initiator commands */
 
#define LPFC_EXTRA_RING   1 /* ring 1 for other protocols */
 
#define LPFC_ELS_RING   2 /* ring 2 for ELS commands */
 
#define LPFC_FCP_NEXT_RING   3
 
#define SLI2_IOCB_CMD_R0_ENTRIES   172 /* SLI-2 FCP command ring entries */
 
#define SLI2_IOCB_RSP_R0_ENTRIES   134 /* SLI-2 FCP response ring entries */
 
#define SLI2_IOCB_CMD_R1_ENTRIES   4 /* SLI-2 extra command ring entries */
 
#define SLI2_IOCB_RSP_R1_ENTRIES   4 /* SLI-2 extra response ring entries */
 
#define SLI2_IOCB_CMD_R1XTRA_ENTRIES   36 /* SLI-2 extra FCP cmd ring entries */
 
#define SLI2_IOCB_RSP_R1XTRA_ENTRIES   52 /* SLI-2 extra FCP rsp ring entries */
 
#define SLI2_IOCB_CMD_R2_ENTRIES   20 /* SLI-2 ELS command ring entries */
 
#define SLI2_IOCB_RSP_R2_ENTRIES   20 /* SLI-2 ELS response ring entries */
 
#define SLI2_IOCB_CMD_R3_ENTRIES   0
 
#define SLI2_IOCB_RSP_R3_ENTRIES   0
 
#define SLI2_IOCB_CMD_R3XTRA_ENTRIES   24
 
#define SLI2_IOCB_RSP_R3XTRA_ENTRIES   32
 
#define SLI2_IOCB_CMD_SIZE   32
 
#define SLI2_IOCB_RSP_SIZE   32
 
#define SLI3_IOCB_CMD_SIZE   128
 
#define SLI3_IOCB_RSP_SIZE   64
 
#define LPFC_UNREG_ALL_RPIS_VPORT   0xffff
 
#define LPFC_UNREG_ALL_DFLT_RPIS   0xffffffff
 
#define LPFC_NL_VENDOR_ID   (SCSI_NL_VID_TYPE_PCI | PCI_VENDOR_ID_EMULEX)
 
#define FW_REV_STR_SIZE   32
 
#define FC4_FEATURE_INIT   0x2
 
#define FC4_FEATURE_TARGET   0x1
 
#define FCP_TYPE_FEATURE_OFFSET   7
 
#define SLI_CT_REVISION   1
 
#define GID_REQUEST_SZ
 
#define GFF_REQUEST_SZ
 
#define RFT_REQUEST_SZ
 
#define RFF_REQUEST_SZ
 
#define RNN_REQUEST_SZ
 
#define RSNN_REQUEST_SZ
 
#define DA_ID_REQUEST_SZ
 
#define RSPN_REQUEST_SZ
 
#define SLI_CT_MANAGEMENT_SERVICE   0xFA
 
#define SLI_CT_TIME_SERVICE   0xFB
 
#define SLI_CT_DIRECTORY_SERVICE   0xFC
 
#define SLI_CT_FABRIC_CONTROLLER_SERVICE   0xFD
 
#define SLI_CT_DIRECTORY_NAME_SERVER   0x02
 
#define SLI_CT_RESPONSE_FS_RJT   0x8001
 
#define SLI_CT_RESPONSE_FS_ACC   0x8002
 
#define SLI_CT_NO_ADDITIONAL_EXPL   0x0
 
#define SLI_CT_INVALID_COMMAND   0x01
 
#define SLI_CT_INVALID_VERSION   0x02
 
#define SLI_CT_LOGICAL_ERROR   0x03
 
#define SLI_CT_INVALID_IU_SIZE   0x04
 
#define SLI_CT_LOGICAL_BUSY   0x05
 
#define SLI_CT_PROTOCOL_ERROR   0x07
 
#define SLI_CT_UNABLE_TO_PERFORM_REQ   0x09
 
#define SLI_CT_REQ_NOT_SUPPORTED   0x0b
 
#define SLI_CT_HBA_INFO_NOT_REGISTERED   0x10
 
#define SLI_CT_MULTIPLE_HBA_ATTR_OF_SAME_TYPE   0x11
 
#define SLI_CT_INVALID_HBA_ATTR_BLOCK_LEN   0x12
 
#define SLI_CT_HBA_ATTR_NOT_PRESENT   0x13
 
#define SLI_CT_PORT_INFO_NOT_REGISTERED   0x20
 
#define SLI_CT_MULTIPLE_PORT_ATTR_OF_SAME_TYPE   0x21
 
#define SLI_CT_INVALID_PORT_ATTR_BLOCK_LEN   0x22
 
#define SLI_CT_VENDOR_UNIQUE   0xff
 
#define SLI_CT_NO_PORT_ID   0x01
 
#define SLI_CT_NO_PORT_NAME   0x02
 
#define SLI_CT_NO_NODE_NAME   0x03
 
#define SLI_CT_NO_CLASS_OF_SERVICE   0x04
 
#define SLI_CT_NO_IP_ADDRESS   0x05
 
#define SLI_CT_NO_IPA   0x06
 
#define SLI_CT_NO_FC4_TYPES   0x07
 
#define SLI_CT_NO_SYMBOLIC_PORT_NAME   0x08
 
#define SLI_CT_NO_SYMBOLIC_NODE_NAME   0x09
 
#define SLI_CT_NO_PORT_TYPE   0x0A
 
#define SLI_CT_ACCESS_DENIED   0x10
 
#define SLI_CT_INVALID_PORT_ID   0x11
 
#define SLI_CT_DATABASE_EMPTY   0x12
 
#define SLI_CTNS_GA_NXT   0x0100
 
#define SLI_CTNS_GPN_ID   0x0112
 
#define SLI_CTNS_GNN_ID   0x0113
 
#define SLI_CTNS_GCS_ID   0x0114
 
#define SLI_CTNS_GFT_ID   0x0117
 
#define SLI_CTNS_GSPN_ID   0x0118
 
#define SLI_CTNS_GPT_ID   0x011A
 
#define SLI_CTNS_GFF_ID   0x011F
 
#define SLI_CTNS_GID_PN   0x0121
 
#define SLI_CTNS_GID_NN   0x0131
 
#define SLI_CTNS_GIP_NN   0x0135
 
#define SLI_CTNS_GIPA_NN   0x0136
 
#define SLI_CTNS_GSNN_NN   0x0139
 
#define SLI_CTNS_GNN_IP   0x0153
 
#define SLI_CTNS_GIPA_IP   0x0156
 
#define SLI_CTNS_GID_FT   0x0171
 
#define SLI_CTNS_GID_PT   0x01A1
 
#define SLI_CTNS_RPN_ID   0x0212
 
#define SLI_CTNS_RNN_ID   0x0213
 
#define SLI_CTNS_RCS_ID   0x0214
 
#define SLI_CTNS_RFT_ID   0x0217
 
#define SLI_CTNS_RSPN_ID   0x0218
 
#define SLI_CTNS_RPT_ID   0x021A
 
#define SLI_CTNS_RFF_ID   0x021F
 
#define SLI_CTNS_RIP_NN   0x0235
 
#define SLI_CTNS_RIPA_NN   0x0236
 
#define SLI_CTNS_RSNN_NN   0x0239
 
#define SLI_CTNS_DA_ID   0x0300
 
#define SLI_CTPT_N_PORT   0x01
 
#define SLI_CTPT_NL_PORT   0x02
 
#define SLI_CTPT_FNL_PORT   0x03
 
#define SLI_CTPT_IP   0x04
 
#define SLI_CTPT_FCP   0x08
 
#define SLI_CTPT_NX_PORT   0x7F
 
#define SLI_CTPT_F_PORT   0x81
 
#define SLI_CTPT_FL_PORT   0x82
 
#define SLI_CTPT_E_PORT   0x84
 
#define SLI_CT_LAST_ENTRY   0x80000000
 
#define FC_PH_4_0   6 /* FC-PH version 4.0 */
 
#define FC_PH_4_1   7 /* FC-PH version 4.1 */
 
#define FC_PH_4_2   8 /* FC-PH version 4.2 */
 
#define FC_PH_4_3   9 /* FC-PH version 4.3 */
 
#define FC_PH_LOW   8 /* Lowest supported FC-PH version */
 
#define FC_PH_HIGH   9 /* Highest supported FC-PH version */
 
#define FC_PH3   0x20 /* FC-PH-3 version */
 
#define FF_FRAME_SIZE   2048
 
#define NAME_IEEE   0x1 /* IEEE name - nameType */
 
#define NAME_IEEE_EXT   0x2 /* IEEE extended name */
 
#define NAME_FC_TYPE   0x3 /* FC native name type */
 
#define NAME_IP_TYPE   0x4 /* IP address */
 
#define NAME_CCITT_TYPE   0xC
 
#define NAME_CCITT_GR_TYPE   0xE
 
#define clean_address_bit   request_multiple_Nport /* Word 1, bit 31 */
 
#define virtual_fabric_support   randomOffset /* Word 1, bit 30 */
 
#define fc_vft_hdr_r_ctl_SHIFT   24
 
#define fc_vft_hdr_r_ctl_MASK   0xFF
 
#define fc_vft_hdr_r_ctl_WORD   word0
 
#define fc_vft_hdr_ver_SHIFT   22
 
#define fc_vft_hdr_ver_MASK   0x3
 
#define fc_vft_hdr_ver_WORD   word0
 
#define fc_vft_hdr_type_SHIFT   18
 
#define fc_vft_hdr_type_MASK   0xF
 
#define fc_vft_hdr_type_WORD   word0
 
#define fc_vft_hdr_e_SHIFT   16
 
#define fc_vft_hdr_e_MASK   0x1
 
#define fc_vft_hdr_e_WORD   word0
 
#define fc_vft_hdr_priority_SHIFT   13
 
#define fc_vft_hdr_priority_MASK   0x7
 
#define fc_vft_hdr_priority_WORD   word0
 
#define fc_vft_hdr_vf_id_SHIFT   1
 
#define fc_vft_hdr_vf_id_MASK   0xFFF
 
#define fc_vft_hdr_vf_id_WORD   word0
 
#define fc_vft_hdr_hopct_SHIFT   24
 
#define fc_vft_hdr_hopct_MASK   0xFF
 
#define fc_vft_hdr_hopct_WORD   word1
 
#define ELS_CMD_MASK   0xffff
 
#define ELS_RSP_MASK   0xff
 
#define ELS_CMD_LS_RJT   0x01
 
#define ELS_CMD_ACC   0x02
 
#define ELS_CMD_PLOGI   0x03
 
#define ELS_CMD_FLOGI   0x04
 
#define ELS_CMD_LOGO   0x05
 
#define ELS_CMD_ABTX   0x06
 
#define ELS_CMD_RCS   0x07
 
#define ELS_CMD_RES   0x08
 
#define ELS_CMD_RSS   0x09
 
#define ELS_CMD_RSI   0x0A
 
#define ELS_CMD_ESTS   0x0B
 
#define ELS_CMD_ESTC   0x0C
 
#define ELS_CMD_ADVC   0x0D
 
#define ELS_CMD_RTV   0x0E
 
#define ELS_CMD_RLS   0x0F
 
#define ELS_CMD_ECHO   0x10
 
#define ELS_CMD_TEST   0x11
 
#define ELS_CMD_RRQ   0x12
 
#define ELS_CMD_PRLI   0x14001020
 
#define ELS_CMD_PRLO   0x14001021
 
#define ELS_CMD_PRLO_ACC   0x14001002
 
#define ELS_CMD_PDISC   0x50
 
#define ELS_CMD_FDISC   0x51
 
#define ELS_CMD_ADISC   0x52
 
#define ELS_CMD_FARP   0x54
 
#define ELS_CMD_FARPR   0x55
 
#define ELS_CMD_RPS   0x56
 
#define ELS_CMD_RPL   0x57
 
#define ELS_CMD_FAN   0x60
 
#define ELS_CMD_RSCN   0x0461
 
#define ELS_CMD_SCR   0x62
 
#define ELS_CMD_RNID   0x78
 
#define ELS_CMD_LIRR   0x7A
 
#define LSRJT_INVALID_CMD   0x01
 
#define LSRJT_LOGICAL_ERR   0x03
 
#define LSRJT_LOGICAL_BSY   0x05
 
#define LSRJT_PROTOCOL_ERR   0x07
 
#define LSRJT_UNABLE_TPC   0x09 /* Unable to perform command */
 
#define LSRJT_CMD_UNSUPPORTED   0x0B
 
#define LSRJT_VENDOR_UNIQUE   0xFF /* See Byte 3 */
 
#define LSEXP_NOTHING_MORE   0x00
 
#define LSEXP_SPARM_OPTIONS   0x01
 
#define LSEXP_SPARM_ICTL   0x03
 
#define LSEXP_SPARM_RCTL   0x05
 
#define LSEXP_SPARM_RCV_SIZE   0x07
 
#define LSEXP_SPARM_CONCUR_SEQ   0x09
 
#define LSEXP_SPARM_CREDIT   0x0B
 
#define LSEXP_INVALID_PNAME   0x0D
 
#define LSEXP_INVALID_NNAME   0x0E
 
#define LSEXP_INVALID_CSP   0x0F
 
#define LSEXP_INVALID_ASSOC_HDR   0x11
 
#define LSEXP_ASSOC_HDR_REQ   0x13
 
#define LSEXP_INVALID_O_SID   0x15
 
#define LSEXP_INVALID_OX_RX   0x17
 
#define LSEXP_CMD_IN_PROGRESS   0x19
 
#define LSEXP_PORT_LOGIN_REQ   0x1E
 
#define LSEXP_INVALID_NPORT_ID   0x1F
 
#define LSEXP_INVALID_SEQ_ID   0x21
 
#define LSEXP_INVALID_XCHG   0x23
 
#define LSEXP_INACTIVE_XCHG   0x25
 
#define LSEXP_RQ_REQUIRED   0x27
 
#define LSEXP_OUT_OF_RESOURCE   0x29
 
#define LSEXP_CANT_GIVE_DATA   0x2A
 
#define LSEXP_REQ_UNSUPPORTED   0x2C
 
#define PRLX_PAGE_LEN   0x10
 
#define TPRLO_PAGE_LEN   0x14
 
#define PRLI_FCP_TYPE   0x08
 
#define PRLI_REQ_EXECUTED   0x1 /* acceptRspCode */
 
#define PRLI_NO_RESOURCES   0x2
 
#define PRLI_INIT_INCOMPLETE   0x3
 
#define PRLI_NO_SUCH_PA   0x4
 
#define PRLI_PREDEF_CONFIG   0x5
 
#define PRLI_PARTIAL_SUCCESS   0x6
 
#define PRLI_INVALID_PAGE_CNT   0x7
 
#define PRLO_FCP_TYPE   0x08
 
#define PRLO_REQ_EXECUTED   0x1 /* acceptRspCode */
 
#define PRLO_NO_SUCH_IMAGE   0x4
 
#define PRLO_INVALID_PAGE_CNT   0x7
 
#define FARP_NO_ACTION
 
#define FARP_MATCH_PORT   0x1 /* Match on Responder Port Name */
 
#define FARP_MATCH_NODE   0x2 /* Match on Responder Node Name */
 
#define FARP_MATCH_IP   0x4 /* Match on IP address, not supported */
 
#define FARP_MATCH_IPV4
 
#define FARP_MATCH_IPV6
 
#define FARP_REQUEST_PLOGI   0x1 /* Request for PLOGI */
 
#define FARP_REQUEST_FARPR   0x2 /* Request for FARP Response */
 
#define SCR_FUNC_FABRIC   0x01
 
#define SCR_FUNC_NPORT   0x02
 
#define SCR_FUNC_FULL   0x03
 
#define SCR_CLEAR   0xff
 
#define RNID_HBA   0x7
 
#define RNID_HOST   0xa
 
#define RNID_DRIVER   0xd
 
#define RNID_IPV4   0x1
 
#define RNID_IPV6   0x2
 
#define RNID_TD_SUPPORT   0x1
 
#define RNID_LP_VALID   0x2
 
#define RNID_TOPOLOGY_DISC   0xdf
 
#define rls_rsvd_SHIFT   24
 
#define rls_rsvd_MASK   0x000000ff
 
#define rls_rsvd_WORD   rls
 
#define rls_did_SHIFT   0
 
#define rls_did_MASK   0x00ffffff
 
#define rls_did_WORD   rls
 
#define rrq_rsvd_SHIFT   24
 
#define rrq_rsvd_MASK   0x000000ff
 
#define rrq_rsvd_WORD   rrq
 
#define rrq_did_SHIFT   0
 
#define rrq_did_MASK   0x00ffffff
 
#define rrq_did_WORD   rrq
 
#define rrq_oxid_SHIFT   16
 
#define rrq_oxid_MASK   0xffff
 
#define rrq_oxid_WORD   rrq_exchg
 
#define rrq_rxid_SHIFT   0
 
#define rrq_rxid_MASK   0xffff
 
#define rrq_rxid_WORD   rrq_exchg
 
#define LPFC_MAX_VFN_PER_PFN   255 /* Maximum VFs allowed per ARI */
 
#define LPFC_DEF_VFN_PER_PFN   0 /* Default VFs due to platform limitation*/
 
#define qtov_rsvd0_SHIFT   28
 
#define qtov_rsvd0_MASK   0x0000000f
 
#define qtov_rsvd0_WORD   qtov /* reserved */
 
#define qtov_edtovres_SHIFT   27
 
#define qtov_edtovres_MASK   0x00000001
 
#define qtov_edtovres_WORD   qtov /* E_D_TOV Resolution */
 
#define qtov__rsvd1_SHIFT   19
 
#define qtov_rsvd1_MASK   0x0000003f
 
#define qtov_rsvd1_WORD   qtov /* reserved */
 
#define qtov_rttov_SHIFT   18
 
#define qtov_rttov_MASK   0x00000001
 
#define qtov_rttov_WORD   qtov /* R_T_TOV value */
 
#define qtov_rsvd2_SHIFT   0
 
#define qtov_rsvd2_MASK   0x0003ffff
 
#define qtov_rsvd2_WORD   qtov /* reserved */
 
#define RSCN_ADDRESS_FORMAT_PORT   0x0
 
#define RSCN_ADDRESS_FORMAT_AREA   0x1
 
#define RSCN_ADDRESS_FORMAT_DOMAIN   0x2
 
#define RSCN_ADDRESS_FORMAT_FABRIC   0x3
 
#define RSCN_ADDRESS_FORMAT_MASK   0x3
 
#define SLI_MGMT_GRHL   0x100 /* Get registered HBA list */
 
#define SLI_MGMT_GHAT   0x101 /* Get HBA attributes */
 
#define SLI_MGMT_GRPL   0x102 /* Get registered Port list */
 
#define SLI_MGMT_GPAT   0x110 /* Get Port attributes */
 
#define SLI_MGMT_RHBA   0x200 /* Register HBA */
 
#define SLI_MGMT_RHAT   0x201 /* Register HBA attributes */
 
#define SLI_MGMT_RPRT   0x210 /* Register Port */
 
#define SLI_MGMT_RPA   0x211 /* Register Port attributes */
 
#define SLI_MGMT_DHBA   0x300 /* De-register HBA */
 
#define SLI_MGMT_DPRT   0x310 /* De-register Port */
 
#define SLI_CT_FDMI_Subtypes   0x10
 
#define REJECT_CODE   0x9 /* Unable to perform command request */
 
#define NODE_NAME   0x1
 
#define MANUFACTURER   0x2
 
#define SERIAL_NUMBER   0x3
 
#define MODEL   0x4
 
#define MODEL_DESCRIPTION   0x5
 
#define HARDWARE_VERSION   0x6
 
#define DRIVER_VERSION   0x7
 
#define OPTION_ROM_VERSION   0x8
 
#define FIRMWARE_VERSION   0x9
 
#define OS_NAME_VERSION   0xa
 
#define MAX_CT_PAYLOAD_LEN   0xb
 
#define SUPPORTED_FC4_TYPES   0x1
 
#define SUPPORTED_SPEED   0x2
 
#define PORT_SPEED   0x3
 
#define MAX_FRAME_SIZE   0x4
 
#define OS_DEVICE_NAME   0x5
 
#define HOST_NAME   0x6
 
#define MAX_SLI3_CONFIGURED_RINGS   3
 
#define MAX_SLI3_RINGS   4
 
#define OWN_CHIP   1
 
#define OWN_HOST   0
 
#define IOCB_WORD_SZ   8
 
#define FC_NET_HDR   0x20
 
#define PCI_VENDOR_ID_EMULEX   0x10df
 
#define PCI_DEVICE_ID_FIREFLY   0x1ae5
 
#define PCI_DEVICE_ID_PROTEUS_VF   0xe100
 
#define PCI_DEVICE_ID_BALIUS   0xe131
 
#define PCI_DEVICE_ID_PROTEUS_PF   0xe180
 
#define PCI_DEVICE_ID_LANCER_FC   0xe200
 
#define PCI_DEVICE_ID_LANCER_FC_VF   0xe208
 
#define PCI_DEVICE_ID_LANCER_FCOE   0xe260
 
#define PCI_DEVICE_ID_LANCER_FCOE_VF   0xe268
 
#define PCI_DEVICE_ID_SAT_SMB   0xf011
 
#define PCI_DEVICE_ID_SAT_MID   0xf015
 
#define PCI_DEVICE_ID_RFLY   0xf095
 
#define PCI_DEVICE_ID_PFLY   0xf098
 
#define PCI_DEVICE_ID_LP101   0xf0a1
 
#define PCI_DEVICE_ID_TFLY   0xf0a5
 
#define PCI_DEVICE_ID_BSMB   0xf0d1
 
#define PCI_DEVICE_ID_BMID   0xf0d5
 
#define PCI_DEVICE_ID_ZSMB   0xf0e1
 
#define PCI_DEVICE_ID_ZMID   0xf0e5
 
#define PCI_DEVICE_ID_NEPTUNE   0xf0f5
 
#define PCI_DEVICE_ID_NEPTUNE_SCSP   0xf0f6
 
#define PCI_DEVICE_ID_NEPTUNE_DCSP   0xf0f7
 
#define PCI_DEVICE_ID_SAT   0xf100
 
#define PCI_DEVICE_ID_SAT_SCSP   0xf111
 
#define PCI_DEVICE_ID_SAT_DCSP   0xf112
 
#define PCI_DEVICE_ID_FALCON   0xf180
 
#define PCI_DEVICE_ID_SUPERFLY   0xf700
 
#define PCI_DEVICE_ID_DRAGONFLY   0xf800
 
#define PCI_DEVICE_ID_CENTAUR   0xf900
 
#define PCI_DEVICE_ID_PEGASUS   0xf980
 
#define PCI_DEVICE_ID_THOR   0xfa00
 
#define PCI_DEVICE_ID_VIPER   0xfb00
 
#define PCI_DEVICE_ID_LP10000S   0xfc00
 
#define PCI_DEVICE_ID_LP11000S   0xfc10
 
#define PCI_DEVICE_ID_LPE11000S   0xfc20
 
#define PCI_DEVICE_ID_SAT_S   0xfc40
 
#define PCI_DEVICE_ID_PROTEUS_S   0xfc50
 
#define PCI_DEVICE_ID_HELIOS   0xfd00
 
#define PCI_DEVICE_ID_HELIOS_SCSP   0xfd11
 
#define PCI_DEVICE_ID_HELIOS_DCSP   0xfd12
 
#define PCI_DEVICE_ID_ZEPHYR   0xfe00
 
#define PCI_DEVICE_ID_HORNET   0xfe05
 
#define PCI_DEVICE_ID_ZEPHYR_SCSP   0xfe11
 
#define PCI_DEVICE_ID_ZEPHYR_DCSP   0xfe12
 
#define PCI_VENDOR_ID_SERVERENGINE   0x19a2
 
#define PCI_DEVICE_ID_TIGERSHARK   0x0704
 
#define PCI_DEVICE_ID_TOMCAT   0x0714
 
#define PCI_DEVICE_ID_SKYHAWK   0x0724
 
#define PCI_DEVICE_ID_SKYHAWK_VF   0x072c
 
#define JEDEC_ID_ADDRESS   0x0080001c
 
#define FIREFLY_JEDEC_ID   0x1ACC
 
#define SUPERFLY_JEDEC_ID   0x0020
 
#define DRAGONFLY_JEDEC_ID   0x0021
 
#define DRAGONFLY_V2_JEDEC_ID   0x0025
 
#define CENTAUR_2G_JEDEC_ID   0x0026
 
#define CENTAUR_1G_JEDEC_ID   0x0028
 
#define PEGASUS_ORION_JEDEC_ID   0x0036
 
#define PEGASUS_JEDEC_ID   0x0038
 
#define THOR_JEDEC_ID   0x0012
 
#define HELIOS_JEDEC_ID   0x0364
 
#define ZEPHYR_JEDEC_ID   0x0577
 
#define VIPER_JEDEC_ID   0x4838
 
#define SATURN_JEDEC_ID   0x1004
 
#define HORNET_JDEC_ID   0x2057706D
 
#define JEDEC_ID_MASK   0x0FFFF000
 
#define JEDEC_ID_SHIFT   12
 
#define FC_JEDEC_ID(id)   ((id & JEDEC_ID_MASK) >> JEDEC_ID_SHIFT)
 
#define FF_REG_AREA_SIZE   256
 
#define HA_REG_OFFSET   0 /* Byte offset from register base address */
 
#define HA_R0RE_REQ   0x00000001 /* Bit 0 */
 
#define HA_R0CE_RSP   0x00000002 /* Bit 1 */
 
#define HA_R0ATT   0x00000008 /* Bit 3 */
 
#define HA_R1RE_REQ   0x00000010 /* Bit 4 */
 
#define HA_R1CE_RSP   0x00000020 /* Bit 5 */
 
#define HA_R1ATT   0x00000080 /* Bit 7 */
 
#define HA_R2RE_REQ   0x00000100 /* Bit 8 */
 
#define HA_R2CE_RSP   0x00000200 /* Bit 9 */
 
#define HA_R2ATT   0x00000800 /* Bit 11 */
 
#define HA_R3RE_REQ   0x00001000 /* Bit 12 */
 
#define HA_R3CE_RSP   0x00002000 /* Bit 13 */
 
#define HA_R3ATT   0x00008000 /* Bit 15 */
 
#define HA_LATT   0x20000000 /* Bit 29 */
 
#define HA_MBATT   0x40000000 /* Bit 30 */
 
#define HA_ERATT   0x80000000 /* Bit 31 */
 
#define HA_RXRE_REQ   0x00000001 /* Bit 0 */
 
#define HA_RXCE_RSP   0x00000002 /* Bit 1 */
 
#define HA_RXATT   0x00000008 /* Bit 3 */
 
#define HA_RXMASK   0x0000000f
 
#define HA_R0_CLR_MSK   (HA_R0RE_REQ | HA_R0CE_RSP | HA_R0ATT)
 
#define HA_R1_CLR_MSK   (HA_R1RE_REQ | HA_R1CE_RSP | HA_R1ATT)
 
#define HA_R2_CLR_MSK   (HA_R2RE_REQ | HA_R2CE_RSP | HA_R2ATT)
 
#define HA_R3_CLR_MSK   (HA_R3RE_REQ | HA_R3CE_RSP | HA_R3ATT)
 
#define HA_R0_POS   3
 
#define HA_R1_POS   7
 
#define HA_R2_POS   11
 
#define HA_R3_POS   15
 
#define HA_LE_POS   29
 
#define HA_MB_POS   30
 
#define HA_ER_POS   31
 
#define CA_REG_OFFSET   4 /* Byte offset from register base address */
 
#define CA_R0CE_REQ   0x00000001 /* Bit 0 */
 
#define CA_R0RE_RSP   0x00000002 /* Bit 1 */
 
#define CA_R0ATT   0x00000008 /* Bit 3 */
 
#define CA_R1CE_REQ   0x00000010 /* Bit 4 */
 
#define CA_R1RE_RSP   0x00000020 /* Bit 5 */
 
#define CA_R1ATT   0x00000080 /* Bit 7 */
 
#define CA_R2CE_REQ   0x00000100 /* Bit 8 */
 
#define CA_R2RE_RSP   0x00000200 /* Bit 9 */
 
#define CA_R2ATT   0x00000800 /* Bit 11 */
 
#define CA_R3CE_REQ   0x00001000 /* Bit 12 */
 
#define CA_R3RE_RSP   0x00002000 /* Bit 13 */
 
#define CA_R3ATT   0x00008000 /* Bit 15 */
 
#define CA_MBATT   0x40000000 /* Bit 30 */
 
#define HS_REG_OFFSET   8 /* Byte offset from register base address */
 
#define HS_MBRDY   0x00400000 /* Bit 22 */
 
#define HS_FFRDY   0x00800000 /* Bit 23 */
 
#define HS_FFER8   0x01000000 /* Bit 24 */
 
#define HS_FFER7   0x02000000 /* Bit 25 */
 
#define HS_FFER6   0x04000000 /* Bit 26 */
 
#define HS_FFER5   0x08000000 /* Bit 27 */
 
#define HS_FFER4   0x10000000 /* Bit 28 */
 
#define HS_FFER3   0x20000000 /* Bit 29 */
 
#define HS_FFER2   0x40000000 /* Bit 30 */
 
#define HS_FFER1   0x80000000 /* Bit 31 */
 
#define HS_CRIT_TEMP   0x00000100 /* Bit 8 */
 
#define HS_FFERM   0xFF000100 /* Mask for error bits 31:24 and 8 */
 
#define UNPLUG_ERR   0x00000001 /* Indicate pci hot unplug */
 
#define HC_REG_OFFSET   12 /* Byte offset from register base address */
 
#define HC_MBINT_ENA   0x00000001 /* Bit 0 */
 
#define HC_R0INT_ENA   0x00000002 /* Bit 1 */
 
#define HC_R1INT_ENA   0x00000004 /* Bit 2 */
 
#define HC_R2INT_ENA   0x00000008 /* Bit 3 */
 
#define HC_R3INT_ENA   0x00000010 /* Bit 4 */
 
#define HC_INITHBI   0x02000000 /* Bit 25 */
 
#define HC_INITMB   0x04000000 /* Bit 26 */
 
#define HC_INITFF   0x08000000 /* Bit 27 */
 
#define HC_LAINT_ENA   0x20000000 /* Bit 29 */
 
#define HC_ERINT_ENA   0x80000000 /* Bit 31 */
 
#define MSIX_DFLT_ID   0
 
#define MSIX_RNG0_ID   0
 
#define MSIX_RNG1_ID   1
 
#define MSIX_RNG2_ID   2
 
#define MSIX_RNG3_ID   3
 
#define MSIX_LINK_ID   4
 
#define MSIX_MBOX_ID   5
 
#define MSIX_SPARE0_ID   6
 
#define MSIX_SPARE1_ID   7
 
#define MBX_SHUTDOWN   0x00 /* terminate testing */
 
#define MBX_LOAD_SM   0x01
 
#define MBX_READ_NV   0x02
 
#define MBX_WRITE_NV   0x03
 
#define MBX_RUN_BIU_DIAG   0x04
 
#define MBX_INIT_LINK   0x05
 
#define MBX_DOWN_LINK   0x06
 
#define MBX_CONFIG_LINK   0x07
 
#define MBX_CONFIG_RING   0x09
 
#define MBX_RESET_RING   0x0A
 
#define MBX_READ_CONFIG   0x0B
 
#define MBX_READ_RCONFIG   0x0C
 
#define MBX_READ_SPARM   0x0D
 
#define MBX_READ_STATUS   0x0E
 
#define MBX_READ_RPI   0x0F
 
#define MBX_READ_XRI   0x10
 
#define MBX_READ_REV   0x11
 
#define MBX_READ_LNK_STAT   0x12
 
#define MBX_REG_LOGIN   0x13
 
#define MBX_UNREG_LOGIN   0x14
 
#define MBX_CLEAR_LA   0x16
 
#define MBX_DUMP_MEMORY   0x17
 
#define MBX_DUMP_CONTEXT   0x18
 
#define MBX_RUN_DIAGS   0x19
 
#define MBX_RESTART   0x1A
 
#define MBX_UPDATE_CFG   0x1B
 
#define MBX_DOWN_LOAD   0x1C
 
#define MBX_DEL_LD_ENTRY   0x1D
 
#define MBX_RUN_PROGRAM   0x1E
 
#define MBX_SET_MASK   0x20
 
#define MBX_SET_VARIABLE   0x21
 
#define MBX_UNREG_D_ID   0x23
 
#define MBX_KILL_BOARD   0x24
 
#define MBX_CONFIG_FARP   0x25
 
#define MBX_BEACON   0x2A
 
#define MBX_CONFIG_MSI   0x30
 
#define MBX_HEARTBEAT   0x31
 
#define MBX_WRITE_VPARMS   0x32
 
#define MBX_ASYNCEVT_ENABLE   0x33
 
#define MBX_READ_EVENT_LOG_STATUS   0x37
 
#define MBX_READ_EVENT_LOG   0x38
 
#define MBX_WRITE_EVENT_LOG   0x39
 
#define MBX_PORT_CAPABILITIES   0x3B
 
#define MBX_PORT_IOV_CONTROL   0x3C
 
#define MBX_CONFIG_HBQ   0x7C
 
#define MBX_LOAD_AREA   0x81
 
#define MBX_RUN_BIU_DIAG64   0x84
 
#define MBX_CONFIG_PORT   0x88
 
#define MBX_READ_SPARM64   0x8D
 
#define MBX_READ_RPI64   0x8F
 
#define MBX_REG_LOGIN64   0x93
 
#define MBX_READ_TOPOLOGY   0x95
 
#define MBX_REG_VPI   0x96
 
#define MBX_UNREG_VPI   0x97
 
#define MBX_WRITE_WWN   0x98
 
#define MBX_SET_DEBUG   0x99
 
#define MBX_LOAD_EXP_ROM   0x9C
 
#define MBX_SLI4_CONFIG   0x9B
 
#define MBX_SLI4_REQ_FTRS   0x9D
 
#define MBX_MAX_CMDS   0x9E
 
#define MBX_RESUME_RPI   0x9E
 
#define MBX_SLI2_CMD_MASK   0x80
 
#define MBX_REG_VFI   0x9F
 
#define MBX_REG_FCFI   0xA0
 
#define MBX_UNREG_VFI   0xA1
 
#define MBX_UNREG_FCFI   0xA2
 
#define MBX_INIT_VFI   0xA3
 
#define MBX_INIT_VPI   0xA4
 
#define MBX_ACCESS_VDATA   0xA5
 
#define MBX_AUTH_PORT   0xF8
 
#define MBX_SECURITY_MGMT   0xF9
 
#define CMD_RCV_SEQUENCE_CX   0x01
 
#define CMD_XMIT_SEQUENCE_CR   0x02
 
#define CMD_XMIT_SEQUENCE_CX   0x03
 
#define CMD_XMIT_BCAST_CN   0x04
 
#define CMD_XMIT_BCAST_CX   0x05
 
#define CMD_QUE_RING_BUF_CN   0x06
 
#define CMD_QUE_XRI_BUF_CX   0x07
 
#define CMD_IOCB_CONTINUE_CN   0x08
 
#define CMD_RET_XRI_BUF_CX   0x09
 
#define CMD_ELS_REQUEST_CR   0x0A
 
#define CMD_ELS_REQUEST_CX   0x0B
 
#define CMD_RCV_ELS_REQ_CX   0x0D
 
#define CMD_ABORT_XRI_CN   0x0E
 
#define CMD_ABORT_XRI_CX   0x0F
 
#define CMD_CLOSE_XRI_CN   0x10
 
#define CMD_CLOSE_XRI_CX   0x11
 
#define CMD_CREATE_XRI_CR   0x12
 
#define CMD_CREATE_XRI_CX   0x13
 
#define CMD_GET_RPI_CN   0x14
 
#define CMD_XMIT_ELS_RSP_CX   0x15
 
#define CMD_GET_RPI_CR   0x16
 
#define CMD_XRI_ABORTED_CX   0x17
 
#define CMD_FCP_IWRITE_CR   0x18
 
#define CMD_FCP_IWRITE_CX   0x19
 
#define CMD_FCP_IREAD_CR   0x1A
 
#define CMD_FCP_IREAD_CX   0x1B
 
#define CMD_FCP_ICMND_CR   0x1C
 
#define CMD_FCP_ICMND_CX   0x1D
 
#define CMD_FCP_TSEND_CX   0x1F
 
#define CMD_FCP_TRECEIVE_CX   0x21
 
#define CMD_FCP_TRSP_CX   0x23
 
#define CMD_FCP_AUTO_TRSP_CX   0x29
 
#define CMD_ADAPTER_MSG   0x20
 
#define CMD_ADAPTER_DUMP   0x22
 
#define CMD_ASYNC_STATUS   0x7C
 
#define CMD_RCV_SEQUENCE64_CX   0x81
 
#define CMD_XMIT_SEQUENCE64_CR   0x82
 
#define CMD_XMIT_SEQUENCE64_CX   0x83
 
#define CMD_XMIT_BCAST64_CN   0x84
 
#define CMD_XMIT_BCAST64_CX   0x85
 
#define CMD_QUE_RING_BUF64_CN   0x86
 
#define CMD_QUE_XRI_BUF64_CX   0x87
 
#define CMD_IOCB_CONTINUE64_CN   0x88
 
#define CMD_RET_XRI_BUF64_CX   0x89
 
#define CMD_ELS_REQUEST64_CR   0x8A
 
#define CMD_ELS_REQUEST64_CX   0x8B
 
#define CMD_ABORT_MXRI64_CN   0x8C
 
#define CMD_RCV_ELS_REQ64_CX   0x8D
 
#define CMD_XMIT_ELS_RSP64_CX   0x95
 
#define CMD_XMIT_BLS_RSP64_CX   0x97
 
#define CMD_FCP_IWRITE64_CR   0x98
 
#define CMD_FCP_IWRITE64_CX   0x99
 
#define CMD_FCP_IREAD64_CR   0x9A
 
#define CMD_FCP_IREAD64_CX   0x9B
 
#define CMD_FCP_ICMND64_CR   0x9C
 
#define CMD_FCP_ICMND64_CX   0x9D
 
#define CMD_FCP_TSEND64_CX   0x9F
 
#define CMD_FCP_TRECEIVE64_CX   0xA1
 
#define CMD_FCP_TRSP64_CX   0xA3
 
#define CMD_QUE_XRI64_CX   0xB3
 
#define CMD_IOCB_RCV_SEQ64_CX   0xB5
 
#define CMD_IOCB_RCV_ELS64_CX   0xB7
 
#define CMD_IOCB_RET_XRI64_CX   0xB9
 
#define CMD_IOCB_RCV_CONT64_CX   0xBB
 
#define CMD_GEN_REQUEST64_CR   0xC2
 
#define CMD_GEN_REQUEST64_CX   0xC3
 
#define CMD_IOCB_XMIT_MSEQ64_CR   0xB0
 
#define CMD_IOCB_XMIT_MSEQ64_CX   0xB1
 
#define CMD_IOCB_RCV_SEQ_LIST64_CX   0xC1
 
#define CMD_IOCB_RCV_ELS_LIST64_CX   0xCD
 
#define CMD_IOCB_CLOSE_EXTENDED_CN   0xB6
 
#define CMD_IOCB_ABORT_EXTENDED_CN   0xBA
 
#define CMD_IOCB_RET_HBQE64_CN   0xCA
 
#define CMD_IOCB_FCP_IBIDIR64_CR   0xAC
 
#define CMD_IOCB_FCP_IBIDIR64_CX   0xAD
 
#define CMD_IOCB_FCP_ITASKMGT64_CX   0xAF
 
#define CMD_IOCB_LOGENTRY_CN   0x94
 
#define CMD_IOCB_LOGENTRY_ASYNC_CN   0x96
 
#define DSSCMD_IWRITE64_CR   0xF8
 
#define DSSCMD_IWRITE64_CX   0xF9
 
#define DSSCMD_IREAD64_CR   0xFA
 
#define DSSCMD_IREAD64_CX   0xFB
 
#define CMD_MAX_IOCB_CMD   0xFB
 
#define CMD_IOCB_MASK   0xff
 
#define MAX_MSG_DATA
 
#define LPFC_MAX_ADPTMSG   32 /* max msg data */
 
#define MBX_SUCCESS   0
 
#define MBXERR_NUM_RINGS   1
 
#define MBXERR_NUM_IOCBS   2
 
#define MBXERR_IOCBS_EXCEEDED   3
 
#define MBXERR_BAD_RING_NUMBER   4
 
#define MBXERR_MASK_ENTRIES_RANGE   5
 
#define MBXERR_MASKS_EXCEEDED   6
 
#define MBXERR_BAD_PROFILE   7
 
#define MBXERR_BAD_DEF_CLASS   8
 
#define MBXERR_BAD_MAX_RESPONDER   9
 
#define MBXERR_BAD_MAX_ORIGINATOR   10
 
#define MBXERR_RPI_REGISTERED   11
 
#define MBXERR_RPI_FULL   12
 
#define MBXERR_NO_RESOURCES   13
 
#define MBXERR_BAD_RCV_LENGTH   14
 
#define MBXERR_DMA_ERROR   15
 
#define MBXERR_ERROR   16
 
#define MBXERR_LINK_DOWN   0x33
 
#define MBXERR_SEC_NO_PERMISSION   0xF02
 
#define MBX_NOT_FINISHED   255
 
#define MBX_BUSY   0xffffff /* Attempted cmd to busy Mailbox */
 
#define MBX_TIMEOUT   0xfffffe /* time-out expired waiting for */
 
#define TEMPERATURE_OFFSET   0xB0 /* Slim offset for critical temperature event */
 
#define LPFC_PDE5_DESCRIPTOR   0x85
 
#define LPFC_PDE6_DESCRIPTOR   0x86
 
#define LPFC_PDE7_DESCRIPTOR   0x87
 
#define BG_OP_IN_NODIF_OUT_CRC   0x0
 
#define BG_OP_IN_CRC_OUT_NODIF   0x1
 
#define BG_OP_IN_NODIF_OUT_CSUM   0x2
 
#define BG_OP_IN_CSUM_OUT_NODIF   0x3
 
#define BG_OP_IN_CRC_OUT_CRC   0x4
 
#define BG_OP_IN_CSUM_OUT_CSUM   0x5
 
#define BG_OP_IN_CRC_OUT_CSUM   0x6
 
#define BG_OP_IN_CSUM_OUT_CRC   0x7
 
#define pde5_type_SHIFT   24
 
#define pde5_type_MASK   0x000000ff
 
#define pde5_type_WORD   word0
 
#define pde5_rsvd0_SHIFT   0
 
#define pde5_rsvd0_MASK   0x00ffffff
 
#define pde5_rsvd0_WORD   word0
 
#define pde6_type_SHIFT   24
 
#define pde6_type_MASK   0x000000ff
 
#define pde6_type_WORD   word0
 
#define pde6_rsvd0_SHIFT   0
 
#define pde6_rsvd0_MASK   0x00ffffff
 
#define pde6_rsvd0_WORD   word0
 
#define pde6_rsvd1_SHIFT   26
 
#define pde6_rsvd1_MASK   0x0000003f
 
#define pde6_rsvd1_WORD   word1
 
#define pde6_na_SHIFT   25
 
#define pde6_na_MASK   0x00000001
 
#define pde6_na_WORD   word1
 
#define pde6_rsvd2_SHIFT   16
 
#define pde6_rsvd2_MASK   0x000001FF
 
#define pde6_rsvd2_WORD   word1
 
#define pde6_apptagtr_SHIFT   0
 
#define pde6_apptagtr_MASK   0x0000ffff
 
#define pde6_apptagtr_WORD   word1
 
#define pde6_optx_SHIFT   28
 
#define pde6_optx_MASK   0x0000000f
 
#define pde6_optx_WORD   word2
 
#define pde6_oprx_SHIFT   24
 
#define pde6_oprx_MASK   0x0000000f
 
#define pde6_oprx_WORD   word2
 
#define pde6_nr_SHIFT   23
 
#define pde6_nr_MASK   0x00000001
 
#define pde6_nr_WORD   word2
 
#define pde6_ce_SHIFT   22
 
#define pde6_ce_MASK   0x00000001
 
#define pde6_ce_WORD   word2
 
#define pde6_re_SHIFT   21
 
#define pde6_re_MASK   0x00000001
 
#define pde6_re_WORD   word2
 
#define pde6_ae_SHIFT   20
 
#define pde6_ae_MASK   0x00000001
 
#define pde6_ae_WORD   word2
 
#define pde6_ai_SHIFT   19
 
#define pde6_ai_MASK   0x00000001
 
#define pde6_ai_WORD   word2
 
#define pde6_bs_SHIFT   16
 
#define pde6_bs_MASK   0x00000007
 
#define pde6_bs_WORD   word2
 
#define pde6_apptagval_SHIFT   0
 
#define pde6_apptagval_MASK   0x0000ffff
 
#define pde6_apptagval_WORD   word2
 
#define pde7_type_SHIFT   24
 
#define pde7_type_MASK   0x000000ff
 
#define pde7_type_WORD   word0
 
#define pde7_rsvd0_SHIFT   0
 
#define pde7_rsvd0_MASK   0x00ffffff
 
#define pde7_rsvd0_WORD   word0
 
#define lpfc_event_log_SHIFT   29
 
#define lpfc_event_log_MASK   0x00000001
 
#define lpfc_event_log_WORD   word1
 
#define USE_MAILBOX_RESPONSE   1
 
#define FLAGS_TOPOLOGY_MODE_LOOP_PT   0x00 /* Attempt loop then pt-pt */
 
#define FLAGS_LOCAL_LB   0x01 /* link_flags (=1) ENDEC loopback */
 
#define FLAGS_TOPOLOGY_MODE_PT_PT   0x02 /* Attempt pt-pt only */
 
#define FLAGS_TOPOLOGY_MODE_LOOP   0x04 /* Attempt loop only */
 
#define FLAGS_TOPOLOGY_MODE_PT_LOOP   0x06 /* Attempt pt-pt then loop */
 
#define FLAGS_UNREG_LOGIN_ALL   0x08 /* UNREG_LOGIN all on link down */
 
#define FLAGS_LIRP_LILP   0x80 /* LIRP / LILP is disabled */
 
#define FLAGS_TOPOLOGY_FAILOVER   0x0400 /* Bit 10 */
 
#define FLAGS_LINK_SPEED   0x0800 /* Bit 11 */
 
#define FLAGS_IMED_ABORT   0x04000 /* Bit 14 */
 
#define LINK_SPEED_AUTO   0x0 /* Auto selection */
 
#define LINK_SPEED_1G   0x1 /* 1 Gigabaud */
 
#define LINK_SPEED_2G   0x2 /* 2 Gigabaud */
 
#define LINK_SPEED_4G   0x4 /* 4 Gigabaud */
 
#define LINK_SPEED_8G   0x8 /* 8 Gigabaud */
 
#define LINK_SPEED_10G   0x10 /* 10 Gigabaud */
 
#define LINK_SPEED_16G   0x11 /* 16 Gigabaud */
 
#define LMT_RESERVED   0x000 /* Not used */
 
#define LMT_1Gb   0x004
 
#define LMT_2Gb   0x008
 
#define LMT_4Gb   0x040
 
#define LMT_8Gb   0x080
 
#define LMT_10Gb   0x100
 
#define LMT_16Gb   0x200
 
#define lpfc_mbx_read_top_fa_SHIFT   12
 
#define lpfc_mbx_read_top_fa_MASK   0x00000001
 
#define lpfc_mbx_read_top_fa_WORD   word2
 
#define lpfc_mbx_read_top_mm_SHIFT   11
 
#define lpfc_mbx_read_top_mm_MASK   0x00000001
 
#define lpfc_mbx_read_top_mm_WORD   word2
 
#define lpfc_mbx_read_top_pb_SHIFT   9
 
#define lpfc_mbx_read_top_pb_MASK   0X00000001
 
#define lpfc_mbx_read_top_pb_WORD   word2
 
#define lpfc_mbx_read_top_il_SHIFT   8
 
#define lpfc_mbx_read_top_il_MASK   0x00000001
 
#define lpfc_mbx_read_top_il_WORD   word2
 
#define lpfc_mbx_read_top_att_type_SHIFT   0
 
#define lpfc_mbx_read_top_att_type_MASK   0x000000FF
 
#define lpfc_mbx_read_top_att_type_WORD   word2
 
#define LPFC_ATT_RESERVED   0x00 /* Reserved - attType */
 
#define LPFC_ATT_LINK_UP   0x01 /* Link is up */
 
#define LPFC_ATT_LINK_DOWN   0x02 /* Link is down */
 
#define lpfc_mbx_read_top_alpa_granted_SHIFT   24
 
#define lpfc_mbx_read_top_alpa_granted_MASK   0x000000FF
 
#define lpfc_mbx_read_top_alpa_granted_WORD   word3
 
#define lpfc_mbx_read_top_lip_alps_SHIFT   16
 
#define lpfc_mbx_read_top_lip_alps_MASK   0x000000FF
 
#define lpfc_mbx_read_top_lip_alps_WORD   word3
 
#define lpfc_mbx_read_top_lip_type_SHIFT   8
 
#define lpfc_mbx_read_top_lip_type_MASK   0x000000FF
 
#define lpfc_mbx_read_top_lip_type_WORD   word3
 
#define lpfc_mbx_read_top_topology_SHIFT   0
 
#define lpfc_mbx_read_top_topology_MASK   0x000000FF
 
#define lpfc_mbx_read_top_topology_WORD   word3
 
#define LPFC_TOPOLOGY_PT_PT   0x01 /* Topology is pt-pt / pt-fabric */
 
#define LPFC_TOPOLOGY_LOOP   0x02 /* Topology is FC-AL */
 
#define LPFC_TOPOLOGY_MM   0x05 /* maint mode zephtr to menlo */
 
#define LPFC_ALPA_MAP_SIZE   128
 
#define lpfc_mbx_read_top_ld_lu_SHIFT   31
 
#define lpfc_mbx_read_top_ld_lu_MASK   0x00000001
 
#define lpfc_mbx_read_top_ld_lu_WORD   word7
 
#define lpfc_mbx_read_top_ld_tf_SHIFT   30
 
#define lpfc_mbx_read_top_ld_tf_MASK   0x00000001
 
#define lpfc_mbx_read_top_ld_tf_WORD   word7
 
#define lpfc_mbx_read_top_ld_link_spd_SHIFT   8
 
#define lpfc_mbx_read_top_ld_link_spd_MASK   0x000000FF
 
#define lpfc_mbx_read_top_ld_link_spd_WORD   word7
 
#define lpfc_mbx_read_top_ld_nl_port_SHIFT   4
 
#define lpfc_mbx_read_top_ld_nl_port_MASK   0x0000000F
 
#define lpfc_mbx_read_top_ld_nl_port_WORD   word7
 
#define lpfc_mbx_read_top_ld_tx_SHIFT   2
 
#define lpfc_mbx_read_top_ld_tx_MASK   0x00000003
 
#define lpfc_mbx_read_top_ld_tx_WORD   word7
 
#define lpfc_mbx_read_top_ld_rx_SHIFT   0
 
#define lpfc_mbx_read_top_ld_rx_MASK   0x00000003
 
#define lpfc_mbx_read_top_ld_rx_WORD   word7
 
#define lpfc_mbx_read_top_lu_SHIFT   31
 
#define lpfc_mbx_read_top_lu_MASK   0x00000001
 
#define lpfc_mbx_read_top_lu_WORD   word8
 
#define lpfc_mbx_read_top_tf_SHIFT   30
 
#define lpfc_mbx_read_top_tf_MASK   0x00000001
 
#define lpfc_mbx_read_top_tf_WORD   word8
 
#define lpfc_mbx_read_top_link_spd_SHIFT   8
 
#define lpfc_mbx_read_top_link_spd_MASK   0x000000FF
 
#define lpfc_mbx_read_top_link_spd_WORD   word8
 
#define lpfc_mbx_read_top_nl_port_SHIFT   4
 
#define lpfc_mbx_read_top_nl_port_MASK   0x0000000F
 
#define lpfc_mbx_read_top_nl_port_WORD   word8
 
#define lpfc_mbx_read_top_tx_SHIFT   2
 
#define lpfc_mbx_read_top_tx_MASK   0x00000003
 
#define lpfc_mbx_read_top_tx_WORD   word8
 
#define lpfc_mbx_read_top_rx_SHIFT   0
 
#define lpfc_mbx_read_top_rx_MASK   0x00000003
 
#define lpfc_mbx_read_top_rx_WORD   word8
 
#define LPFC_LINK_SPEED_UNKNOWN   0x0
 
#define LPFC_LINK_SPEED_1GHZ   0x04
 
#define LPFC_LINK_SPEED_2GHZ   0x08
 
#define LPFC_LINK_SPEED_4GHZ   0x10
 
#define LPFC_LINK_SPEED_8GHZ   0x20
 
#define LPFC_LINK_SPEED_10GHZ   0x40
 
#define LPFC_LINK_SPEED_16GHZ   0x80
 
#define DMP_MEM_REG   0x1
 
#define DMP_NV_PARAMS   0x2
 
#define DMP_LMSD   0x3 /* Link Module Serial Data */
 
#define DMP_WELL_KNOWN   0x4
 
#define DMP_REGION_VPD   0xe
 
#define DMP_VPD_SIZE   0x400 /* maximum amount of VPD */
 
#define DMP_RSP_OFFSET   0x14 /* word 5 contains first word of rsp */
 
#define DMP_RSP_SIZE   0x6C /* maximum of 27 words of rsp data */
 
#define DMP_REGION_VPORT   0x16 /* VPort info region */
 
#define DMP_VPORT_REGION_SIZE   0x200
 
#define DMP_MBOX_OFFSET_WORD   0x5
 
#define DMP_REGION_23   0x17 /* fcoe param and port state region */
 
#define DMP_RGN23_SIZE   0x400
 
#define WAKE_UP_PARMS_REGION_ID   4
 
#define WAKE_UP_PARMS_WORD_SIZE   15
 
#define VPORT_INFO_SIG   0x32324752
 
#define VPORT_INFO_REV_MASK   0xff
 
#define VPORT_INFO_REV   0x1
 
#define MAX_STATIC_VPORT_COUNT   16
 
#define SLIMOFF   0x30 /* WORD */
 
#define FEATURE_INITIAL_SLI2   0x01
 
#define TYPE_NATIVE_SLI2   0x01
 
#define MAILBOX_CMD_WSIZE   32
 
#define MAILBOX_CMD_SIZE   (MAILBOX_CMD_WSIZE * sizeof(uint32_t))
 
#define MAILBOX_EXT_WSIZE   512
 
#define MAILBOX_EXT_SIZE   (MAILBOX_EXT_WSIZE * sizeof(uint32_t))
 
#define MAILBOX_HBA_EXT_OFFSET   0x100
 
#define MAILBOX_SYSFS_MAX   4096
 
#define RJT_BAD_D_ID   0x01 /* Invalid D_ID field */
 
#define RJT_BAD_S_ID   0x02 /* Invalid S_ID field */
 
#define RJT_UNAVAIL_TEMP   0x03 /* N_Port unavailable temp. */
 
#define RJT_UNAVAIL_PERM   0x04 /* N_Port unavailable perm. */
 
#define RJT_UNSUP_CLASS   0x05 /* Class not supported */
 
#define RJT_DELIM_ERR   0x06 /* Delimiter usage error */
 
#define RJT_UNSUP_TYPE   0x07 /* Type not supported */
 
#define RJT_BAD_CONTROL   0x08 /* Invalid link conrtol */
 
#define RJT_BAD_RCTL   0x09 /* R_CTL invalid */
 
#define RJT_BAD_FCTL   0x0A /* F_CTL invalid */
 
#define RJT_BAD_OXID   0x0B /* OX_ID invalid */
 
#define RJT_BAD_RXID   0x0C /* RX_ID invalid */
 
#define RJT_BAD_SEQID   0x0D /* SEQ_ID invalid */
 
#define RJT_BAD_DFCTL   0x0E /* DF_CTL invalid */
 
#define RJT_BAD_SEQCNT   0x0F /* SEQ_CNT invalid */
 
#define RJT_BAD_PARM   0x10 /* Param. field invalid */
 
#define RJT_XCHG_ERR   0x11 /* Exchange error */
 
#define RJT_PROT_ERR   0x12 /* Protocol error */
 
#define RJT_BAD_LENGTH   0x13 /* Invalid Length */
 
#define RJT_UNEXPECTED_ACK   0x14 /* Unexpected ACK */
 
#define RJT_LOGIN_REQUIRED   0x16 /* Login required */
 
#define RJT_TOO_MANY_SEQ   0x17 /* Excessive sequences */
 
#define RJT_XCHG_NOT_STRT   0x18 /* Exchange not started */
 
#define RJT_UNSUP_SEC_HDR   0x19 /* Security hdr not supported */
 
#define RJT_UNAVAIL_PATH   0x1A /* Fabric Path not available */
 
#define RJT_VENDOR_UNIQUE   0xFF /* Vendor unique error */
 
#define IOERR_SUCCESS   0x00 /* statLocalError */
 
#define IOERR_MISSING_CONTINUE   0x01
 
#define IOERR_SEQUENCE_TIMEOUT   0x02
 
#define IOERR_INTERNAL_ERROR   0x03
 
#define IOERR_INVALID_RPI   0x04
 
#define IOERR_NO_XRI   0x05
 
#define IOERR_ILLEGAL_COMMAND   0x06
 
#define IOERR_XCHG_DROPPED   0x07
 
#define IOERR_ILLEGAL_FIELD   0x08
 
#define IOERR_BAD_CONTINUE   0x09
 
#define IOERR_TOO_MANY_BUFFERS   0x0A
 
#define IOERR_RCV_BUFFER_WAITING   0x0B
 
#define IOERR_NO_CONNECTION   0x0C
 
#define IOERR_TX_DMA_FAILED   0x0D
 
#define IOERR_RX_DMA_FAILED   0x0E
 
#define IOERR_ILLEGAL_FRAME   0x0F
 
#define IOERR_EXTRA_DATA   0x10
 
#define IOERR_NO_RESOURCES   0x11
 
#define IOERR_RESERVED   0x12
 
#define IOERR_ILLEGAL_LENGTH   0x13
 
#define IOERR_UNSUPPORTED_FEATURE   0x14
 
#define IOERR_ABORT_IN_PROGRESS   0x15
 
#define IOERR_ABORT_REQUESTED   0x16
 
#define IOERR_RECEIVE_BUFFER_TIMEOUT   0x17
 
#define IOERR_LOOP_OPEN_FAILURE   0x18
 
#define IOERR_RING_RESET   0x19
 
#define IOERR_LINK_DOWN   0x1A
 
#define IOERR_CORRUPTED_DATA   0x1B
 
#define IOERR_CORRUPTED_RPI   0x1C
 
#define IOERR_OUT_OF_ORDER_DATA   0x1D
 
#define IOERR_OUT_OF_ORDER_ACK   0x1E
 
#define IOERR_DUP_FRAME   0x1F
 
#define IOERR_LINK_CONTROL_FRAME   0x20 /* ACK_N received */
 
#define IOERR_BAD_HOST_ADDRESS   0x21
 
#define IOERR_RCV_HDRBUF_WAITING   0x22
 
#define IOERR_MISSING_HDR_BUFFER   0x23
 
#define IOERR_MSEQ_CHAIN_CORRUPTED   0x24
 
#define IOERR_ABORTMULT_REQUESTED   0x25
 
#define IOERR_BUFFER_SHORTAGE   0x28
 
#define IOERR_DEFAULT   0x29
 
#define IOERR_CNT   0x2A
 
#define IOERR_SLER_FAILURE   0x46
 
#define IOERR_SLER_CMD_RCV_FAILURE   0x47
 
#define IOERR_SLER_REC_RJT_ERR   0x48
 
#define IOERR_SLER_REC_SRR_RETRY_ERR   0x49
 
#define IOERR_SLER_SRR_RJT_ERR   0x4A
 
#define IOERR_SLER_RRQ_RJT_ERR   0x4C
 
#define IOERR_SLER_RRQ_RETRY_ERR   0x4D
 
#define IOERR_SLER_ABTS_ERR   0x4E
 
#define IOERR_ELXSEC_KEY_UNWRAP_ERROR   0xF0
 
#define IOERR_ELXSEC_KEY_UNWRAP_COMPARE_ERROR   0xF1
 
#define IOERR_ELXSEC_CRYPTO_ERROR   0xF2
 
#define IOERR_ELXSEC_CRYPTO_COMPARE_ERROR   0xF3
 
#define IOERR_DRVR_MASK   0x100
 
#define IOERR_SLI_DOWN   0x101 /* ulpStatus - Driver defined */
 
#define IOERR_SLI_BRESET   0x102
 
#define IOERR_SLI_ABORTED   0x103
 
#define IOERR_PARAM_MASK   0x1ff
 
#define BC   0x02 /* Broadcast Received - Fctl */
 
#define SI   0x04 /* Sequence Initiative */
 
#define LA   0x08 /* Ignore Link Attention state */
 
#define LS   0x80 /* Last Sequence */
 
#define ABORT_TYPE_ABTX   0x00000000
 
#define ABORT_TYPE_ABTS   0x00000001
 
#define xmit_els_remoteID   xrsqRo
 
#define ASYNC_TEMP_WARN   0x100
 
#define ASYNC_TEMP_SAFE   0x101
 
#define ASYNC_STATUS_CN   0x102
 
#define BGS_BIDIR_BG_PROF_MASK   0xff000000
 
#define BGS_BIDIR_BG_PROF_SHIFT   24
 
#define BGS_BIDIR_ERR_COND_FLAGS_MASK   0x003f0000
 
#define BGS_BIDIR_ERR_COND_SHIFT   16
 
#define BGS_BG_PROFILE_MASK   0x0000ff00
 
#define BGS_BG_PROFILE_SHIFT   8
 
#define BGS_INVALID_PROF_MASK   0x00000020
 
#define BGS_INVALID_PROF_SHIFT   5
 
#define BGS_UNINIT_DIF_BLOCK_MASK   0x00000010
 
#define BGS_UNINIT_DIF_BLOCK_SHIFT   4
 
#define BGS_HI_WATER_MARK_PRESENT_MASK   0x00000008
 
#define BGS_HI_WATER_MARK_PRESENT_SHIFT   3
 
#define BGS_REFTAG_ERR_MASK   0x00000004
 
#define BGS_REFTAG_ERR_SHIFT   2
 
#define BGS_APPTAG_ERR_MASK   0x00000002
 
#define BGS_APPTAG_ERR_SHIFT   1
 
#define BGS_GUARD_ERR_MASK   0x00000001
 
#define BGS_GUARD_ERR_SHIFT   0
 
#define LPFC_EXT_DATA_BDE_COUNT   3
 
#define ulpContext   un1.t1.ulpContext
 
#define ulpIoTag   un1.t1.ulpIoTag
 
#define ulpIoTag0   un1.t2.ulpIoTag0
 
#define ulpCt_h   ulpXS
 
#define ulpCt_l   ulpFCP2Rcvy
 
#define IOCB_FCP   1 /* IOCB is used for FCP ELS cmds-ulpRsvByte */
 
#define IOCB_IP   2 /* IOCB is used for IP ELS cmds */
 
#define PARM_UNUSED   0 /* PU field (Word 4) not used */
 
#define PARM_REL_OFF   1 /* PU field (Word 4) = R. O. */
 
#define PARM_READ_CHECK   2 /* PU field (Word 4) = Data Transfer Length */
 
#define PARM_NPIV_DID   3
 
#define CLASS1   0 /* Class 1 */
 
#define CLASS2   1 /* Class 2 */
 
#define CLASS3   2 /* Class 3 */
 
#define CLASS_FCP_INTERMIX   7 /* FCP Data->Cls 1, all else->Cls 2 */
 
#define IOSTAT_SUCCESS   0x0 /* ulpStatus - HBA defined */
 
#define IOSTAT_FCP_RSP_ERROR   0x1
 
#define IOSTAT_REMOTE_STOP   0x2
 
#define IOSTAT_LOCAL_REJECT   0x3
 
#define IOSTAT_NPORT_RJT   0x4
 
#define IOSTAT_FABRIC_RJT   0x5
 
#define IOSTAT_NPORT_BSY   0x6
 
#define IOSTAT_FABRIC_BSY   0x7
 
#define IOSTAT_INTERMED_RSP   0x8
 
#define IOSTAT_LS_RJT   0x9
 
#define IOSTAT_BA_RJT   0xA
 
#define IOSTAT_RSVD1   0xB
 
#define IOSTAT_RSVD2   0xC
 
#define IOSTAT_RSVD3   0xD
 
#define IOSTAT_RSVD4   0xE
 
#define IOSTAT_NEED_BUFFER   0xF
 
#define IOSTAT_DRIVER_REJECT   0x10 /* ulpStatus - Driver defined */
 
#define IOSTAT_DEFAULT   0xF /* Same as rsvd5 for now */
 
#define IOSTAT_CNT   0x11
 
#define SLI1_SLIM_SIZE   (4 * 1024)
 
#define SLI2_SLIM_SIZE   (64 * 1024)
 
#define MAX_SLI2_IOCB   498
 
#define MAX_SLIM_IOCB_SIZE
 
#define LPFC_TOTAL_HBQ_SIZE
 
#define MENLO_TRANSPORT_TYPE   0xfe
 
#define MENLO_CONTEXT   0
 
#define MENLO_PU   3
 
#define MENLO_TIMEOUT   30
 
#define SETVAR_MLOMNT   0x103107
 
#define SETVAR_MLORST   0x103007
 
#define BPL_ALIGN_SZ   8 /* 8 byte alignment for bpl and mbufs */
 

Typedefs

typedef struct _LOGO LOGO
 
typedef struct _PRLI PRLI
 
typedef struct _PRLO PRLO
 
typedef struct _ADISC ADISC
 
typedef struct _FARP FARP
 
typedef struct _FAN FAN
 
typedef struct _SCR SCR
 
typedef struct _RNID_TOP_DISC RNID_TOP_DISC
 
typedef struct _RNID RNID
 
typedef struct _RPS RPS
 
typedef struct _RPS_RSP RPS_RSP
 
typedef struct _RPL RPL
 
typedef struct _PORT_NUM_BLK PORT_NUM_BLK
 
typedef struct _RPL_RSP RPL_RSP
 
typedef struct _D_ID D_ID
 
typedef struct _ELS_PKT ELS_PKT
 
typedef struct ULP_BDL ULP_BDL
 
typedef struct _SLI2_RDSC SLI2_RDSC
 
typedef struct _PCB PCB_t
 
typedef struct _IOCB IOCB_t
 

Enumerations

enum  lpfc_protgrp_type { LPFC_PG_TYPE_INVALID = 0, LPFC_PG_TYPE_NO_DIF, LPFC_PG_TYPE_EMBD_DIF, LPFC_PG_TYPE_DIF_BUF }
 

Macro Definition Documentation

#define ABORT_TYPE_ABTS   0x00000001

Definition at line 3320 of file lpfc_hw.h.

#define ABORT_TYPE_ABTX   0x00000000

Definition at line 3319 of file lpfc_hw.h.

#define ASYNC_STATUS_CN   0x102

Definition at line 3483 of file lpfc_hw.h.

#define ASYNC_TEMP_SAFE   0x101

Definition at line 3482 of file lpfc_hw.h.

#define ASYNC_TEMP_WARN   0x100

Definition at line 3481 of file lpfc_hw.h.

#define BC   0x02 /* Broadcast Received - Fctl */

Definition at line 3260 of file lpfc_hw.h.

#define Bcast_DID   0xffffffU

Definition at line 25 of file lpfc_hw.h.

#define BG_OP_IN_CRC_OUT_CRC   0x4

Definition at line 1659 of file lpfc_hw.h.

#define BG_OP_IN_CRC_OUT_CSUM   0x6

Definition at line 1661 of file lpfc_hw.h.

#define BG_OP_IN_CRC_OUT_NODIF   0x1

Definition at line 1656 of file lpfc_hw.h.

#define BG_OP_IN_CSUM_OUT_CRC   0x7

Definition at line 1662 of file lpfc_hw.h.

#define BG_OP_IN_CSUM_OUT_CSUM   0x5

Definition at line 1660 of file lpfc_hw.h.

#define BG_OP_IN_CSUM_OUT_NODIF   0x3

Definition at line 1658 of file lpfc_hw.h.

#define BG_OP_IN_NODIF_OUT_CRC   0x0

Definition at line 1655 of file lpfc_hw.h.

#define BG_OP_IN_NODIF_OUT_CSUM   0x2

Definition at line 1657 of file lpfc_hw.h.

#define BGS_APPTAG_ERR_MASK   0x00000002

Definition at line 3546 of file lpfc_hw.h.

#define BGS_APPTAG_ERR_SHIFT   1

Definition at line 3547 of file lpfc_hw.h.

#define BGS_BG_PROFILE_MASK   0x0000ff00

Definition at line 3536 of file lpfc_hw.h.

#define BGS_BG_PROFILE_SHIFT   8

Definition at line 3537 of file lpfc_hw.h.

#define BGS_BIDIR_BG_PROF_MASK   0xff000000

Definition at line 3532 of file lpfc_hw.h.

#define BGS_BIDIR_BG_PROF_SHIFT   24

Definition at line 3533 of file lpfc_hw.h.

#define BGS_BIDIR_ERR_COND_FLAGS_MASK   0x003f0000

Definition at line 3534 of file lpfc_hw.h.

#define BGS_BIDIR_ERR_COND_SHIFT   16

Definition at line 3535 of file lpfc_hw.h.

#define BGS_GUARD_ERR_MASK   0x00000001

Definition at line 3548 of file lpfc_hw.h.

#define BGS_GUARD_ERR_SHIFT   0

Definition at line 3549 of file lpfc_hw.h.

#define BGS_HI_WATER_MARK_PRESENT_MASK   0x00000008

Definition at line 3542 of file lpfc_hw.h.

#define BGS_HI_WATER_MARK_PRESENT_SHIFT   3

Definition at line 3543 of file lpfc_hw.h.

#define BGS_INVALID_PROF_MASK   0x00000020

Definition at line 3538 of file lpfc_hw.h.

#define BGS_INVALID_PROF_SHIFT   5

Definition at line 3539 of file lpfc_hw.h.

#define BGS_REFTAG_ERR_MASK   0x00000004

Definition at line 3544 of file lpfc_hw.h.

#define BGS_REFTAG_ERR_SHIFT   2

Definition at line 3545 of file lpfc_hw.h.

#define BGS_UNINIT_DIF_BLOCK_MASK   0x00000010

Definition at line 3540 of file lpfc_hw.h.

#define BGS_UNINIT_DIF_BLOCK_SHIFT   4

Definition at line 3541 of file lpfc_hw.h.

#define BPL_ALIGN_SZ   8 /* 8 byte alignment for bpl and mbufs */

Definition at line 3837 of file lpfc_hw.h.

#define CA_MBATT   0x40000000 /* Bit 30 */

Definition at line 1340 of file lpfc_hw.h.

#define CA_R0ATT   0x00000008 /* Bit 3 */

Definition at line 1330 of file lpfc_hw.h.

#define CA_R0CE_REQ   0x00000001 /* Bit 0 */

Definition at line 1328 of file lpfc_hw.h.

#define CA_R0RE_RSP   0x00000002 /* Bit 1 */

Definition at line 1329 of file lpfc_hw.h.

#define CA_R1ATT   0x00000080 /* Bit 7 */

Definition at line 1333 of file lpfc_hw.h.

#define CA_R1CE_REQ   0x00000010 /* Bit 4 */

Definition at line 1331 of file lpfc_hw.h.

#define CA_R1RE_RSP   0x00000020 /* Bit 5 */

Definition at line 1332 of file lpfc_hw.h.

#define CA_R2ATT   0x00000800 /* Bit 11 */

Definition at line 1336 of file lpfc_hw.h.

#define CA_R2CE_REQ   0x00000100 /* Bit 8 */

Definition at line 1334 of file lpfc_hw.h.

#define CA_R2RE_RSP   0x00000200 /* Bit 9 */

Definition at line 1335 of file lpfc_hw.h.

#define CA_R3ATT   0x00008000 /* Bit 15 */

Definition at line 1339 of file lpfc_hw.h.

#define CA_R3CE_REQ   0x00001000 /* Bit 12 */

Definition at line 1337 of file lpfc_hw.h.

#define CA_R3RE_RSP   0x00002000 /* Bit 13 */

Definition at line 1338 of file lpfc_hw.h.

#define CA_REG_OFFSET   4 /* Byte offset from register base address */

Definition at line 1326 of file lpfc_hw.h.

#define CENTAUR_1G_JEDEC_ID   0x0028

Definition at line 1259 of file lpfc_hw.h.

#define CENTAUR_2G_JEDEC_ID   0x0026

Definition at line 1258 of file lpfc_hw.h.

#define CLASS1   0 /* Class 1 */

Definition at line 3738 of file lpfc_hw.h.

#define CLASS2   1 /* Class 2 */

Definition at line 3739 of file lpfc_hw.h.

#define CLASS3   2 /* Class 3 */

Definition at line 3740 of file lpfc_hw.h.

#define CLASS_FCP_INTERMIX   7 /* FCP Data->Cls 1, all else->Cls 2 */

Definition at line 3741 of file lpfc_hw.h.

#define clean_address_bit   request_multiple_Nport /* Word 1, bit 31 */

Definition at line 351 of file lpfc_hw.h.

#define CMD_ABORT_MXRI64_CN   0x8C

Definition at line 1516 of file lpfc_hw.h.

#define CMD_ABORT_XRI_CN   0x0E

Definition at line 1478 of file lpfc_hw.h.

#define CMD_ABORT_XRI_CX   0x0F

Definition at line 1479 of file lpfc_hw.h.

#define CMD_ADAPTER_DUMP   0x22

Definition at line 1500 of file lpfc_hw.h.

#define CMD_ADAPTER_MSG   0x20

Definition at line 1499 of file lpfc_hw.h.

#define CMD_ASYNC_STATUS   0x7C

Definition at line 1504 of file lpfc_hw.h.

#define CMD_CLOSE_XRI_CN   0x10

Definition at line 1480 of file lpfc_hw.h.

#define CMD_CLOSE_XRI_CX   0x11

Definition at line 1481 of file lpfc_hw.h.

#define CMD_CREATE_XRI_CR   0x12

Definition at line 1482 of file lpfc_hw.h.

#define CMD_CREATE_XRI_CX   0x13

Definition at line 1483 of file lpfc_hw.h.

#define CMD_ELS_REQUEST64_CR   0x8A

Definition at line 1514 of file lpfc_hw.h.

#define CMD_ELS_REQUEST64_CX   0x8B

Definition at line 1515 of file lpfc_hw.h.

#define CMD_ELS_REQUEST_CR   0x0A

Definition at line 1475 of file lpfc_hw.h.

#define CMD_ELS_REQUEST_CX   0x0B

Definition at line 1476 of file lpfc_hw.h.

#define CMD_FCP_AUTO_TRSP_CX   0x29

Definition at line 1497 of file lpfc_hw.h.

#define CMD_FCP_ICMND64_CR   0x9C

Definition at line 1524 of file lpfc_hw.h.

#define CMD_FCP_ICMND64_CX   0x9D

Definition at line 1525 of file lpfc_hw.h.

#define CMD_FCP_ICMND_CR   0x1C

Definition at line 1492 of file lpfc_hw.h.

#define CMD_FCP_ICMND_CX   0x1D

Definition at line 1493 of file lpfc_hw.h.

#define CMD_FCP_IREAD64_CR   0x9A

Definition at line 1522 of file lpfc_hw.h.

#define CMD_FCP_IREAD64_CX   0x9B

Definition at line 1523 of file lpfc_hw.h.

#define CMD_FCP_IREAD_CR   0x1A

Definition at line 1490 of file lpfc_hw.h.

#define CMD_FCP_IREAD_CX   0x1B

Definition at line 1491 of file lpfc_hw.h.

#define CMD_FCP_IWRITE64_CR   0x98

Definition at line 1520 of file lpfc_hw.h.

#define CMD_FCP_IWRITE64_CX   0x99

Definition at line 1521 of file lpfc_hw.h.

#define CMD_FCP_IWRITE_CR   0x18

Definition at line 1488 of file lpfc_hw.h.

#define CMD_FCP_IWRITE_CX   0x19

Definition at line 1489 of file lpfc_hw.h.

#define CMD_FCP_TRECEIVE64_CX   0xA1

Definition at line 1527 of file lpfc_hw.h.

#define CMD_FCP_TRECEIVE_CX   0x21

Definition at line 1495 of file lpfc_hw.h.

#define CMD_FCP_TRSP64_CX   0xA3

Definition at line 1528 of file lpfc_hw.h.

#define CMD_FCP_TRSP_CX   0x23

Definition at line 1496 of file lpfc_hw.h.

#define CMD_FCP_TSEND64_CX   0x9F

Definition at line 1526 of file lpfc_hw.h.

#define CMD_FCP_TSEND_CX   0x1F

Definition at line 1494 of file lpfc_hw.h.

#define CMD_GEN_REQUEST64_CR   0xC2

Definition at line 1536 of file lpfc_hw.h.

#define CMD_GEN_REQUEST64_CX   0xC3

Definition at line 1537 of file lpfc_hw.h.

#define CMD_GET_RPI_CN   0x14

Definition at line 1484 of file lpfc_hw.h.

#define CMD_GET_RPI_CR   0x16

Definition at line 1486 of file lpfc_hw.h.

#define CMD_IOCB_ABORT_EXTENDED_CN   0xBA

Definition at line 1545 of file lpfc_hw.h.

#define CMD_IOCB_CLOSE_EXTENDED_CN   0xB6

Definition at line 1544 of file lpfc_hw.h.

#define CMD_IOCB_CONTINUE64_CN   0x88

Definition at line 1512 of file lpfc_hw.h.

#define CMD_IOCB_CONTINUE_CN   0x08

Definition at line 1473 of file lpfc_hw.h.

#define CMD_IOCB_FCP_IBIDIR64_CR   0xAC

Definition at line 1547 of file lpfc_hw.h.

#define CMD_IOCB_FCP_IBIDIR64_CX   0xAD

Definition at line 1548 of file lpfc_hw.h.

#define CMD_IOCB_FCP_ITASKMGT64_CX   0xAF

Definition at line 1549 of file lpfc_hw.h.

#define CMD_IOCB_LOGENTRY_ASYNC_CN   0x96

Definition at line 1551 of file lpfc_hw.h.

#define CMD_IOCB_LOGENTRY_CN   0x94

Definition at line 1550 of file lpfc_hw.h.

#define CMD_IOCB_MASK   0xff

Definition at line 1560 of file lpfc_hw.h.

#define CMD_IOCB_RCV_CONT64_CX   0xBB

Definition at line 1534 of file lpfc_hw.h.

#define CMD_IOCB_RCV_ELS64_CX   0xB7

Definition at line 1532 of file lpfc_hw.h.

#define CMD_IOCB_RCV_ELS_LIST64_CX   0xCD

Definition at line 1543 of file lpfc_hw.h.

#define CMD_IOCB_RCV_SEQ64_CX   0xB5

Definition at line 1531 of file lpfc_hw.h.

#define CMD_IOCB_RCV_SEQ_LIST64_CX   0xC1

Definition at line 1542 of file lpfc_hw.h.

#define CMD_IOCB_RET_HBQE64_CN   0xCA

Definition at line 1546 of file lpfc_hw.h.

#define CMD_IOCB_RET_XRI64_CX   0xB9

Definition at line 1533 of file lpfc_hw.h.

#define CMD_IOCB_XMIT_MSEQ64_CR   0xB0

Definition at line 1540 of file lpfc_hw.h.

#define CMD_IOCB_XMIT_MSEQ64_CX   0xB1

Definition at line 1541 of file lpfc_hw.h.

#define CMD_MAX_IOCB_CMD   0xFB

Definition at line 1559 of file lpfc_hw.h.

#define CMD_QUE_RING_BUF64_CN   0x86

Definition at line 1510 of file lpfc_hw.h.

#define CMD_QUE_RING_BUF_CN   0x06

Definition at line 1471 of file lpfc_hw.h.

#define CMD_QUE_XRI64_CX   0xB3

Definition at line 1530 of file lpfc_hw.h.

#define CMD_QUE_XRI_BUF64_CX   0x87

Definition at line 1511 of file lpfc_hw.h.

#define CMD_QUE_XRI_BUF_CX   0x07

Definition at line 1472 of file lpfc_hw.h.

#define CMD_RCV_ELS_REQ64_CX   0x8D

Definition at line 1517 of file lpfc_hw.h.

#define CMD_RCV_ELS_REQ_CX   0x0D

Definition at line 1477 of file lpfc_hw.h.

#define CMD_RCV_SEQUENCE64_CX   0x81

Definition at line 1505 of file lpfc_hw.h.

#define CMD_RCV_SEQUENCE_CX   0x01

Definition at line 1466 of file lpfc_hw.h.

#define CMD_RET_XRI_BUF64_CX   0x89

Definition at line 1513 of file lpfc_hw.h.

#define CMD_RET_XRI_BUF_CX   0x09

Definition at line 1474 of file lpfc_hw.h.

#define CMD_XMIT_BCAST64_CN   0x84

Definition at line 1508 of file lpfc_hw.h.

#define CMD_XMIT_BCAST64_CX   0x85

Definition at line 1509 of file lpfc_hw.h.

#define CMD_XMIT_BCAST_CN   0x04

Definition at line 1469 of file lpfc_hw.h.

#define CMD_XMIT_BCAST_CX   0x05

Definition at line 1470 of file lpfc_hw.h.

#define CMD_XMIT_BLS_RSP64_CX   0x97

Definition at line 1519 of file lpfc_hw.h.

#define CMD_XMIT_ELS_RSP64_CX   0x95

Definition at line 1518 of file lpfc_hw.h.

#define CMD_XMIT_ELS_RSP_CX   0x15

Definition at line 1485 of file lpfc_hw.h.

#define CMD_XMIT_SEQUENCE64_CR   0x82

Definition at line 1506 of file lpfc_hw.h.

#define CMD_XMIT_SEQUENCE64_CX   0x83

Definition at line 1507 of file lpfc_hw.h.

#define CMD_XMIT_SEQUENCE_CR   0x02

Definition at line 1467 of file lpfc_hw.h.

#define CMD_XMIT_SEQUENCE_CX   0x03

Definition at line 1468 of file lpfc_hw.h.

#define CMD_XRI_ABORTED_CX   0x17

Definition at line 1487 of file lpfc_hw.h.

#define CT_DID_MASK   0xffff00U

Definition at line 27 of file lpfc_hw.h.

#define DA_ID_REQUEST_SZ
Value:
(offsetof(struct lpfc_sli_ct_request, un) + \
sizeof(struct da_id))

Definition at line 184 of file lpfc_hw.h.

#define DMP_LMSD   0x3 /* Link Module Serial Data */

Definition at line 2569 of file lpfc_hw.h.

#define DMP_MBOX_OFFSET_WORD   0x5

Definition at line 2579 of file lpfc_hw.h.

#define DMP_MEM_REG   0x1

Definition at line 2567 of file lpfc_hw.h.

#define DMP_NV_PARAMS   0x2

Definition at line 2568 of file lpfc_hw.h.

#define DMP_REGION_23   0x17 /* fcoe param and port state region */

Definition at line 2581 of file lpfc_hw.h.

#define DMP_REGION_VPD   0xe

Definition at line 2572 of file lpfc_hw.h.

#define DMP_REGION_VPORT   0x16 /* VPort info region */

Definition at line 2577 of file lpfc_hw.h.

#define DMP_RGN23_SIZE   0x400

Definition at line 2582 of file lpfc_hw.h.

#define DMP_RSP_OFFSET   0x14 /* word 5 contains first word of rsp */

Definition at line 2574 of file lpfc_hw.h.

#define DMP_RSP_SIZE   0x6C /* maximum of 27 words of rsp data */

Definition at line 2575 of file lpfc_hw.h.

#define DMP_VPD_SIZE   0x400 /* maximum amount of VPD */

Definition at line 2573 of file lpfc_hw.h.

#define DMP_VPORT_REGION_SIZE   0x200

Definition at line 2578 of file lpfc_hw.h.

#define DMP_WELL_KNOWN   0x4

Definition at line 2570 of file lpfc_hw.h.

#define DRAGONFLY_JEDEC_ID   0x0021

Definition at line 1256 of file lpfc_hw.h.

#define DRAGONFLY_V2_JEDEC_ID   0x0025

Definition at line 1257 of file lpfc_hw.h.

#define DRIVER_VERSION   0x7

Definition at line 1042 of file lpfc_hw.h.

#define DSSCMD_IREAD64_CR   0xFA

Definition at line 1556 of file lpfc_hw.h.

#define DSSCMD_IREAD64_CX   0xFB

Definition at line 1557 of file lpfc_hw.h.

#define DSSCMD_IWRITE64_CR   0xF8

Definition at line 1554 of file lpfc_hw.h.

#define DSSCMD_IWRITE64_CX   0xF9

Definition at line 1555 of file lpfc_hw.h.

#define ELS_CMD_ABTX   0x06

Definition at line 563 of file lpfc_hw.h.

#define ELS_CMD_ACC   0x02

Definition at line 559 of file lpfc_hw.h.

#define ELS_CMD_ADISC   0x52

Definition at line 581 of file lpfc_hw.h.

#define ELS_CMD_ADVC   0x0D

Definition at line 570 of file lpfc_hw.h.

#define ELS_CMD_ECHO   0x10

Definition at line 573 of file lpfc_hw.h.

#define ELS_CMD_ESTC   0x0C

Definition at line 569 of file lpfc_hw.h.

#define ELS_CMD_ESTS   0x0B

Definition at line 568 of file lpfc_hw.h.

#define ELS_CMD_FAN   0x60

Definition at line 586 of file lpfc_hw.h.

#define ELS_CMD_FARP   0x54

Definition at line 582 of file lpfc_hw.h.

#define ELS_CMD_FARPR   0x55

Definition at line 583 of file lpfc_hw.h.

#define ELS_CMD_FDISC   0x51

Definition at line 580 of file lpfc_hw.h.

#define ELS_CMD_FLOGI   0x04

Definition at line 561 of file lpfc_hw.h.

#define ELS_CMD_LIRR   0x7A

Definition at line 590 of file lpfc_hw.h.

#define ELS_CMD_LOGO   0x05

Definition at line 562 of file lpfc_hw.h.

#define ELS_CMD_LS_RJT   0x01

Definition at line 558 of file lpfc_hw.h.

#define ELS_CMD_MASK   0xffff

Definition at line 556 of file lpfc_hw.h.

#define ELS_CMD_PDISC   0x50

Definition at line 579 of file lpfc_hw.h.

#define ELS_CMD_PLOGI   0x03

Definition at line 560 of file lpfc_hw.h.

#define ELS_CMD_PRLI   0x14001020

Definition at line 576 of file lpfc_hw.h.

#define ELS_CMD_PRLO   0x14001021

Definition at line 577 of file lpfc_hw.h.

#define ELS_CMD_PRLO_ACC   0x14001002

Definition at line 578 of file lpfc_hw.h.

#define ELS_CMD_RCS   0x07

Definition at line 564 of file lpfc_hw.h.

#define ELS_CMD_RES   0x08

Definition at line 565 of file lpfc_hw.h.

#define ELS_CMD_RLS   0x0F

Definition at line 572 of file lpfc_hw.h.

#define ELS_CMD_RNID   0x78

Definition at line 589 of file lpfc_hw.h.

#define ELS_CMD_RPL   0x57

Definition at line 585 of file lpfc_hw.h.

#define ELS_CMD_RPS   0x56

Definition at line 584 of file lpfc_hw.h.

#define ELS_CMD_RRQ   0x12

Definition at line 575 of file lpfc_hw.h.

#define ELS_CMD_RSCN   0x0461

Definition at line 587 of file lpfc_hw.h.

#define ELS_CMD_RSI   0x0A

Definition at line 567 of file lpfc_hw.h.

#define ELS_CMD_RSS   0x09

Definition at line 566 of file lpfc_hw.h.

#define ELS_CMD_RTV   0x0E

Definition at line 571 of file lpfc_hw.h.

#define ELS_CMD_SCR   0x62

Definition at line 588 of file lpfc_hw.h.

#define ELS_CMD_TEST   0x11

Definition at line 574 of file lpfc_hw.h.

#define ELS_RSP_MASK   0xff

Definition at line 557 of file lpfc_hw.h.

#define Fabric_DID   0xfffffeU

Definition at line 24 of file lpfc_hw.h.

#define Fabric_DID_MASK   0xfff000U

Definition at line 28 of file lpfc_hw.h.

#define FARP_MATCH_IP   0x4 /* Match on IP address, not supported */

Definition at line 792 of file lpfc_hw.h.

#define FARP_MATCH_IPV4
Value:
0x5 /* Match on IPV4 address, not
supported */

Definition at line 793 of file lpfc_hw.h.

#define FARP_MATCH_IPV6
Value:
0x6 /* Match on IPV6 address, not
supported */

Definition at line 794 of file lpfc_hw.h.

#define FARP_MATCH_NODE   0x2 /* Match on Responder Node Name */

Definition at line 791 of file lpfc_hw.h.

#define FARP_MATCH_PORT   0x1 /* Match on Responder Port Name */

Definition at line 790 of file lpfc_hw.h.

#define FARP_NO_ACTION
Value:
0 /* FARP information enclosed, no
action */

Definition at line 789 of file lpfc_hw.h.

#define FARP_REQUEST_FARPR   0x2 /* Request for FARP Response */

Definition at line 798 of file lpfc_hw.h.

#define FARP_REQUEST_PLOGI   0x1 /* Request for PLOGI */

Definition at line 797 of file lpfc_hw.h.

#define FC4_FEATURE_INIT   0x2

Definition at line 93 of file lpfc_hw.h.

#define FC4_FEATURE_TARGET   0x1

Definition at line 94 of file lpfc_hw.h.

#define FC_JEDEC_ID (   id)    ((id & JEDEC_ID_MASK) >> JEDEC_ID_SHIFT)

Definition at line 1271 of file lpfc_hw.h.

#define FC_NET_HDR   0x20

Definition at line 1200 of file lpfc_hw.h.

#define FC_PH3   0x20 /* FC-PH-3 version */

Definition at line 309 of file lpfc_hw.h.

#define FC_PH_4_0   6 /* FC-PH version 4.0 */

Definition at line 302 of file lpfc_hw.h.

#define FC_PH_4_1   7 /* FC-PH version 4.1 */

Definition at line 303 of file lpfc_hw.h.

#define FC_PH_4_2   8 /* FC-PH version 4.2 */

Definition at line 304 of file lpfc_hw.h.

#define FC_PH_4_3   9 /* FC-PH version 4.3 */

Definition at line 305 of file lpfc_hw.h.

#define FC_PH_HIGH   9 /* Highest supported FC-PH version */

Definition at line 308 of file lpfc_hw.h.

#define FC_PH_LOW   8 /* Lowest supported FC-PH version */

Definition at line 307 of file lpfc_hw.h.

#define fc_vft_hdr_e_MASK   0x1

Definition at line 502 of file lpfc_hw.h.

#define fc_vft_hdr_e_SHIFT   16

Definition at line 501 of file lpfc_hw.h.

#define fc_vft_hdr_e_WORD   word0

Definition at line 503 of file lpfc_hw.h.

#define fc_vft_hdr_hopct_MASK   0xFF

Definition at line 512 of file lpfc_hw.h.

#define fc_vft_hdr_hopct_SHIFT   24

Definition at line 511 of file lpfc_hw.h.

#define fc_vft_hdr_hopct_WORD   word1

Definition at line 513 of file lpfc_hw.h.

#define fc_vft_hdr_priority_MASK   0x7

Definition at line 505 of file lpfc_hw.h.

#define fc_vft_hdr_priority_SHIFT   13

Definition at line 504 of file lpfc_hw.h.

#define fc_vft_hdr_priority_WORD   word0

Definition at line 506 of file lpfc_hw.h.

#define fc_vft_hdr_r_ctl_MASK   0xFF

Definition at line 493 of file lpfc_hw.h.

#define fc_vft_hdr_r_ctl_SHIFT   24

Definition at line 492 of file lpfc_hw.h.

#define fc_vft_hdr_r_ctl_WORD   word0

Definition at line 494 of file lpfc_hw.h.

#define fc_vft_hdr_type_MASK   0xF

Definition at line 499 of file lpfc_hw.h.

#define fc_vft_hdr_type_SHIFT   18

Definition at line 498 of file lpfc_hw.h.

#define fc_vft_hdr_type_WORD   word0

Definition at line 500 of file lpfc_hw.h.

#define fc_vft_hdr_ver_MASK   0x3

Definition at line 496 of file lpfc_hw.h.

#define fc_vft_hdr_ver_SHIFT   22

Definition at line 495 of file lpfc_hw.h.

#define fc_vft_hdr_ver_WORD   word0

Definition at line 497 of file lpfc_hw.h.

#define fc_vft_hdr_vf_id_MASK   0xFFF

Definition at line 508 of file lpfc_hw.h.

#define fc_vft_hdr_vf_id_SHIFT   1

Definition at line 507 of file lpfc_hw.h.

#define fc_vft_hdr_vf_id_WORD   word0

Definition at line 509 of file lpfc_hw.h.

#define FCELSSIZE   1024 /* maximum ELS transfer size */

Definition at line 41 of file lpfc_hw.h.

#define FCP_TYPE_FEATURE_OFFSET   7

Definition at line 161 of file lpfc_hw.h.

#define FDMI_DID   0xfffffaU

Definition at line 21 of file lpfc_hw.h.

#define FEATURE_INITIAL_SLI2   0x01

Definition at line 2978 of file lpfc_hw.h.

#define FF_DEF_ALTOV   15 /* Default AL_TIME (15ms) */

Definition at line 35 of file lpfc_hw.h.

#define FF_DEF_ARBTOV   1900 /* Default ARB_TOV (1900ms) */

Definition at line 37 of file lpfc_hw.h.

#define FF_DEF_EDTOV   2000 /* Default E_D_TOV (2000ms) */

Definition at line 34 of file lpfc_hw.h.

#define FF_DEF_RATOV   2 /* Default RA_TOV (2s) */

Definition at line 36 of file lpfc_hw.h.

#define FF_FRAME_SIZE   2048

Definition at line 311 of file lpfc_hw.h.

#define FF_REG_AREA_SIZE   256

Definition at line 1285 of file lpfc_hw.h.

#define FIREFLY_JEDEC_ID   0x1ACC

Definition at line 1254 of file lpfc_hw.h.

#define FIRMWARE_VERSION   0x9

Definition at line 1044 of file lpfc_hw.h.

#define FLAGS_IMED_ABORT   0x04000 /* Bit 14 */

Definition at line 1870 of file lpfc_hw.h.

#define FLAGS_LINK_SPEED   0x0800 /* Bit 11 */

Definition at line 1869 of file lpfc_hw.h.

#define FLAGS_LIRP_LILP   0x80 /* LIRP / LILP is disabled */

Definition at line 1866 of file lpfc_hw.h.

#define FLAGS_LOCAL_LB   0x01 /* link_flags (=1) ENDEC loopback */

Definition at line 1861 of file lpfc_hw.h.

#define FLAGS_TOPOLOGY_FAILOVER   0x0400 /* Bit 10 */

Definition at line 1868 of file lpfc_hw.h.

#define FLAGS_TOPOLOGY_MODE_LOOP   0x04 /* Attempt loop only */

Definition at line 1863 of file lpfc_hw.h.

#define FLAGS_TOPOLOGY_MODE_LOOP_PT   0x00 /* Attempt loop then pt-pt */

Definition at line 1860 of file lpfc_hw.h.

#define FLAGS_TOPOLOGY_MODE_PT_LOOP   0x06 /* Attempt pt-pt then loop */

Definition at line 1864 of file lpfc_hw.h.

#define FLAGS_TOPOLOGY_MODE_PT_PT   0x02 /* Attempt pt-pt only */

Definition at line 1862 of file lpfc_hw.h.

#define FLAGS_UNREG_LOGIN_ALL   0x08 /* UNREG_LOGIN all on link down */

Definition at line 1865 of file lpfc_hw.h.

#define FW_REV_STR_SIZE   32

Definition at line 72 of file lpfc_hw.h.

#define GFF_REQUEST_SZ
Value:
(offsetof(struct lpfc_sli_ct_request, un) + \
sizeof(struct gff))

Definition at line 174 of file lpfc_hw.h.

#define GID_REQUEST_SZ
Value:
(offsetof(struct lpfc_sli_ct_request, un) + \
sizeof(struct gid))

Definition at line 172 of file lpfc_hw.h.

#define HA_ER_POS   31

Definition at line 1323 of file lpfc_hw.h.

#define HA_ERATT   0x80000000 /* Bit 31 */

Definition at line 1305 of file lpfc_hw.h.

#define HA_LATT   0x20000000 /* Bit 29 */

Definition at line 1303 of file lpfc_hw.h.

#define HA_LE_POS   29

Definition at line 1321 of file lpfc_hw.h.

#define HA_MB_POS   30

Definition at line 1322 of file lpfc_hw.h.

#define HA_MBATT   0x40000000 /* Bit 30 */

Definition at line 1304 of file lpfc_hw.h.

#define HA_R0_CLR_MSK   (HA_R0RE_REQ | HA_R0CE_RSP | HA_R0ATT)

Definition at line 1312 of file lpfc_hw.h.

#define HA_R0_POS   3

Definition at line 1317 of file lpfc_hw.h.

#define HA_R0ATT   0x00000008 /* Bit 3 */

Definition at line 1293 of file lpfc_hw.h.

#define HA_R0CE_RSP   0x00000002 /* Bit 1 */

Definition at line 1292 of file lpfc_hw.h.

#define HA_R0RE_REQ   0x00000001 /* Bit 0 */

Definition at line 1291 of file lpfc_hw.h.

#define HA_R1_CLR_MSK   (HA_R1RE_REQ | HA_R1CE_RSP | HA_R1ATT)

Definition at line 1313 of file lpfc_hw.h.

#define HA_R1_POS   7

Definition at line 1318 of file lpfc_hw.h.

#define HA_R1ATT   0x00000080 /* Bit 7 */

Definition at line 1296 of file lpfc_hw.h.

#define HA_R1CE_RSP   0x00000020 /* Bit 5 */

Definition at line 1295 of file lpfc_hw.h.

#define HA_R1RE_REQ   0x00000010 /* Bit 4 */

Definition at line 1294 of file lpfc_hw.h.

#define HA_R2_CLR_MSK   (HA_R2RE_REQ | HA_R2CE_RSP | HA_R2ATT)

Definition at line 1314 of file lpfc_hw.h.

#define HA_R2_POS   11

Definition at line 1319 of file lpfc_hw.h.

#define HA_R2ATT   0x00000800 /* Bit 11 */

Definition at line 1299 of file lpfc_hw.h.

#define HA_R2CE_RSP   0x00000200 /* Bit 9 */

Definition at line 1298 of file lpfc_hw.h.

#define HA_R2RE_REQ   0x00000100 /* Bit 8 */

Definition at line 1297 of file lpfc_hw.h.

#define HA_R3_CLR_MSK   (HA_R3RE_REQ | HA_R3CE_RSP | HA_R3ATT)

Definition at line 1315 of file lpfc_hw.h.

#define HA_R3_POS   15

Definition at line 1320 of file lpfc_hw.h.

#define HA_R3ATT   0x00008000 /* Bit 15 */

Definition at line 1302 of file lpfc_hw.h.

#define HA_R3CE_RSP   0x00002000 /* Bit 13 */

Definition at line 1301 of file lpfc_hw.h.

#define HA_R3RE_REQ   0x00001000 /* Bit 12 */

Definition at line 1300 of file lpfc_hw.h.

#define HA_REG_OFFSET   0 /* Byte offset from register base address */

Definition at line 1289 of file lpfc_hw.h.

#define HA_RXATT   0x00000008 /* Bit 3 */

Definition at line 1309 of file lpfc_hw.h.

#define HA_RXCE_RSP   0x00000002 /* Bit 1 */

Definition at line 1308 of file lpfc_hw.h.

#define HA_RXMASK   0x0000000f

Definition at line 1310 of file lpfc_hw.h.

#define HA_RXRE_REQ   0x00000001 /* Bit 0 */

Definition at line 1307 of file lpfc_hw.h.

#define HARDWARE_VERSION   0x6

Definition at line 1041 of file lpfc_hw.h.

#define HC_ERINT_ENA   0x80000000 /* Bit 31 */

Definition at line 1372 of file lpfc_hw.h.

#define HC_INITFF   0x08000000 /* Bit 27 */

Definition at line 1370 of file lpfc_hw.h.

#define HC_INITHBI   0x02000000 /* Bit 25 */

Definition at line 1368 of file lpfc_hw.h.

#define HC_INITMB   0x04000000 /* Bit 26 */

Definition at line 1369 of file lpfc_hw.h.

#define HC_LAINT_ENA   0x20000000 /* Bit 29 */

Definition at line 1371 of file lpfc_hw.h.

#define HC_MBINT_ENA   0x00000001 /* Bit 0 */

Definition at line 1363 of file lpfc_hw.h.

#define HC_R0INT_ENA   0x00000002 /* Bit 1 */

Definition at line 1364 of file lpfc_hw.h.

#define HC_R1INT_ENA   0x00000004 /* Bit 2 */

Definition at line 1365 of file lpfc_hw.h.

#define HC_R2INT_ENA   0x00000008 /* Bit 3 */

Definition at line 1366 of file lpfc_hw.h.

#define HC_R3INT_ENA   0x00000010 /* Bit 4 */

Definition at line 1367 of file lpfc_hw.h.

#define HC_REG_OFFSET   12 /* Byte offset from register base address */

Definition at line 1361 of file lpfc_hw.h.

#define HELIOS_JEDEC_ID   0x0364

Definition at line 1263 of file lpfc_hw.h.

#define HORNET_JDEC_ID   0x2057706D

Definition at line 1267 of file lpfc_hw.h.

#define HOST_NAME   0x6

Definition at line 1056 of file lpfc_hw.h.

#define HS_CRIT_TEMP   0x00000100 /* Bit 8 */

Definition at line 1356 of file lpfc_hw.h.

#define HS_FFER1   0x80000000 /* Bit 31 */

Definition at line 1355 of file lpfc_hw.h.

#define HS_FFER2   0x40000000 /* Bit 30 */

Definition at line 1354 of file lpfc_hw.h.

#define HS_FFER3   0x20000000 /* Bit 29 */

Definition at line 1353 of file lpfc_hw.h.

#define HS_FFER4   0x10000000 /* Bit 28 */

Definition at line 1352 of file lpfc_hw.h.

#define HS_FFER5   0x08000000 /* Bit 27 */

Definition at line 1351 of file lpfc_hw.h.

#define HS_FFER6   0x04000000 /* Bit 26 */

Definition at line 1350 of file lpfc_hw.h.

#define HS_FFER7   0x02000000 /* Bit 25 */

Definition at line 1349 of file lpfc_hw.h.

#define HS_FFER8   0x01000000 /* Bit 24 */

Definition at line 1348 of file lpfc_hw.h.

#define HS_FFERM   0xFF000100 /* Mask for error bits 31:24 and 8 */

Definition at line 1357 of file lpfc_hw.h.

#define HS_FFRDY   0x00800000 /* Bit 23 */

Definition at line 1347 of file lpfc_hw.h.

#define HS_MBRDY   0x00400000 /* Bit 22 */

Definition at line 1346 of file lpfc_hw.h.

#define HS_REG_OFFSET   8 /* Byte offset from register base address */

Definition at line 1344 of file lpfc_hw.h.

#define IOCB_FCP   1 /* IOCB is used for FCP ELS cmds-ulpRsvByte */

Definition at line 3732 of file lpfc_hw.h.

#define IOCB_IP   2 /* IOCB is used for IP ELS cmds */

Definition at line 3733 of file lpfc_hw.h.

#define IOCB_WORD_SZ   8

Definition at line 1197 of file lpfc_hw.h.

#define IOERR_ABORT_IN_PROGRESS   0x15

Definition at line 3207 of file lpfc_hw.h.

#define IOERR_ABORT_REQUESTED   0x16

Definition at line 3208 of file lpfc_hw.h.

#define IOERR_ABORTMULT_REQUESTED   0x25

Definition at line 3223 of file lpfc_hw.h.

#define IOERR_BAD_CONTINUE   0x09

Definition at line 3195 of file lpfc_hw.h.

#define IOERR_BAD_HOST_ADDRESS   0x21

Definition at line 3219 of file lpfc_hw.h.

#define IOERR_BUFFER_SHORTAGE   0x28

Definition at line 3224 of file lpfc_hw.h.

#define IOERR_CNT   0x2A

Definition at line 3226 of file lpfc_hw.h.

#define IOERR_CORRUPTED_DATA   0x1B

Definition at line 3213 of file lpfc_hw.h.

#define IOERR_CORRUPTED_RPI   0x1C

Definition at line 3214 of file lpfc_hw.h.

#define IOERR_DEFAULT   0x29

Definition at line 3225 of file lpfc_hw.h.

#define IOERR_DRVR_MASK   0x100

Definition at line 3239 of file lpfc_hw.h.

#define IOERR_DUP_FRAME   0x1F

Definition at line 3217 of file lpfc_hw.h.

#define IOERR_ELXSEC_CRYPTO_COMPARE_ERROR   0xF3

Definition at line 3238 of file lpfc_hw.h.

#define IOERR_ELXSEC_CRYPTO_ERROR   0xF2

Definition at line 3237 of file lpfc_hw.h.

#define IOERR_ELXSEC_KEY_UNWRAP_COMPARE_ERROR   0xF1

Definition at line 3236 of file lpfc_hw.h.

#define IOERR_ELXSEC_KEY_UNWRAP_ERROR   0xF0

Definition at line 3235 of file lpfc_hw.h.

#define IOERR_EXTRA_DATA   0x10

Definition at line 3202 of file lpfc_hw.h.

#define IOERR_ILLEGAL_COMMAND   0x06

Definition at line 3192 of file lpfc_hw.h.

#define IOERR_ILLEGAL_FIELD   0x08

Definition at line 3194 of file lpfc_hw.h.

#define IOERR_ILLEGAL_FRAME   0x0F

Definition at line 3201 of file lpfc_hw.h.

#define IOERR_ILLEGAL_LENGTH   0x13

Definition at line 3205 of file lpfc_hw.h.

#define IOERR_INTERNAL_ERROR   0x03

Definition at line 3189 of file lpfc_hw.h.

#define IOERR_INVALID_RPI   0x04

Definition at line 3190 of file lpfc_hw.h.

#define IOERR_LINK_CONTROL_FRAME   0x20 /* ACK_N received */

Definition at line 3218 of file lpfc_hw.h.

#define IOERR_LINK_DOWN   0x1A

Definition at line 3212 of file lpfc_hw.h.

#define IOERR_LOOP_OPEN_FAILURE   0x18

Definition at line 3210 of file lpfc_hw.h.

#define IOERR_MISSING_CONTINUE   0x01

Definition at line 3187 of file lpfc_hw.h.

#define IOERR_MISSING_HDR_BUFFER   0x23

Definition at line 3221 of file lpfc_hw.h.

#define IOERR_MSEQ_CHAIN_CORRUPTED   0x24

Definition at line 3222 of file lpfc_hw.h.

#define IOERR_NO_CONNECTION   0x0C

Definition at line 3198 of file lpfc_hw.h.

#define IOERR_NO_RESOURCES   0x11

Definition at line 3203 of file lpfc_hw.h.

#define IOERR_NO_XRI   0x05

Definition at line 3191 of file lpfc_hw.h.

#define IOERR_OUT_OF_ORDER_ACK   0x1E

Definition at line 3216 of file lpfc_hw.h.

#define IOERR_OUT_OF_ORDER_DATA   0x1D

Definition at line 3215 of file lpfc_hw.h.

#define IOERR_PARAM_MASK   0x1ff

Definition at line 3243 of file lpfc_hw.h.

#define IOERR_RCV_BUFFER_WAITING   0x0B

Definition at line 3197 of file lpfc_hw.h.

#define IOERR_RCV_HDRBUF_WAITING   0x22

Definition at line 3220 of file lpfc_hw.h.

#define IOERR_RECEIVE_BUFFER_TIMEOUT   0x17

Definition at line 3209 of file lpfc_hw.h.

#define IOERR_RESERVED   0x12

Definition at line 3204 of file lpfc_hw.h.

#define IOERR_RING_RESET   0x19

Definition at line 3211 of file lpfc_hw.h.

#define IOERR_RX_DMA_FAILED   0x0E

Definition at line 3200 of file lpfc_hw.h.

#define IOERR_SEQUENCE_TIMEOUT   0x02

Definition at line 3188 of file lpfc_hw.h.

#define IOERR_SLER_ABTS_ERR   0x4E

Definition at line 3234 of file lpfc_hw.h.

#define IOERR_SLER_CMD_RCV_FAILURE   0x47

Definition at line 3228 of file lpfc_hw.h.

#define IOERR_SLER_FAILURE   0x46

Definition at line 3227 of file lpfc_hw.h.

#define IOERR_SLER_REC_RJT_ERR   0x48

Definition at line 3229 of file lpfc_hw.h.

#define IOERR_SLER_REC_SRR_RETRY_ERR   0x49

Definition at line 3230 of file lpfc_hw.h.

#define IOERR_SLER_RRQ_RETRY_ERR   0x4D

Definition at line 3233 of file lpfc_hw.h.

#define IOERR_SLER_RRQ_RJT_ERR   0x4C

Definition at line 3232 of file lpfc_hw.h.

#define IOERR_SLER_SRR_RJT_ERR   0x4A

Definition at line 3231 of file lpfc_hw.h.

#define IOERR_SLI_ABORTED   0x103

Definition at line 3242 of file lpfc_hw.h.

#define IOERR_SLI_BRESET   0x102

Definition at line 3241 of file lpfc_hw.h.

#define IOERR_SLI_DOWN   0x101 /* ulpStatus - Driver defined */

Definition at line 3240 of file lpfc_hw.h.

#define IOERR_SUCCESS   0x00 /* statLocalError */

Definition at line 3186 of file lpfc_hw.h.

#define IOERR_TOO_MANY_BUFFERS   0x0A

Definition at line 3196 of file lpfc_hw.h.

#define IOERR_TX_DMA_FAILED   0x0D

Definition at line 3199 of file lpfc_hw.h.

#define IOERR_UNSUPPORTED_FEATURE   0x14

Definition at line 3206 of file lpfc_hw.h.

#define IOERR_XCHG_DROPPED   0x07

Definition at line 3193 of file lpfc_hw.h.

#define IOSTAT_BA_RJT   0xA

Definition at line 3753 of file lpfc_hw.h.

#define IOSTAT_CNT   0x11

Definition at line 3761 of file lpfc_hw.h.

#define IOSTAT_DEFAULT   0xF /* Same as rsvd5 for now */

Definition at line 3760 of file lpfc_hw.h.

#define IOSTAT_DRIVER_REJECT   0x10 /* ulpStatus - Driver defined */

Definition at line 3759 of file lpfc_hw.h.

#define IOSTAT_FABRIC_BSY   0x7

Definition at line 3750 of file lpfc_hw.h.

#define IOSTAT_FABRIC_RJT   0x5

Definition at line 3748 of file lpfc_hw.h.

#define IOSTAT_FCP_RSP_ERROR   0x1

Definition at line 3744 of file lpfc_hw.h.

#define IOSTAT_INTERMED_RSP   0x8

Definition at line 3751 of file lpfc_hw.h.

#define IOSTAT_LOCAL_REJECT   0x3

Definition at line 3746 of file lpfc_hw.h.

#define IOSTAT_LS_RJT   0x9

Definition at line 3752 of file lpfc_hw.h.

#define IOSTAT_NEED_BUFFER   0xF

Definition at line 3758 of file lpfc_hw.h.

#define IOSTAT_NPORT_BSY   0x6

Definition at line 3749 of file lpfc_hw.h.

#define IOSTAT_NPORT_RJT   0x4

Definition at line 3747 of file lpfc_hw.h.

#define IOSTAT_REMOTE_STOP   0x2

Definition at line 3745 of file lpfc_hw.h.

#define IOSTAT_RSVD1   0xB

Definition at line 3754 of file lpfc_hw.h.

#define IOSTAT_RSVD2   0xC

Definition at line 3755 of file lpfc_hw.h.

#define IOSTAT_RSVD3   0xD

Definition at line 3756 of file lpfc_hw.h.

#define IOSTAT_RSVD4   0xE

Definition at line 3757 of file lpfc_hw.h.

#define IOSTAT_SUCCESS   0x0 /* ulpStatus - HBA defined */

Definition at line 3743 of file lpfc_hw.h.

#define JEDEC_ID_ADDRESS   0x0080001c

Definition at line 1253 of file lpfc_hw.h.

#define JEDEC_ID_MASK   0x0FFFF000

Definition at line 1269 of file lpfc_hw.h.

#define JEDEC_ID_SHIFT   12

Definition at line 1270 of file lpfc_hw.h.

#define LA   0x08 /* Ignore Link Attention state */

Definition at line 3262 of file lpfc_hw.h.

#define LINK_SPEED_10G   0x10 /* 10 Gigabaud */

Definition at line 1878 of file lpfc_hw.h.

#define LINK_SPEED_16G   0x11 /* 16 Gigabaud */

Definition at line 1879 of file lpfc_hw.h.

#define LINK_SPEED_1G   0x1 /* 1 Gigabaud */

Definition at line 1874 of file lpfc_hw.h.

#define LINK_SPEED_2G   0x2 /* 2 Gigabaud */

Definition at line 1875 of file lpfc_hw.h.

#define LINK_SPEED_4G   0x4 /* 4 Gigabaud */

Definition at line 1876 of file lpfc_hw.h.

#define LINK_SPEED_8G   0x8 /* 8 Gigabaud */

Definition at line 1877 of file lpfc_hw.h.

#define LINK_SPEED_AUTO   0x0 /* Auto selection */

Definition at line 1873 of file lpfc_hw.h.

#define LMT_10Gb   0x100

Definition at line 2049 of file lpfc_hw.h.

#define LMT_16Gb   0x200

Definition at line 2050 of file lpfc_hw.h.

#define LMT_1Gb   0x004

Definition at line 2045 of file lpfc_hw.h.

#define LMT_2Gb   0x008

Definition at line 2046 of file lpfc_hw.h.

#define LMT_4Gb   0x040

Definition at line 2047 of file lpfc_hw.h.

#define LMT_8Gb   0x080

Definition at line 2048 of file lpfc_hw.h.

#define LMT_RESERVED   0x000 /* Not used */

Definition at line 2044 of file lpfc_hw.h.

#define LPFC_ALPA_MAP_SIZE   128

Definition at line 2486 of file lpfc_hw.h.

#define LPFC_ATT_LINK_DOWN   0x02 /* Link is down */

Definition at line 2467 of file lpfc_hw.h.

#define LPFC_ATT_LINK_UP   0x01 /* Link is up */

Definition at line 2466 of file lpfc_hw.h.

#define LPFC_ATT_RESERVED   0x00 /* Reserved - attType */

Definition at line 2465 of file lpfc_hw.h.

#define LPFC_BUF_RING0
Value:
64 /* Number of buffers to post to RING
0 */

Definition at line 39 of file lpfc_hw.h.

#define LPFC_DEF_VFN_PER_PFN   0 /* Default VFs due to platform limitation*/

Definition at line 912 of file lpfc_hw.h.

#define LPFC_ELS_RING   2 /* ring 2 for ELS commands */

Definition at line 45 of file lpfc_hw.h.

#define lpfc_event_log_MASK   0x00000001

Definition at line 1832 of file lpfc_hw.h.

#define lpfc_event_log_SHIFT   29

Definition at line 1831 of file lpfc_hw.h.

#define lpfc_event_log_WORD   word1

Definition at line 1833 of file lpfc_hw.h.

#define LPFC_EXT_DATA_BDE_COUNT   3

Definition at line 3616 of file lpfc_hw.h.

#define LPFC_EXTRA_RING   1 /* ring 1 for other protocols */

Definition at line 44 of file lpfc_hw.h.

#define LPFC_FCP_NEXT_RING   3

Definition at line 46 of file lpfc_hw.h.

#define LPFC_FCP_RING   0 /* ring 0 for FCP initiator commands */

Definition at line 43 of file lpfc_hw.h.

#define LPFC_LINK_SPEED_10GHZ   0x40

Definition at line 2530 of file lpfc_hw.h.

#define LPFC_LINK_SPEED_16GHZ   0x80

Definition at line 2531 of file lpfc_hw.h.

#define LPFC_LINK_SPEED_1GHZ   0x04

Definition at line 2526 of file lpfc_hw.h.

#define LPFC_LINK_SPEED_2GHZ   0x08

Definition at line 2527 of file lpfc_hw.h.

#define LPFC_LINK_SPEED_4GHZ   0x10

Definition at line 2528 of file lpfc_hw.h.

#define LPFC_LINK_SPEED_8GHZ   0x20

Definition at line 2529 of file lpfc_hw.h.

#define LPFC_LINK_SPEED_UNKNOWN   0x0

Definition at line 2525 of file lpfc_hw.h.

#define LPFC_MAX_ADPTMSG   32 /* max msg data */

Definition at line 1563 of file lpfc_hw.h.

#define LPFC_MAX_VFN_PER_PFN   255 /* Maximum VFs allowed per ARI */

Definition at line 911 of file lpfc_hw.h.

#define lpfc_mbx_read_top_alpa_granted_MASK   0x000000FF

Definition at line 2470 of file lpfc_hw.h.

#define lpfc_mbx_read_top_alpa_granted_SHIFT   24

Definition at line 2469 of file lpfc_hw.h.

#define lpfc_mbx_read_top_alpa_granted_WORD   word3

Definition at line 2471 of file lpfc_hw.h.

#define lpfc_mbx_read_top_att_type_MASK   0x000000FF

Definition at line 2463 of file lpfc_hw.h.

#define lpfc_mbx_read_top_att_type_SHIFT   0

Definition at line 2462 of file lpfc_hw.h.

#define lpfc_mbx_read_top_att_type_WORD   word2

Definition at line 2464 of file lpfc_hw.h.

#define lpfc_mbx_read_top_fa_MASK   0x00000001

Definition at line 2451 of file lpfc_hw.h.

#define lpfc_mbx_read_top_fa_SHIFT   12

Definition at line 2450 of file lpfc_hw.h.

#define lpfc_mbx_read_top_fa_WORD   word2

Definition at line 2452 of file lpfc_hw.h.

#define lpfc_mbx_read_top_il_MASK   0x00000001

Definition at line 2460 of file lpfc_hw.h.

#define lpfc_mbx_read_top_il_SHIFT   8

Definition at line 2459 of file lpfc_hw.h.

#define lpfc_mbx_read_top_il_WORD   word2

Definition at line 2461 of file lpfc_hw.h.

#define lpfc_mbx_read_top_ld_link_spd_MASK   0x000000FF

Definition at line 2495 of file lpfc_hw.h.

#define lpfc_mbx_read_top_ld_link_spd_SHIFT   8

Definition at line 2494 of file lpfc_hw.h.

#define lpfc_mbx_read_top_ld_link_spd_WORD   word7

Definition at line 2496 of file lpfc_hw.h.

#define lpfc_mbx_read_top_ld_lu_MASK   0x00000001

Definition at line 2489 of file lpfc_hw.h.

#define lpfc_mbx_read_top_ld_lu_SHIFT   31

Definition at line 2488 of file lpfc_hw.h.

#define lpfc_mbx_read_top_ld_lu_WORD   word7

Definition at line 2490 of file lpfc_hw.h.

#define lpfc_mbx_read_top_ld_nl_port_MASK   0x0000000F

Definition at line 2498 of file lpfc_hw.h.

#define lpfc_mbx_read_top_ld_nl_port_SHIFT   4

Definition at line 2497 of file lpfc_hw.h.

#define lpfc_mbx_read_top_ld_nl_port_WORD   word7

Definition at line 2499 of file lpfc_hw.h.

#define lpfc_mbx_read_top_ld_rx_MASK   0x00000003

Definition at line 2504 of file lpfc_hw.h.

#define lpfc_mbx_read_top_ld_rx_SHIFT   0

Definition at line 2503 of file lpfc_hw.h.

#define lpfc_mbx_read_top_ld_rx_WORD   word7

Definition at line 2505 of file lpfc_hw.h.

#define lpfc_mbx_read_top_ld_tf_MASK   0x00000001

Definition at line 2492 of file lpfc_hw.h.

#define lpfc_mbx_read_top_ld_tf_SHIFT   30

Definition at line 2491 of file lpfc_hw.h.

#define lpfc_mbx_read_top_ld_tf_WORD   word7

Definition at line 2493 of file lpfc_hw.h.

#define lpfc_mbx_read_top_ld_tx_MASK   0x00000003

Definition at line 2501 of file lpfc_hw.h.

#define lpfc_mbx_read_top_ld_tx_SHIFT   2

Definition at line 2500 of file lpfc_hw.h.

#define lpfc_mbx_read_top_ld_tx_WORD   word7

Definition at line 2502 of file lpfc_hw.h.

#define lpfc_mbx_read_top_link_spd_MASK   0x000000FF

Definition at line 2514 of file lpfc_hw.h.

#define lpfc_mbx_read_top_link_spd_SHIFT   8

Definition at line 2513 of file lpfc_hw.h.

#define lpfc_mbx_read_top_link_spd_WORD   word8

Definition at line 2515 of file lpfc_hw.h.

#define lpfc_mbx_read_top_lip_alps_MASK   0x000000FF

Definition at line 2473 of file lpfc_hw.h.

#define lpfc_mbx_read_top_lip_alps_SHIFT   16

Definition at line 2472 of file lpfc_hw.h.

#define lpfc_mbx_read_top_lip_alps_WORD   word3

Definition at line 2474 of file lpfc_hw.h.

#define lpfc_mbx_read_top_lip_type_MASK   0x000000FF

Definition at line 2476 of file lpfc_hw.h.

#define lpfc_mbx_read_top_lip_type_SHIFT   8

Definition at line 2475 of file lpfc_hw.h.

#define lpfc_mbx_read_top_lip_type_WORD   word3

Definition at line 2477 of file lpfc_hw.h.

#define lpfc_mbx_read_top_lu_MASK   0x00000001

Definition at line 2508 of file lpfc_hw.h.

#define lpfc_mbx_read_top_lu_SHIFT   31

Definition at line 2507 of file lpfc_hw.h.

#define lpfc_mbx_read_top_lu_WORD   word8

Definition at line 2509 of file lpfc_hw.h.

#define lpfc_mbx_read_top_mm_MASK   0x00000001

Definition at line 2454 of file lpfc_hw.h.

#define lpfc_mbx_read_top_mm_SHIFT   11

Definition at line 2453 of file lpfc_hw.h.

#define lpfc_mbx_read_top_mm_WORD   word2

Definition at line 2455 of file lpfc_hw.h.

#define lpfc_mbx_read_top_nl_port_MASK   0x0000000F

Definition at line 2517 of file lpfc_hw.h.

#define lpfc_mbx_read_top_nl_port_SHIFT   4

Definition at line 2516 of file lpfc_hw.h.

#define lpfc_mbx_read_top_nl_port_WORD   word8

Definition at line 2518 of file lpfc_hw.h.

#define lpfc_mbx_read_top_pb_MASK   0X00000001

Definition at line 2457 of file lpfc_hw.h.

#define lpfc_mbx_read_top_pb_SHIFT   9

Definition at line 2456 of file lpfc_hw.h.

#define lpfc_mbx_read_top_pb_WORD   word2

Definition at line 2458 of file lpfc_hw.h.

#define lpfc_mbx_read_top_rx_MASK   0x00000003

Definition at line 2523 of file lpfc_hw.h.

#define lpfc_mbx_read_top_rx_SHIFT   0

Definition at line 2522 of file lpfc_hw.h.

#define lpfc_mbx_read_top_rx_WORD   word8

Definition at line 2524 of file lpfc_hw.h.

#define lpfc_mbx_read_top_tf_MASK   0x00000001

Definition at line 2511 of file lpfc_hw.h.

#define lpfc_mbx_read_top_tf_SHIFT   30

Definition at line 2510 of file lpfc_hw.h.

#define lpfc_mbx_read_top_tf_WORD   word8

Definition at line 2512 of file lpfc_hw.h.

#define lpfc_mbx_read_top_topology_MASK   0x000000FF

Definition at line 2479 of file lpfc_hw.h.

#define lpfc_mbx_read_top_topology_SHIFT   0

Definition at line 2478 of file lpfc_hw.h.

#define lpfc_mbx_read_top_topology_WORD   word3

Definition at line 2480 of file lpfc_hw.h.

#define lpfc_mbx_read_top_tx_MASK   0x00000003

Definition at line 2520 of file lpfc_hw.h.

#define lpfc_mbx_read_top_tx_SHIFT   2

Definition at line 2519 of file lpfc_hw.h.

#define lpfc_mbx_read_top_tx_WORD   word8

Definition at line 2521 of file lpfc_hw.h.

#define LPFC_NL_VENDOR_ID   (SCSI_NL_VID_TYPE_PCI | PCI_VENDOR_ID_EMULEX)

Definition at line 70 of file lpfc_hw.h.

#define LPFC_PDE5_DESCRIPTOR   0x85

Definition at line 1650 of file lpfc_hw.h.

#define LPFC_PDE6_DESCRIPTOR   0x86

Definition at line 1651 of file lpfc_hw.h.

#define LPFC_PDE7_DESCRIPTOR   0x87

Definition at line 1652 of file lpfc_hw.h.

#define LPFC_TOPOLOGY_LOOP   0x02 /* Topology is FC-AL */

Definition at line 2482 of file lpfc_hw.h.

#define LPFC_TOPOLOGY_MM   0x05 /* maint mode zephtr to menlo */

Definition at line 2483 of file lpfc_hw.h.

#define LPFC_TOPOLOGY_PT_PT   0x01 /* Topology is pt-pt / pt-fabric */

Definition at line 2481 of file lpfc_hw.h.

#define LPFC_TOTAL_HBQ_SIZE
Value:
(sizeof(struct lpfc_hbq_entry) * \
lpfc_sli_hbq_count())

Definition at line 3780 of file lpfc_hw.h.

#define LPFC_UNREG_ALL_DFLT_RPIS   0xffffffff

Definition at line 67 of file lpfc_hw.h.

#define LPFC_UNREG_ALL_RPIS_VPORT   0xffff

Definition at line 66 of file lpfc_hw.h.

#define LS   0x80 /* Last Sequence */

Definition at line 3263 of file lpfc_hw.h.

#define LSEXP_ASSOC_HDR_REQ   0x13

Definition at line 626 of file lpfc_hw.h.

#define LSEXP_CANT_GIVE_DATA   0x2A

Definition at line 637 of file lpfc_hw.h.

#define LSEXP_CMD_IN_PROGRESS   0x19

Definition at line 629 of file lpfc_hw.h.

#define LSEXP_INACTIVE_XCHG   0x25

Definition at line 634 of file lpfc_hw.h.

#define LSEXP_INVALID_ASSOC_HDR   0x11

Definition at line 625 of file lpfc_hw.h.

#define LSEXP_INVALID_CSP   0x0F

Definition at line 624 of file lpfc_hw.h.

#define LSEXP_INVALID_NNAME   0x0E

Definition at line 623 of file lpfc_hw.h.

#define LSEXP_INVALID_NPORT_ID   0x1F

Definition at line 631 of file lpfc_hw.h.

#define LSEXP_INVALID_O_SID   0x15

Definition at line 627 of file lpfc_hw.h.

#define LSEXP_INVALID_OX_RX   0x17

Definition at line 628 of file lpfc_hw.h.

#define LSEXP_INVALID_PNAME   0x0D

Definition at line 622 of file lpfc_hw.h.

#define LSEXP_INVALID_SEQ_ID   0x21

Definition at line 632 of file lpfc_hw.h.

#define LSEXP_INVALID_XCHG   0x23

Definition at line 633 of file lpfc_hw.h.

#define LSEXP_NOTHING_MORE   0x00

Definition at line 615 of file lpfc_hw.h.

#define LSEXP_OUT_OF_RESOURCE   0x29

Definition at line 636 of file lpfc_hw.h.

#define LSEXP_PORT_LOGIN_REQ   0x1E

Definition at line 630 of file lpfc_hw.h.

#define LSEXP_REQ_UNSUPPORTED   0x2C

Definition at line 638 of file lpfc_hw.h.

#define LSEXP_RQ_REQUIRED   0x27

Definition at line 635 of file lpfc_hw.h.

#define LSEXP_SPARM_CONCUR_SEQ   0x09

Definition at line 620 of file lpfc_hw.h.

#define LSEXP_SPARM_CREDIT   0x0B

Definition at line 621 of file lpfc_hw.h.

#define LSEXP_SPARM_ICTL   0x03

Definition at line 617 of file lpfc_hw.h.

#define LSEXP_SPARM_OPTIONS   0x01

Definition at line 616 of file lpfc_hw.h.

#define LSEXP_SPARM_RCTL   0x05

Definition at line 618 of file lpfc_hw.h.

#define LSEXP_SPARM_RCV_SIZE   0x07

Definition at line 619 of file lpfc_hw.h.

#define LSRJT_CMD_UNSUPPORTED   0x0B

Definition at line 610 of file lpfc_hw.h.

#define LSRJT_INVALID_CMD   0x01

Definition at line 605 of file lpfc_hw.h.

#define LSRJT_LOGICAL_BSY   0x05

Definition at line 607 of file lpfc_hw.h.

#define LSRJT_LOGICAL_ERR   0x03

Definition at line 606 of file lpfc_hw.h.

#define LSRJT_PROTOCOL_ERR   0x07

Definition at line 608 of file lpfc_hw.h.

#define LSRJT_UNABLE_TPC   0x09 /* Unable to perform command */

Definition at line 609 of file lpfc_hw.h.

#define LSRJT_VENDOR_UNIQUE   0xFF /* See Byte 3 */

Definition at line 611 of file lpfc_hw.h.

#define MAILBOX_CMD_SIZE   (MAILBOX_CMD_WSIZE * sizeof(uint32_t))

Definition at line 3035 of file lpfc_hw.h.

#define MAILBOX_CMD_WSIZE   32

Definition at line 3034 of file lpfc_hw.h.

#define MAILBOX_EXT_SIZE   (MAILBOX_EXT_WSIZE * sizeof(uint32_t))

Definition at line 3038 of file lpfc_hw.h.

#define MAILBOX_EXT_WSIZE   512

Definition at line 3037 of file lpfc_hw.h.

#define MAILBOX_HBA_EXT_OFFSET   0x100

Definition at line 3039 of file lpfc_hw.h.

#define MAILBOX_SYSFS_MAX   4096

Definition at line 3041 of file lpfc_hw.h.

#define MANUFACTURER   0x2

Definition at line 1037 of file lpfc_hw.h.

#define Mask_DID   0xffffffU

Definition at line 26 of file lpfc_hw.h.

#define MAX_CT_PAYLOAD_LEN   0xb

Definition at line 1046 of file lpfc_hw.h.

#define MAX_FRAME_SIZE   0x4

Definition at line 1054 of file lpfc_hw.h.

#define MAX_MSG_DATA
Value:
28 /* max msg data in CMD_ADAPTER_MSG
iocb */

Definition at line 1562 of file lpfc_hw.h.

#define MAX_SLI2_IOCB   498

Definition at line 3774 of file lpfc_hw.h.

#define MAX_SLI3_CONFIGURED_RINGS   3

Definition at line 1187 of file lpfc_hw.h.

#define MAX_SLI3_RINGS   4

Definition at line 1188 of file lpfc_hw.h.

#define MAX_SLIM_IOCB_SIZE
Value:
(sizeof(MAILBOX_t) + sizeof(PCB_t) + \

Definition at line 3775 of file lpfc_hw.h.

#define MAX_STATIC_VPORT_COUNT   16

Definition at line 2595 of file lpfc_hw.h.

#define MBX_ACCESS_VDATA   0xA5

Definition at line 1459 of file lpfc_hw.h.

#define MBX_ASYNCEVT_ENABLE   0x33

Definition at line 1426 of file lpfc_hw.h.

#define MBX_AUTH_PORT   0xF8

Definition at line 1461 of file lpfc_hw.h.

#define MBX_BEACON   0x2A

Definition at line 1422 of file lpfc_hw.h.

#define MBX_BUSY   0xffffff /* Attempted cmd to busy Mailbox */

Definition at line 1588 of file lpfc_hw.h.

#define MBX_CLEAR_LA   0x16

Definition at line 1408 of file lpfc_hw.h.

#define MBX_CONFIG_FARP   0x25

Definition at line 1421 of file lpfc_hw.h.

#define MBX_CONFIG_HBQ   0x7C

Definition at line 1434 of file lpfc_hw.h.

#define MBX_CONFIG_LINK   0x07

Definition at line 1395 of file lpfc_hw.h.

#define MBX_CONFIG_MSI   0x30

Definition at line 1423 of file lpfc_hw.h.

#define MBX_CONFIG_PORT   0x88

Definition at line 1437 of file lpfc_hw.h.

#define MBX_CONFIG_RING   0x09

Definition at line 1396 of file lpfc_hw.h.

#define MBX_DEL_LD_ENTRY   0x1D

Definition at line 1415 of file lpfc_hw.h.

#define MBX_DOWN_LINK   0x06

Definition at line 1394 of file lpfc_hw.h.

#define MBX_DOWN_LOAD   0x1C

Definition at line 1414 of file lpfc_hw.h.

#define MBX_DUMP_CONTEXT   0x18

Definition at line 1410 of file lpfc_hw.h.

#define MBX_DUMP_MEMORY   0x17

Definition at line 1409 of file lpfc_hw.h.

#define MBX_HEARTBEAT   0x31

Definition at line 1424 of file lpfc_hw.h.

#define MBX_INIT_LINK   0x05

Definition at line 1393 of file lpfc_hw.h.

#define MBX_INIT_VFI   0xA3

Definition at line 1457 of file lpfc_hw.h.

#define MBX_INIT_VPI   0xA4

Definition at line 1458 of file lpfc_hw.h.

#define MBX_KILL_BOARD   0x24

Definition at line 1420 of file lpfc_hw.h.

#define MBX_LOAD_AREA   0x81

Definition at line 1435 of file lpfc_hw.h.

#define MBX_LOAD_EXP_ROM   0x9C

Definition at line 1447 of file lpfc_hw.h.

#define MBX_LOAD_SM   0x01

Definition at line 1389 of file lpfc_hw.h.

#define MBX_MAX_CMDS   0x9E

Definition at line 1450 of file lpfc_hw.h.

#define MBX_NOT_FINISHED   255

Definition at line 1586 of file lpfc_hw.h.

#define MBX_PORT_CAPABILITIES   0x3B

Definition at line 1431 of file lpfc_hw.h.

#define MBX_PORT_IOV_CONTROL   0x3C

Definition at line 1432 of file lpfc_hw.h.

#define MBX_READ_CONFIG   0x0B

Definition at line 1398 of file lpfc_hw.h.

#define MBX_READ_EVENT_LOG   0x38

Definition at line 1428 of file lpfc_hw.h.

#define MBX_READ_EVENT_LOG_STATUS   0x37

Definition at line 1427 of file lpfc_hw.h.

#define MBX_READ_LNK_STAT   0x12

Definition at line 1405 of file lpfc_hw.h.

#define MBX_READ_NV   0x02

Definition at line 1390 of file lpfc_hw.h.

#define MBX_READ_RCONFIG   0x0C

Definition at line 1399 of file lpfc_hw.h.

#define MBX_READ_REV   0x11

Definition at line 1404 of file lpfc_hw.h.

#define MBX_READ_RPI   0x0F

Definition at line 1402 of file lpfc_hw.h.

#define MBX_READ_RPI64   0x8F

Definition at line 1439 of file lpfc_hw.h.

#define MBX_READ_SPARM   0x0D

Definition at line 1400 of file lpfc_hw.h.

#define MBX_READ_SPARM64   0x8D

Definition at line 1438 of file lpfc_hw.h.

#define MBX_READ_STATUS   0x0E

Definition at line 1401 of file lpfc_hw.h.

#define MBX_READ_TOPOLOGY   0x95

Definition at line 1441 of file lpfc_hw.h.

#define MBX_READ_XRI   0x10

Definition at line 1403 of file lpfc_hw.h.

#define MBX_REG_FCFI   0xA0

Definition at line 1454 of file lpfc_hw.h.

#define MBX_REG_LOGIN   0x13

Definition at line 1406 of file lpfc_hw.h.

#define MBX_REG_LOGIN64   0x93

Definition at line 1440 of file lpfc_hw.h.

#define MBX_REG_VFI   0x9F

Definition at line 1453 of file lpfc_hw.h.

#define MBX_REG_VPI   0x96

Definition at line 1442 of file lpfc_hw.h.

#define MBX_RESET_RING   0x0A

Definition at line 1397 of file lpfc_hw.h.

#define MBX_RESTART   0x1A

Definition at line 1412 of file lpfc_hw.h.

#define MBX_RESUME_RPI   0x9E

Definition at line 1451 of file lpfc_hw.h.

#define MBX_RUN_BIU_DIAG   0x04

Definition at line 1392 of file lpfc_hw.h.

#define MBX_RUN_BIU_DIAG64   0x84

Definition at line 1436 of file lpfc_hw.h.

#define MBX_RUN_DIAGS   0x19

Definition at line 1411 of file lpfc_hw.h.

#define MBX_RUN_PROGRAM   0x1E

Definition at line 1416 of file lpfc_hw.h.

#define MBX_SECURITY_MGMT   0xF9

Definition at line 1462 of file lpfc_hw.h.

#define MBX_SET_DEBUG   0x99

Definition at line 1446 of file lpfc_hw.h.

#define MBX_SET_MASK   0x20

Definition at line 1417 of file lpfc_hw.h.

#define MBX_SET_VARIABLE   0x21

Definition at line 1418 of file lpfc_hw.h.

#define MBX_SHUTDOWN   0x00 /* terminate testing */

Definition at line 1388 of file lpfc_hw.h.

#define MBX_SLI2_CMD_MASK   0x80

Definition at line 1452 of file lpfc_hw.h.

#define MBX_SLI4_CONFIG   0x9B

Definition at line 1448 of file lpfc_hw.h.

#define MBX_SLI4_REQ_FTRS   0x9D

Definition at line 1449 of file lpfc_hw.h.

#define MBX_SUCCESS   0

Definition at line 1567 of file lpfc_hw.h.

#define MBX_TIMEOUT   0xfffffe /* time-out expired waiting for */

Definition at line 1589 of file lpfc_hw.h.

#define MBX_UNREG_D_ID   0x23

Definition at line 1419 of file lpfc_hw.h.

#define MBX_UNREG_FCFI   0xA2

Definition at line 1456 of file lpfc_hw.h.

#define MBX_UNREG_LOGIN   0x14

Definition at line 1407 of file lpfc_hw.h.

#define MBX_UNREG_VFI   0xA1

Definition at line 1455 of file lpfc_hw.h.

#define MBX_UNREG_VPI   0x97

Definition at line 1443 of file lpfc_hw.h.

#define MBX_UPDATE_CFG   0x1B

Definition at line 1413 of file lpfc_hw.h.

#define MBX_WRITE_EVENT_LOG   0x39

Definition at line 1429 of file lpfc_hw.h.

#define MBX_WRITE_NV   0x03

Definition at line 1391 of file lpfc_hw.h.

#define MBX_WRITE_VPARMS   0x32

Definition at line 1425 of file lpfc_hw.h.

#define MBX_WRITE_WWN   0x98

Definition at line 1445 of file lpfc_hw.h.

#define MBXERR_BAD_DEF_CLASS   8

Definition at line 1575 of file lpfc_hw.h.

#define MBXERR_BAD_MAX_ORIGINATOR   10

Definition at line 1577 of file lpfc_hw.h.

#define MBXERR_BAD_MAX_RESPONDER   9

Definition at line 1576 of file lpfc_hw.h.

#define MBXERR_BAD_PROFILE   7

Definition at line 1574 of file lpfc_hw.h.

#define MBXERR_BAD_RCV_LENGTH   14

Definition at line 1581 of file lpfc_hw.h.

#define MBXERR_BAD_RING_NUMBER   4

Definition at line 1571 of file lpfc_hw.h.

#define MBXERR_DMA_ERROR   15

Definition at line 1582 of file lpfc_hw.h.

#define MBXERR_ERROR   16

Definition at line 1583 of file lpfc_hw.h.

#define MBXERR_IOCBS_EXCEEDED   3

Definition at line 1570 of file lpfc_hw.h.

#define MBXERR_LINK_DOWN   0x33

Definition at line 1584 of file lpfc_hw.h.

#define MBXERR_MASK_ENTRIES_RANGE   5

Definition at line 1572 of file lpfc_hw.h.

#define MBXERR_MASKS_EXCEEDED   6

Definition at line 1573 of file lpfc_hw.h.

#define MBXERR_NO_RESOURCES   13

Definition at line 1580 of file lpfc_hw.h.

#define MBXERR_NUM_IOCBS   2

Definition at line 1569 of file lpfc_hw.h.

#define MBXERR_NUM_RINGS   1

Definition at line 1568 of file lpfc_hw.h.

#define MBXERR_RPI_FULL   12

Definition at line 1579 of file lpfc_hw.h.

#define MBXERR_RPI_REGISTERED   11

Definition at line 1578 of file lpfc_hw.h.

#define MBXERR_SEC_NO_PERMISSION   0xF02

Definition at line 1585 of file lpfc_hw.h.

#define MENLO_CONTEXT   0

Definition at line 3831 of file lpfc_hw.h.

#define MENLO_PU   3

Definition at line 3832 of file lpfc_hw.h.

#define MENLO_TIMEOUT   30

Definition at line 3833 of file lpfc_hw.h.

#define MENLO_TRANSPORT_TYPE   0xfe

Definition at line 3830 of file lpfc_hw.h.

#define MODEL   0x4

Definition at line 1039 of file lpfc_hw.h.

#define MODEL_DESCRIPTION   0x5

Definition at line 1040 of file lpfc_hw.h.

#define MSIX_DFLT_ID   0

Definition at line 1375 of file lpfc_hw.h.

#define MSIX_LINK_ID   4

Definition at line 1381 of file lpfc_hw.h.

#define MSIX_MBOX_ID   5

Definition at line 1382 of file lpfc_hw.h.

#define MSIX_RNG0_ID   0

Definition at line 1376 of file lpfc_hw.h.

#define MSIX_RNG1_ID   1

Definition at line 1377 of file lpfc_hw.h.

#define MSIX_RNG2_ID   2

Definition at line 1378 of file lpfc_hw.h.

#define MSIX_RNG3_ID   3

Definition at line 1379 of file lpfc_hw.h.

#define MSIX_SPARE0_ID   6

Definition at line 1384 of file lpfc_hw.h.

#define MSIX_SPARE1_ID   7

Definition at line 1385 of file lpfc_hw.h.

#define NAME_CCITT_GR_TYPE   0xE

Definition at line 331 of file lpfc_hw.h.

#define NAME_CCITT_TYPE   0xC

Definition at line 330 of file lpfc_hw.h.

#define NAME_FC_TYPE   0x3 /* FC native name type */

Definition at line 328 of file lpfc_hw.h.

#define NAME_IEEE   0x1 /* IEEE name - nameType */

Definition at line 326 of file lpfc_hw.h.

#define NAME_IEEE_EXT   0x2 /* IEEE extended name */

Definition at line 327 of file lpfc_hw.h.

#define NAME_IP_TYPE   0x4 /* IP address */

Definition at line 329 of file lpfc_hw.h.

#define NameServer_DID   0xfffffcU

Definition at line 22 of file lpfc_hw.h.

#define NODE_NAME   0x1

Definition at line 1036 of file lpfc_hw.h.

#define OPTION_ROM_VERSION   0x8

Definition at line 1043 of file lpfc_hw.h.

#define OS_DEVICE_NAME   0x5

Definition at line 1055 of file lpfc_hw.h.

#define OS_NAME_VERSION   0xa

Definition at line 1045 of file lpfc_hw.h.

#define OWN_CHIP   1

Definition at line 1191 of file lpfc_hw.h.

#define OWN_HOST   0

Definition at line 1194 of file lpfc_hw.h.

#define PARM_NPIV_DID   3

Definition at line 3737 of file lpfc_hw.h.

#define PARM_READ_CHECK   2 /* PU field (Word 4) = Data Transfer Length */

Definition at line 3736 of file lpfc_hw.h.

#define PARM_REL_OFF   1 /* PU field (Word 4) = R. O. */

Definition at line 3735 of file lpfc_hw.h.

#define PARM_UNUSED   0 /* PU field (Word 4) not used */

Definition at line 3734 of file lpfc_hw.h.

#define PCI_DEVICE_ID_BALIUS   0xe131

Definition at line 1206 of file lpfc_hw.h.

#define PCI_DEVICE_ID_BMID   0xf0d5

Definition at line 1219 of file lpfc_hw.h.

#define PCI_DEVICE_ID_BSMB   0xf0d1

Definition at line 1218 of file lpfc_hw.h.

#define PCI_DEVICE_ID_CENTAUR   0xf900

Definition at line 1231 of file lpfc_hw.h.

#define PCI_DEVICE_ID_DRAGONFLY   0xf800

Definition at line 1230 of file lpfc_hw.h.

#define PCI_DEVICE_ID_FALCON   0xf180

Definition at line 1228 of file lpfc_hw.h.

#define PCI_DEVICE_ID_FIREFLY   0x1ae5

Definition at line 1204 of file lpfc_hw.h.

#define PCI_DEVICE_ID_HELIOS   0xfd00

Definition at line 1240 of file lpfc_hw.h.

#define PCI_DEVICE_ID_HELIOS_DCSP   0xfd12

Definition at line 1242 of file lpfc_hw.h.

#define PCI_DEVICE_ID_HELIOS_SCSP   0xfd11

Definition at line 1241 of file lpfc_hw.h.

#define PCI_DEVICE_ID_HORNET   0xfe05

Definition at line 1244 of file lpfc_hw.h.

#define PCI_DEVICE_ID_LANCER_FC   0xe200

Definition at line 1208 of file lpfc_hw.h.

#define PCI_DEVICE_ID_LANCER_FC_VF   0xe208

Definition at line 1209 of file lpfc_hw.h.

#define PCI_DEVICE_ID_LANCER_FCOE   0xe260

Definition at line 1210 of file lpfc_hw.h.

#define PCI_DEVICE_ID_LANCER_FCOE_VF   0xe268

Definition at line 1211 of file lpfc_hw.h.

#define PCI_DEVICE_ID_LP10000S   0xfc00

Definition at line 1235 of file lpfc_hw.h.

#define PCI_DEVICE_ID_LP101   0xf0a1

Definition at line 1216 of file lpfc_hw.h.

#define PCI_DEVICE_ID_LP11000S   0xfc10

Definition at line 1236 of file lpfc_hw.h.

#define PCI_DEVICE_ID_LPE11000S   0xfc20

Definition at line 1237 of file lpfc_hw.h.

#define PCI_DEVICE_ID_NEPTUNE   0xf0f5

Definition at line 1222 of file lpfc_hw.h.

#define PCI_DEVICE_ID_NEPTUNE_DCSP   0xf0f7

Definition at line 1224 of file lpfc_hw.h.

#define PCI_DEVICE_ID_NEPTUNE_SCSP   0xf0f6

Definition at line 1223 of file lpfc_hw.h.

#define PCI_DEVICE_ID_PEGASUS   0xf980

Definition at line 1232 of file lpfc_hw.h.

#define PCI_DEVICE_ID_PFLY   0xf098

Definition at line 1215 of file lpfc_hw.h.

#define PCI_DEVICE_ID_PROTEUS_PF   0xe180

Definition at line 1207 of file lpfc_hw.h.

#define PCI_DEVICE_ID_PROTEUS_S   0xfc50

Definition at line 1239 of file lpfc_hw.h.

#define PCI_DEVICE_ID_PROTEUS_VF   0xe100

Definition at line 1205 of file lpfc_hw.h.

#define PCI_DEVICE_ID_RFLY   0xf095

Definition at line 1214 of file lpfc_hw.h.

#define PCI_DEVICE_ID_SAT   0xf100

Definition at line 1225 of file lpfc_hw.h.

#define PCI_DEVICE_ID_SAT_DCSP   0xf112

Definition at line 1227 of file lpfc_hw.h.

#define PCI_DEVICE_ID_SAT_MID   0xf015

Definition at line 1213 of file lpfc_hw.h.

#define PCI_DEVICE_ID_SAT_S   0xfc40

Definition at line 1238 of file lpfc_hw.h.

#define PCI_DEVICE_ID_SAT_SCSP   0xf111

Definition at line 1226 of file lpfc_hw.h.

#define PCI_DEVICE_ID_SAT_SMB   0xf011

Definition at line 1212 of file lpfc_hw.h.

#define PCI_DEVICE_ID_SKYHAWK   0x0724

Definition at line 1250 of file lpfc_hw.h.

#define PCI_DEVICE_ID_SKYHAWK_VF   0x072c

Definition at line 1251 of file lpfc_hw.h.

#define PCI_DEVICE_ID_SUPERFLY   0xf700

Definition at line 1229 of file lpfc_hw.h.

#define PCI_DEVICE_ID_TFLY   0xf0a5

Definition at line 1217 of file lpfc_hw.h.

#define PCI_DEVICE_ID_THOR   0xfa00

Definition at line 1233 of file lpfc_hw.h.

#define PCI_DEVICE_ID_TIGERSHARK   0x0704

Definition at line 1248 of file lpfc_hw.h.

#define PCI_DEVICE_ID_TOMCAT   0x0714

Definition at line 1249 of file lpfc_hw.h.

#define PCI_DEVICE_ID_VIPER   0xfb00

Definition at line 1234 of file lpfc_hw.h.

#define PCI_DEVICE_ID_ZEPHYR   0xfe00

Definition at line 1243 of file lpfc_hw.h.

#define PCI_DEVICE_ID_ZEPHYR_DCSP   0xfe12

Definition at line 1246 of file lpfc_hw.h.

#define PCI_DEVICE_ID_ZEPHYR_SCSP   0xfe11

Definition at line 1245 of file lpfc_hw.h.

#define PCI_DEVICE_ID_ZMID   0xf0e5

Definition at line 1221 of file lpfc_hw.h.

#define PCI_DEVICE_ID_ZSMB   0xf0e1

Definition at line 1220 of file lpfc_hw.h.

#define PCI_VENDOR_ID_EMULEX   0x10df

Definition at line 1203 of file lpfc_hw.h.

#define PCI_VENDOR_ID_SERVERENGINE   0x19a2

Definition at line 1247 of file lpfc_hw.h.

#define pde5_rsvd0_MASK   0x00ffffff

Definition at line 1670 of file lpfc_hw.h.

#define pde5_rsvd0_SHIFT   0

Definition at line 1669 of file lpfc_hw.h.

#define pde5_rsvd0_WORD   word0

Definition at line 1671 of file lpfc_hw.h.

#define pde5_type_MASK   0x000000ff

Definition at line 1667 of file lpfc_hw.h.

#define pde5_type_SHIFT   24

Definition at line 1666 of file lpfc_hw.h.

#define pde5_type_WORD   word0

Definition at line 1668 of file lpfc_hw.h.

#define pde6_ae_MASK   0x00000001

Definition at line 1714 of file lpfc_hw.h.

#define pde6_ae_SHIFT   20

Definition at line 1713 of file lpfc_hw.h.

#define pde6_ae_WORD   word2

Definition at line 1715 of file lpfc_hw.h.

#define pde6_ai_MASK   0x00000001

Definition at line 1717 of file lpfc_hw.h.

#define pde6_ai_SHIFT   19

Definition at line 1716 of file lpfc_hw.h.

#define pde6_ai_WORD   word2

Definition at line 1718 of file lpfc_hw.h.

#define pde6_apptagtr_MASK   0x0000ffff

Definition at line 1695 of file lpfc_hw.h.

#define pde6_apptagtr_SHIFT   0

Definition at line 1694 of file lpfc_hw.h.

#define pde6_apptagtr_WORD   word1

Definition at line 1696 of file lpfc_hw.h.

#define pde6_apptagval_MASK   0x0000ffff

Definition at line 1723 of file lpfc_hw.h.

#define pde6_apptagval_SHIFT   0

Definition at line 1722 of file lpfc_hw.h.

#define pde6_apptagval_WORD   word2

Definition at line 1724 of file lpfc_hw.h.

#define pde6_bs_MASK   0x00000007

Definition at line 1720 of file lpfc_hw.h.

#define pde6_bs_SHIFT   16

Definition at line 1719 of file lpfc_hw.h.

#define pde6_bs_WORD   word2

Definition at line 1721 of file lpfc_hw.h.

#define pde6_ce_MASK   0x00000001

Definition at line 1708 of file lpfc_hw.h.

#define pde6_ce_SHIFT   22

Definition at line 1707 of file lpfc_hw.h.

#define pde6_ce_WORD   word2

Definition at line 1709 of file lpfc_hw.h.

#define pde6_na_MASK   0x00000001

Definition at line 1689 of file lpfc_hw.h.

#define pde6_na_SHIFT   25

Definition at line 1688 of file lpfc_hw.h.

#define pde6_na_WORD   word1

Definition at line 1690 of file lpfc_hw.h.

#define pde6_nr_MASK   0x00000001

Definition at line 1705 of file lpfc_hw.h.

#define pde6_nr_SHIFT   23

Definition at line 1704 of file lpfc_hw.h.

#define pde6_nr_WORD   word2

Definition at line 1706 of file lpfc_hw.h.

#define pde6_oprx_MASK   0x0000000f

Definition at line 1702 of file lpfc_hw.h.

#define pde6_oprx_SHIFT   24

Definition at line 1701 of file lpfc_hw.h.

#define pde6_oprx_WORD   word2

Definition at line 1703 of file lpfc_hw.h.

#define pde6_optx_MASK   0x0000000f

Definition at line 1699 of file lpfc_hw.h.

#define pde6_optx_SHIFT   28

Definition at line 1698 of file lpfc_hw.h.

#define pde6_optx_WORD   word2

Definition at line 1700 of file lpfc_hw.h.

#define pde6_re_MASK   0x00000001

Definition at line 1711 of file lpfc_hw.h.

#define pde6_re_SHIFT   21

Definition at line 1710 of file lpfc_hw.h.

#define pde6_re_WORD   word2

Definition at line 1712 of file lpfc_hw.h.

#define pde6_rsvd0_MASK   0x00ffffff

Definition at line 1682 of file lpfc_hw.h.

#define pde6_rsvd0_SHIFT   0

Definition at line 1681 of file lpfc_hw.h.

#define pde6_rsvd0_WORD   word0

Definition at line 1683 of file lpfc_hw.h.

#define pde6_rsvd1_MASK   0x0000003f

Definition at line 1686 of file lpfc_hw.h.

#define pde6_rsvd1_SHIFT   26

Definition at line 1685 of file lpfc_hw.h.

#define pde6_rsvd1_WORD   word1

Definition at line 1687 of file lpfc_hw.h.

#define pde6_rsvd2_MASK   0x000001FF

Definition at line 1692 of file lpfc_hw.h.

#define pde6_rsvd2_SHIFT   16

Definition at line 1691 of file lpfc_hw.h.

#define pde6_rsvd2_WORD   word1

Definition at line 1693 of file lpfc_hw.h.

#define pde6_type_MASK   0x000000ff

Definition at line 1679 of file lpfc_hw.h.

#define pde6_type_SHIFT   24

Definition at line 1678 of file lpfc_hw.h.

#define pde6_type_WORD   word0

Definition at line 1680 of file lpfc_hw.h.

#define pde7_rsvd0_MASK   0x00ffffff

Definition at line 1733 of file lpfc_hw.h.

#define pde7_rsvd0_SHIFT   0

Definition at line 1732 of file lpfc_hw.h.

#define pde7_rsvd0_WORD   word0

Definition at line 1734 of file lpfc_hw.h.

#define pde7_type_MASK   0x000000ff

Definition at line 1730 of file lpfc_hw.h.

#define pde7_type_SHIFT   24

Definition at line 1729 of file lpfc_hw.h.

#define pde7_type_WORD   word0

Definition at line 1731 of file lpfc_hw.h.

#define PEGASUS_JEDEC_ID   0x0038

Definition at line 1261 of file lpfc_hw.h.

#define PEGASUS_ORION_JEDEC_ID   0x0036

Definition at line 1260 of file lpfc_hw.h.

#define PORT_SPEED   0x3

Definition at line 1053 of file lpfc_hw.h.

#define PRLI_FCP_TYPE   0x08

Definition at line 671 of file lpfc_hw.h.

#define PRLI_INIT_INCOMPLETE   0x3

Definition at line 693 of file lpfc_hw.h.

#define PRLI_INVALID_PAGE_CNT   0x7

Definition at line 697 of file lpfc_hw.h.

#define PRLI_NO_RESOURCES   0x2

Definition at line 692 of file lpfc_hw.h.

#define PRLI_NO_SUCH_PA   0x4

Definition at line 694 of file lpfc_hw.h.

#define PRLI_PARTIAL_SUCCESS   0x6

Definition at line 696 of file lpfc_hw.h.

#define PRLI_PREDEF_CONFIG   0x5

Definition at line 695 of file lpfc_hw.h.

#define PRLI_REQ_EXECUTED   0x1 /* acceptRspCode */

Definition at line 691 of file lpfc_hw.h.

#define PRLO_FCP_TYPE   0x08

Definition at line 751 of file lpfc_hw.h.

#define PRLO_INVALID_PAGE_CNT   0x7

Definition at line 768 of file lpfc_hw.h.

#define PRLO_NO_SUCH_IMAGE   0x4

Definition at line 767 of file lpfc_hw.h.

#define PRLO_REQ_EXECUTED   0x1 /* acceptRspCode */

Definition at line 766 of file lpfc_hw.h.

#define PRLX_PAGE_LEN   0x10

Definition at line 665 of file lpfc_hw.h.

#define PT2PT_LocalID   1

Definition at line 31 of file lpfc_hw.h.

#define PT2PT_RemoteID   2

Definition at line 32 of file lpfc_hw.h.

#define qtov__rsvd1_SHIFT   19

Definition at line 924 of file lpfc_hw.h.

#define qtov_edtovres_MASK   0x00000001

Definition at line 922 of file lpfc_hw.h.

#define qtov_edtovres_SHIFT   27

Definition at line 921 of file lpfc_hw.h.

#define qtov_edtovres_WORD   qtov /* E_D_TOV Resolution */

Definition at line 923 of file lpfc_hw.h.

#define qtov_rsvd0_MASK   0x0000000f

Definition at line 919 of file lpfc_hw.h.

#define qtov_rsvd0_SHIFT   28

Definition at line 918 of file lpfc_hw.h.

#define qtov_rsvd0_WORD   qtov /* reserved */

Definition at line 920 of file lpfc_hw.h.

#define qtov_rsvd1_MASK   0x0000003f

Definition at line 925 of file lpfc_hw.h.

#define qtov_rsvd1_WORD   qtov /* reserved */

Definition at line 926 of file lpfc_hw.h.

#define qtov_rsvd2_MASK   0x0003ffff

Definition at line 931 of file lpfc_hw.h.

#define qtov_rsvd2_SHIFT   0

Definition at line 930 of file lpfc_hw.h.

#define qtov_rsvd2_WORD   qtov /* reserved */

Definition at line 932 of file lpfc_hw.h.

#define qtov_rttov_MASK   0x00000001

Definition at line 928 of file lpfc_hw.h.

#define qtov_rttov_SHIFT   18

Definition at line 927 of file lpfc_hw.h.

#define qtov_rttov_WORD   qtov /* R_T_TOV value */

Definition at line 929 of file lpfc_hw.h.

#define REJECT_CODE   0x9 /* Unable to perform command request */

Definition at line 1026 of file lpfc_hw.h.

#define RFF_REQUEST_SZ
Value:
(offsetof(struct lpfc_sli_ct_request, un) + \
sizeof(struct rff))

Definition at line 178 of file lpfc_hw.h.

#define RFT_REQUEST_SZ
Value:
(offsetof(struct lpfc_sli_ct_request, un) + \
sizeof(struct rft))

Definition at line 176 of file lpfc_hw.h.

#define RJT_BAD_CONTROL   0x08 /* Invalid link conrtol */

Definition at line 3166 of file lpfc_hw.h.

#define RJT_BAD_D_ID   0x01 /* Invalid D_ID field */

Definition at line 3159 of file lpfc_hw.h.

#define RJT_BAD_DFCTL   0x0E /* DF_CTL invalid */

Definition at line 3172 of file lpfc_hw.h.

#define RJT_BAD_FCTL   0x0A /* F_CTL invalid */

Definition at line 3168 of file lpfc_hw.h.

#define RJT_BAD_LENGTH   0x13 /* Invalid Length */

Definition at line 3177 of file lpfc_hw.h.

#define RJT_BAD_OXID   0x0B /* OX_ID invalid */

Definition at line 3169 of file lpfc_hw.h.

#define RJT_BAD_PARM   0x10 /* Param. field invalid */

Definition at line 3174 of file lpfc_hw.h.

#define RJT_BAD_RCTL   0x09 /* R_CTL invalid */

Definition at line 3167 of file lpfc_hw.h.

#define RJT_BAD_RXID   0x0C /* RX_ID invalid */

Definition at line 3170 of file lpfc_hw.h.

#define RJT_BAD_S_ID   0x02 /* Invalid S_ID field */

Definition at line 3160 of file lpfc_hw.h.

#define RJT_BAD_SEQCNT   0x0F /* SEQ_CNT invalid */

Definition at line 3173 of file lpfc_hw.h.

#define RJT_BAD_SEQID   0x0D /* SEQ_ID invalid */

Definition at line 3171 of file lpfc_hw.h.

#define RJT_DELIM_ERR   0x06 /* Delimiter usage error */

Definition at line 3164 of file lpfc_hw.h.

#define RJT_LOGIN_REQUIRED   0x16 /* Login required */

Definition at line 3179 of file lpfc_hw.h.

#define RJT_PROT_ERR   0x12 /* Protocol error */

Definition at line 3176 of file lpfc_hw.h.

#define RJT_TOO_MANY_SEQ   0x17 /* Excessive sequences */

Definition at line 3180 of file lpfc_hw.h.

#define RJT_UNAVAIL_PATH   0x1A /* Fabric Path not available */

Definition at line 3183 of file lpfc_hw.h.

#define RJT_UNAVAIL_PERM   0x04 /* N_Port unavailable perm. */

Definition at line 3162 of file lpfc_hw.h.

#define RJT_UNAVAIL_TEMP   0x03 /* N_Port unavailable temp. */

Definition at line 3161 of file lpfc_hw.h.

#define RJT_UNEXPECTED_ACK   0x14 /* Unexpected ACK */

Definition at line 3178 of file lpfc_hw.h.

#define RJT_UNSUP_CLASS   0x05 /* Class not supported */

Definition at line 3163 of file lpfc_hw.h.

#define RJT_UNSUP_SEC_HDR   0x19 /* Security hdr not supported */

Definition at line 3182 of file lpfc_hw.h.

#define RJT_UNSUP_TYPE   0x07 /* Type not supported */

Definition at line 3165 of file lpfc_hw.h.

#define RJT_VENDOR_UNIQUE   0xFF /* Vendor unique error */

Definition at line 3184 of file lpfc_hw.h.

#define RJT_XCHG_ERR   0x11 /* Exchange error */

Definition at line 3175 of file lpfc_hw.h.

#define RJT_XCHG_NOT_STRT   0x18 /* Exchange not started */

Definition at line 3181 of file lpfc_hw.h.

#define rls_did_MASK   0x00ffffff

Definition at line 881 of file lpfc_hw.h.

#define rls_did_SHIFT   0

Definition at line 880 of file lpfc_hw.h.

#define rls_did_WORD   rls

Definition at line 882 of file lpfc_hw.h.

#define rls_rsvd_MASK   0x000000ff

Definition at line 878 of file lpfc_hw.h.

#define rls_rsvd_SHIFT   24

Definition at line 877 of file lpfc_hw.h.

#define rls_rsvd_WORD   rls

Definition at line 879 of file lpfc_hw.h.

#define RNID_DRIVER   0xd

Definition at line 830 of file lpfc_hw.h.

#define RNID_HBA   0x7

Definition at line 828 of file lpfc_hw.h.

#define RNID_HOST   0xa

Definition at line 829 of file lpfc_hw.h.

#define RNID_IPV4   0x1

Definition at line 834 of file lpfc_hw.h.

#define RNID_IPV6   0x2

Definition at line 835 of file lpfc_hw.h.

#define RNID_LP_VALID   0x2

Definition at line 841 of file lpfc_hw.h.

#define RNID_TD_SUPPORT   0x1

Definition at line 840 of file lpfc_hw.h.

#define RNID_TOPOLOGY_DISC   0xdf

Definition at line 846 of file lpfc_hw.h.

#define RNN_REQUEST_SZ
Value:
(offsetof(struct lpfc_sli_ct_request, un) + \
sizeof(struct rnn))

Definition at line 180 of file lpfc_hw.h.

#define rrq_did_MASK   0x00ffffff

Definition at line 900 of file lpfc_hw.h.

#define rrq_did_SHIFT   0

Definition at line 899 of file lpfc_hw.h.

#define rrq_did_WORD   rrq

Definition at line 901 of file lpfc_hw.h.

#define rrq_oxid_MASK   0xffff

Definition at line 904 of file lpfc_hw.h.

#define rrq_oxid_SHIFT   16

Definition at line 903 of file lpfc_hw.h.

#define rrq_oxid_WORD   rrq_exchg

Definition at line 905 of file lpfc_hw.h.

#define rrq_rsvd_MASK   0x000000ff

Definition at line 897 of file lpfc_hw.h.

#define rrq_rsvd_SHIFT   24

Definition at line 896 of file lpfc_hw.h.

#define rrq_rsvd_WORD   rrq

Definition at line 898 of file lpfc_hw.h.

#define rrq_rxid_MASK   0xffff

Definition at line 907 of file lpfc_hw.h.

#define rrq_rxid_SHIFT   0

Definition at line 906 of file lpfc_hw.h.

#define rrq_rxid_WORD   rrq_exchg

Definition at line 908 of file lpfc_hw.h.

#define RSCN_ADDRESS_FORMAT_AREA   0x1

Definition at line 974 of file lpfc_hw.h.

#define RSCN_ADDRESS_FORMAT_DOMAIN   0x2

Definition at line 975 of file lpfc_hw.h.

#define RSCN_ADDRESS_FORMAT_FABRIC   0x3

Definition at line 976 of file lpfc_hw.h.

#define RSCN_ADDRESS_FORMAT_MASK   0x3

Definition at line 977 of file lpfc_hw.h.

#define RSCN_ADDRESS_FORMAT_PORT   0x0

Definition at line 973 of file lpfc_hw.h.

#define RSNN_REQUEST_SZ
Value:
(offsetof(struct lpfc_sli_ct_request, un) + \
sizeof(struct rsnn))

Definition at line 182 of file lpfc_hw.h.

#define RSPN_REQUEST_SZ
Value:
(offsetof(struct lpfc_sli_ct_request, un) + \
sizeof(struct rspn))

Definition at line 186 of file lpfc_hw.h.

#define SATURN_JEDEC_ID   0x1004

Definition at line 1266 of file lpfc_hw.h.

#define SCR_CLEAR   0xff

Definition at line 821 of file lpfc_hw.h.

#define SCR_DID   0xfffffdU

Definition at line 23 of file lpfc_hw.h.

#define SCR_FUNC_FABRIC   0x01

Definition at line 818 of file lpfc_hw.h.

#define SCR_FUNC_FULL   0x03

Definition at line 820 of file lpfc_hw.h.

#define SCR_FUNC_NPORT   0x02

Definition at line 819 of file lpfc_hw.h.

#define SERIAL_NUMBER   0x3

Definition at line 1038 of file lpfc_hw.h.

#define SETVAR_MLOMNT   0x103107

Definition at line 3834 of file lpfc_hw.h.

#define SETVAR_MLORST   0x103007

Definition at line 3835 of file lpfc_hw.h.

#define SI   0x04 /* Sequence Initiative */

Definition at line 3261 of file lpfc_hw.h.

#define SLI1_SLIM_SIZE   (4 * 1024)

Definition at line 3766 of file lpfc_hw.h.

#define SLI2_IOCB_CMD_R0_ENTRIES   172 /* SLI-2 FCP command ring entries */

Definition at line 48 of file lpfc_hw.h.

#define SLI2_IOCB_CMD_R1_ENTRIES   4 /* SLI-2 extra command ring entries */

Definition at line 50 of file lpfc_hw.h.

#define SLI2_IOCB_CMD_R1XTRA_ENTRIES   36 /* SLI-2 extra FCP cmd ring entries */

Definition at line 52 of file lpfc_hw.h.

#define SLI2_IOCB_CMD_R2_ENTRIES   20 /* SLI-2 ELS command ring entries */

Definition at line 54 of file lpfc_hw.h.

#define SLI2_IOCB_CMD_R3_ENTRIES   0

Definition at line 56 of file lpfc_hw.h.

#define SLI2_IOCB_CMD_R3XTRA_ENTRIES   24

Definition at line 58 of file lpfc_hw.h.

#define SLI2_IOCB_CMD_SIZE   32

Definition at line 61 of file lpfc_hw.h.

#define SLI2_IOCB_RSP_R0_ENTRIES   134 /* SLI-2 FCP response ring entries */

Definition at line 49 of file lpfc_hw.h.

#define SLI2_IOCB_RSP_R1_ENTRIES   4 /* SLI-2 extra response ring entries */

Definition at line 51 of file lpfc_hw.h.

#define SLI2_IOCB_RSP_R1XTRA_ENTRIES   52 /* SLI-2 extra FCP rsp ring entries */

Definition at line 53 of file lpfc_hw.h.

#define SLI2_IOCB_RSP_R2_ENTRIES   20 /* SLI-2 ELS response ring entries */

Definition at line 55 of file lpfc_hw.h.

#define SLI2_IOCB_RSP_R3_ENTRIES   0

Definition at line 57 of file lpfc_hw.h.

#define SLI2_IOCB_RSP_R3XTRA_ENTRIES   32

Definition at line 59 of file lpfc_hw.h.

#define SLI2_IOCB_RSP_SIZE   32

Definition at line 62 of file lpfc_hw.h.

#define SLI2_SLIM_SIZE   (64 * 1024)

Definition at line 3771 of file lpfc_hw.h.

#define SLI3_IOCB_CMD_SIZE   128

Definition at line 63 of file lpfc_hw.h.

#define SLI3_IOCB_RSP_SIZE   64

Definition at line 64 of file lpfc_hw.h.

#define SLI_CT_ACCESS_DENIED   0x10

Definition at line 247 of file lpfc_hw.h.

#define SLI_CT_DATABASE_EMPTY   0x12

Definition at line 249 of file lpfc_hw.h.

#define SLI_CT_DIRECTORY_NAME_SERVER   0x02

Definition at line 202 of file lpfc_hw.h.

#define SLI_CT_DIRECTORY_SERVICE   0xFC

Definition at line 195 of file lpfc_hw.h.

#define SLI_CT_FABRIC_CONTROLLER_SERVICE   0xFD

Definition at line 196 of file lpfc_hw.h.

#define SLI_CT_FDMI_Subtypes   0x10

Definition at line 1021 of file lpfc_hw.h.

#define SLI_CT_HBA_ATTR_NOT_PRESENT   0x13

Definition at line 227 of file lpfc_hw.h.

#define SLI_CT_HBA_INFO_NOT_REGISTERED   0x10

Definition at line 224 of file lpfc_hw.h.

#define SLI_CT_INVALID_COMMAND   0x01

Definition at line 216 of file lpfc_hw.h.

#define SLI_CT_INVALID_HBA_ATTR_BLOCK_LEN   0x12

Definition at line 226 of file lpfc_hw.h.

#define SLI_CT_INVALID_IU_SIZE   0x04

Definition at line 219 of file lpfc_hw.h.

#define SLI_CT_INVALID_PORT_ATTR_BLOCK_LEN   0x22

Definition at line 230 of file lpfc_hw.h.

#define SLI_CT_INVALID_PORT_ID   0x11

Definition at line 248 of file lpfc_hw.h.

#define SLI_CT_INVALID_VERSION   0x02

Definition at line 217 of file lpfc_hw.h.

#define SLI_CT_LAST_ENTRY   0x80000000

Definition at line 298 of file lpfc_hw.h.

#define SLI_CT_LOGICAL_BUSY   0x05

Definition at line 220 of file lpfc_hw.h.

#define SLI_CT_LOGICAL_ERROR   0x03

Definition at line 218 of file lpfc_hw.h.

#define SLI_CT_MANAGEMENT_SERVICE   0xFA

Definition at line 193 of file lpfc_hw.h.

#define SLI_CT_MULTIPLE_HBA_ATTR_OF_SAME_TYPE   0x11

Definition at line 225 of file lpfc_hw.h.

#define SLI_CT_MULTIPLE_PORT_ATTR_OF_SAME_TYPE   0x21

Definition at line 229 of file lpfc_hw.h.

#define SLI_CT_NO_ADDITIONAL_EXPL   0x0

Definition at line 215 of file lpfc_hw.h.

#define SLI_CT_NO_CLASS_OF_SERVICE   0x04

Definition at line 240 of file lpfc_hw.h.

#define SLI_CT_NO_FC4_TYPES   0x07

Definition at line 243 of file lpfc_hw.h.

#define SLI_CT_NO_IP_ADDRESS   0x05

Definition at line 241 of file lpfc_hw.h.

#define SLI_CT_NO_IPA   0x06

Definition at line 242 of file lpfc_hw.h.

#define SLI_CT_NO_NODE_NAME   0x03

Definition at line 239 of file lpfc_hw.h.

#define SLI_CT_NO_PORT_ID   0x01

Definition at line 237 of file lpfc_hw.h.

#define SLI_CT_NO_PORT_NAME   0x02

Definition at line 238 of file lpfc_hw.h.

#define SLI_CT_NO_PORT_TYPE   0x0A

Definition at line 246 of file lpfc_hw.h.

#define SLI_CT_NO_SYMBOLIC_NODE_NAME   0x09

Definition at line 245 of file lpfc_hw.h.

#define SLI_CT_NO_SYMBOLIC_PORT_NAME   0x08

Definition at line 244 of file lpfc_hw.h.

#define SLI_CT_PORT_INFO_NOT_REGISTERED   0x20

Definition at line 228 of file lpfc_hw.h.

#define SLI_CT_PROTOCOL_ERROR   0x07

Definition at line 221 of file lpfc_hw.h.

#define SLI_CT_REQ_NOT_SUPPORTED   0x0b

Definition at line 223 of file lpfc_hw.h.

#define SLI_CT_RESPONSE_FS_ACC   0x8002

Definition at line 209 of file lpfc_hw.h.

#define SLI_CT_RESPONSE_FS_RJT   0x8001

Definition at line 208 of file lpfc_hw.h.

#define SLI_CT_REVISION   1

Definition at line 171 of file lpfc_hw.h.

#define SLI_CT_TIME_SERVICE   0xFB

Definition at line 194 of file lpfc_hw.h.

#define SLI_CT_UNABLE_TO_PERFORM_REQ   0x09

Definition at line 222 of file lpfc_hw.h.

#define SLI_CT_VENDOR_UNIQUE   0xff

Definition at line 231 of file lpfc_hw.h.

#define SLI_CTNS_DA_ID   0x0300

Definition at line 282 of file lpfc_hw.h.

#define SLI_CTNS_GA_NXT   0x0100

Definition at line 255 of file lpfc_hw.h.

#define SLI_CTNS_GCS_ID   0x0114

Definition at line 258 of file lpfc_hw.h.

#define SLI_CTNS_GFF_ID   0x011F

Definition at line 262 of file lpfc_hw.h.

#define SLI_CTNS_GFT_ID   0x0117

Definition at line 259 of file lpfc_hw.h.

#define SLI_CTNS_GID_FT   0x0171

Definition at line 270 of file lpfc_hw.h.

#define SLI_CTNS_GID_NN   0x0131

Definition at line 264 of file lpfc_hw.h.

#define SLI_CTNS_GID_PN   0x0121

Definition at line 263 of file lpfc_hw.h.

#define SLI_CTNS_GID_PT   0x01A1

Definition at line 271 of file lpfc_hw.h.

#define SLI_CTNS_GIP_NN   0x0135

Definition at line 265 of file lpfc_hw.h.

#define SLI_CTNS_GIPA_IP   0x0156

Definition at line 269 of file lpfc_hw.h.

#define SLI_CTNS_GIPA_NN   0x0136

Definition at line 266 of file lpfc_hw.h.

#define SLI_CTNS_GNN_ID   0x0113

Definition at line 257 of file lpfc_hw.h.

#define SLI_CTNS_GNN_IP   0x0153

Definition at line 268 of file lpfc_hw.h.

#define SLI_CTNS_GPN_ID   0x0112

Definition at line 256 of file lpfc_hw.h.

#define SLI_CTNS_GPT_ID   0x011A

Definition at line 261 of file lpfc_hw.h.

#define SLI_CTNS_GSNN_NN   0x0139

Definition at line 267 of file lpfc_hw.h.

#define SLI_CTNS_GSPN_ID   0x0118

Definition at line 260 of file lpfc_hw.h.

#define SLI_CTNS_RCS_ID   0x0214

Definition at line 274 of file lpfc_hw.h.

#define SLI_CTNS_RFF_ID   0x021F

Definition at line 278 of file lpfc_hw.h.

#define SLI_CTNS_RFT_ID   0x0217

Definition at line 275 of file lpfc_hw.h.

#define SLI_CTNS_RIP_NN   0x0235

Definition at line 279 of file lpfc_hw.h.

#define SLI_CTNS_RIPA_NN   0x0236

Definition at line 280 of file lpfc_hw.h.

#define SLI_CTNS_RNN_ID   0x0213

Definition at line 273 of file lpfc_hw.h.

#define SLI_CTNS_RPN_ID   0x0212

Definition at line 272 of file lpfc_hw.h.

#define SLI_CTNS_RPT_ID   0x021A

Definition at line 277 of file lpfc_hw.h.

#define SLI_CTNS_RSNN_NN   0x0239

Definition at line 281 of file lpfc_hw.h.

#define SLI_CTNS_RSPN_ID   0x0218

Definition at line 276 of file lpfc_hw.h.

#define SLI_CTPT_E_PORT   0x84

Definition at line 296 of file lpfc_hw.h.

#define SLI_CTPT_F_PORT   0x81

Definition at line 294 of file lpfc_hw.h.

#define SLI_CTPT_FCP   0x08

Definition at line 292 of file lpfc_hw.h.

#define SLI_CTPT_FL_PORT   0x82

Definition at line 295 of file lpfc_hw.h.

#define SLI_CTPT_FNL_PORT   0x03

Definition at line 290 of file lpfc_hw.h.

#define SLI_CTPT_IP   0x04

Definition at line 291 of file lpfc_hw.h.

#define SLI_CTPT_N_PORT   0x01

Definition at line 288 of file lpfc_hw.h.

#define SLI_CTPT_NL_PORT   0x02

Definition at line 289 of file lpfc_hw.h.

#define SLI_CTPT_NX_PORT   0x7F

Definition at line 293 of file lpfc_hw.h.

#define SLI_MGMT_DHBA   0x300 /* De-register HBA */

Definition at line 1015 of file lpfc_hw.h.

#define SLI_MGMT_DPRT   0x310 /* De-register Port */

Definition at line 1016 of file lpfc_hw.h.

#define SLI_MGMT_GHAT   0x101 /* Get HBA attributes */

Definition at line 1008 of file lpfc_hw.h.

#define SLI_MGMT_GPAT   0x110 /* Get Port attributes */

Definition at line 1010 of file lpfc_hw.h.

#define SLI_MGMT_GRHL   0x100 /* Get registered HBA list */

Definition at line 1007 of file lpfc_hw.h.

#define SLI_MGMT_GRPL   0x102 /* Get registered Port list */

Definition at line 1009 of file lpfc_hw.h.

#define SLI_MGMT_RHAT   0x201 /* Register HBA attributes */

Definition at line 1012 of file lpfc_hw.h.

#define SLI_MGMT_RHBA   0x200 /* Register HBA */

Definition at line 1011 of file lpfc_hw.h.

#define SLI_MGMT_RPA   0x211 /* Register Port attributes */

Definition at line 1014 of file lpfc_hw.h.

#define SLI_MGMT_RPRT   0x210 /* Register Port */

Definition at line 1013 of file lpfc_hw.h.

#define SLIMOFF   0x30 /* WORD */

Definition at line 2954 of file lpfc_hw.h.

#define SUPERFLY_JEDEC_ID   0x0020

Definition at line 1255 of file lpfc_hw.h.

#define SUPPORTED_FC4_TYPES   0x1

Definition at line 1051 of file lpfc_hw.h.

#define SUPPORTED_SPEED   0x2

Definition at line 1052 of file lpfc_hw.h.

#define TEMPERATURE_OFFSET   0xB0 /* Slim offset for critical temperature event */

Definition at line 1591 of file lpfc_hw.h.

#define THOR_JEDEC_ID   0x0012

Definition at line 1262 of file lpfc_hw.h.

#define TPRLO_PAGE_LEN   0x14

Definition at line 666 of file lpfc_hw.h.

#define TYPE_NATIVE_SLI2   0x01

Definition at line 2980 of file lpfc_hw.h.

#define ulpContext   un1.t1.ulpContext

Definition at line 3687 of file lpfc_hw.h.

#define ulpCt_h   ulpXS

Definition at line 3729 of file lpfc_hw.h.

#define ulpCt_l   ulpFCP2Rcvy

Definition at line 3730 of file lpfc_hw.h.

#define ulpIoTag   un1.t1.ulpIoTag

Definition at line 3688 of file lpfc_hw.h.

#define ulpIoTag0   un1.t2.ulpIoTag0

Definition at line 3689 of file lpfc_hw.h.

#define UNPLUG_ERR   0x00000001 /* Indicate pci hot unplug */

Definition at line 1358 of file lpfc_hw.h.

#define USE_MAILBOX_RESPONSE   1

Definition at line 1834 of file lpfc_hw.h.

#define VIPER_JEDEC_ID   0x4838

Definition at line 1265 of file lpfc_hw.h.

#define virtual_fabric_support   randomOffset /* Word 1, bit 30 */

Definition at line 357 of file lpfc_hw.h.

#define VPORT_INFO_REV   0x1

Definition at line 2594 of file lpfc_hw.h.

#define VPORT_INFO_REV_MASK   0xff

Definition at line 2593 of file lpfc_hw.h.

#define VPORT_INFO_SIG   0x32324752

Definition at line 2592 of file lpfc_hw.h.

#define WAKE_UP_PARMS_REGION_ID   4

Definition at line 2584 of file lpfc_hw.h.

#define WAKE_UP_PARMS_WORD_SIZE   15

Definition at line 2585 of file lpfc_hw.h.

#define WELL_KNOWN_DID_MASK   0xfffff0U

Definition at line 29 of file lpfc_hw.h.

#define xmit_els_remoteID   xrsqRo

Definition at line 3377 of file lpfc_hw.h.

#define ZEPHYR_JEDEC_ID   0x0577

Definition at line 1264 of file lpfc_hw.h.

Typedef Documentation

typedef struct _ADISC ADISC
typedef struct _D_ID D_ID
typedef struct _FAN FAN
typedef struct _FARP FARP
typedef struct _IOCB IOCB_t
typedef struct _LOGO LOGO
typedef struct _PCB PCB_t
typedef struct _PRLI PRLI
typedef struct _PRLO PRLO
typedef struct _RNID RNID
typedef struct _RPL RPL
typedef struct _RPS RPS
typedef struct _SCR SCR

Enumeration Type Documentation

Enumerator:
LPFC_PG_TYPE_INVALID 
LPFC_PG_TYPE_NO_DIF 
LPFC_PG_TYPE_EMBD_DIF 
LPFC_PG_TYPE_DIF_BUF 

Definition at line 1642 of file lpfc_hw.h.