|
#define | MCC_WRB_SGE_CNT_SHIFT 3 /* bits 3 - 7 of dword 0 */ |
|
#define | MCC_WRB_SGE_CNT_MASK 0x1F /* bits 3 - 7 of dword 0 */ |
|
#define | CQE_FLAGS_VALID_MASK (1 << 31) |
|
#define | CQE_FLAGS_ASYNC_MASK (1 << 30) |
|
#define | CQE_FLAGS_COMPLETED_MASK (1 << 28) |
|
#define | CQE_FLAGS_CONSUMED_MASK (1 << 27) |
|
#define | MCC_STATUS_SUCCESS 0x0 |
|
#define | CQE_STATUS_COMPL_MASK 0xFFFF |
|
#define | CQE_STATUS_COMPL_SHIFT 0 /* bits 0 - 15 */ |
|
#define | CQE_STATUS_EXTD_MASK 0xFFFF |
|
#define | CQE_STATUS_EXTD_SHIFT 16 /* bits 0 - 15 */ |
|
#define | MPU_MAILBOX_DB_OFFSET 0x160 |
|
#define | MPU_MAILBOX_DB_RDY_MASK 0x1 /* bit 0 */ |
|
#define | MPU_MAILBOX_DB_HI_MASK 0x2 /* bit 1 */ |
|
#define | MPU_EP_SEMAPHORE_OFFSET 0xac |
|
#define | EP_SEMAPHORE_POST_STAGE_MASK 0x0000FFFF |
|
#define | EP_SEMAPHORE_POST_ERR_MASK 0x1 |
|
#define | EP_SEMAPHORE_POST_ERR_SHIFT 31 |
|
#define | DB_MCCQ_OFFSET 0x140 |
|
#define | DB_MCCQ_RING_ID_MASK 0x7FF /* bits 0 - 10 */ |
|
#define | DB_MCCQ_NUM_POSTED_SHIFT 16 /* bits 16 - 29 */ |
|
#define | POST_STAGE_ARMFW_RDY 0xc000 /* FW is done with POST */ |
|
#define | ASYNC_TRAILER_EVENT_CODE_SHIFT 8 /* bits 8 - 15 */ |
|
#define | ASYNC_TRAILER_EVENT_CODE_MASK 0xFF |
|
#define | ASYNC_EVENT_CODE_LINK_STATE 0x1 |
|
#define | CMD_SUBSYSTEM_COMMON 0x1 |
|
#define | CMD_SUBSYSTEM_ISCSI 0x2 |
|
#define | CMD_SUBSYSTEM_ETH 0x3 |
|
#define | CMD_SUBSYSTEM_ISCSI_INI 0x6 |
|
#define | CMD_COMMON_TCP_UPLOAD 0x1 |
|
#define | OPCODE_COMMON_CQ_CREATE 12 |
|
#define | OPCODE_COMMON_EQ_CREATE 13 |
|
#define | OPCODE_COMMON_MCC_CREATE 21 |
|
#define | OPCODE_COMMON_GET_CNTL_ATTRIBUTES 32 |
|
#define | OPCODE_COMMON_GET_FW_VERSION 35 |
|
#define | OPCODE_COMMON_MODIFY_EQ_DELAY 41 |
|
#define | OPCODE_COMMON_FIRMWARE_CONFIG 42 |
|
#define | OPCODE_COMMON_MCC_DESTROY 53 |
|
#define | OPCODE_COMMON_CQ_DESTROY 54 |
|
#define | OPCODE_COMMON_EQ_DESTROY 55 |
|
#define | OPCODE_COMMON_QUERY_FIRMWARE_CONFIG 58 |
|
#define | OPCODE_COMMON_FUNCTION_RESET 61 |
|
#define | OPCODE_COMMON_ISCSI_CFG_POST_SGL_PAGES 2 |
|
#define | OPCODE_COMMON_ISCSI_CFG_REMOVE_SGL_PAGES 3 |
|
#define | OPCODE_COMMON_ISCSI_NTWK_GET_NIC_CONFIG 7 |
|
#define | OPCODE_COMMON_ISCSI_NTWK_SET_VLAN 14 |
|
#define | OPCODE_COMMON_ISCSI_NTWK_CONFIG_STATELESS_IP_ADDR 17 |
|
#define | OPCODE_COMMON_ISCSI_NTWK_REL_STATELESS_IP_ADDR 18 |
|
#define | OPCODE_COMMON_ISCSI_NTWK_MODIFY_IP_ADDR 21 |
|
#define | OPCODE_COMMON_ISCSI_NTWK_GET_DEFAULT_GATEWAY 22 |
|
#define | OPCODE_COMMON_ISCSI_NTWK_MODIFY_DEFAULT_GATEWAY 23 |
|
#define | OPCODE_COMMON_ISCSI_NTWK_GET_ALL_IF_ID 24 |
|
#define | OPCODE_COMMON_ISCSI_NTWK_GET_IF_INFO 25 |
|
#define | OPCODE_COMMON_ISCSI_SET_FRAGNUM_BITS_FOR_SGL_CRA 61 |
|
#define | OPCODE_COMMON_ISCSI_DEFQ_CREATE 64 |
|
#define | OPCODE_COMMON_ISCSI_DEFQ_DESTROY 65 |
|
#define | OPCODE_COMMON_ISCSI_WRBQ_CREATE 66 |
|
#define | OPCODE_COMMON_ISCSI_WRBQ_DESTROY 67 |
|
#define | BE_REOPEN_ALL_SESSIONS 0x00 |
|
#define | BE_REOPEN_BOOT_SESSIONS 0x01 |
|
#define | BE_REOPEN_A_SESSION 0x02 |
|
#define | BEISCSI_VLAN_DISABLE 0xFFFF |
|
#define | ETH_ALEN 6 |
|
#define | BEISCSI_ALIAS_LEN 32 |
|
#define | BE2ISCSI_LINK_SPEED_ZERO 0x00 |
|
#define | BE2ISCSI_LINK_SPEED_10MBPS 0x01 |
|
#define | BE2ISCSI_LINK_SPEED_100MBPS 0x02 |
|
#define | BE2ISCSI_LINK_SPEED_1GBPS 0x03 |
|
#define | BE2ISCSI_LINK_SPEED_10GBPS 0x04 |
|
#define | SOL_CID_MASK 0x0000FFC0 |
|
#define | SOL_CODE_MASK 0x0000003F |
|
#define | SOL_WRB_INDEX_MASK 0x00FF0000 |
|
#define | SOL_CMD_WND_MASK 0xFF000000 |
|
#define | SOL_RES_CNT_MASK 0x7FFFFFFF |
|
#define | SOL_EXP_CMD_SN_MASK 0xFFFFFFFF |
|
#define | SOL_HW_STS_MASK 0x000000FF |
|
#define | SOL_STS_MASK 0x0000FF00 |
|
#define | SOL_RESP_MASK 0x00FF0000 |
|
#define | SOL_FLAGS_MASK 0x7F000000 |
|
#define | SOL_S_MASK 0x80000000 |
|
#define | SOL_ICD_INDEX_MASK 0x0003FFC0 |
|
#define | DB_WRB_POST_CID_MASK 0x3FF /* bits 0 - 9 */ |
|
#define | DB_DEF_PDU_WRB_INDEX_MASK 0xFF /* bits 0 - 9 */ |
|
#define | DB_DEF_PDU_WRB_INDEX_SHIFT 16 |
|
#define | DB_DEF_PDU_NUM_POSTED_SHIFT 24 |
|
#define | DB_DEF_PDU_RING_ID_MASK 0x3FF /* bits 0 - 9 */ |
|
#define | DB_DEF_PDU_CQPROC_MASK 0x3FFF /* bits 0 - 9 */ |
|
#define | DB_DEF_PDU_REARM_SHIFT 14 |
|
#define | DB_DEF_PDU_EVENT_SHIFT 15 |
|
#define | DB_DEF_PDU_CQPROC_SHIFT 16 |
|
#define | ISCSI_OPCODE_SCSI_DATA_OUT 5 |
|
#define | OPCODE_COMMON_NTWK_LINK_STATUS_QUERY 5 |
|
#define | OPCODE_COMMON_MODIFY_EQ_DELAY 41 |
|
#define | OPCODE_COMMON_ISCSI_CLEANUP 59 |
|
#define | OPCODE_COMMON_TCP_UPLOAD 56 |
|
#define | OPCODE_COMMON_ISCSI_TCP_CONNECT_AND_OFFLOAD 70 |
|
#define | OPCODE_COMMON_ISCSI_ERROR_RECOVERY_INVALIDATE_COMMANDS 1 |
|
#define | OPCODE_ISCSI_INI_CFG_GET_HBA_NAME 6 |
|
#define | OPCODE_ISCSI_INI_CFG_SET_HBA_NAME 7 |
|
#define | OPCODE_ISCSI_INI_SESSION_GET_A_SESSION 14 |
|
#define | OPCODE_ISCSI_INI_DRIVER_REOPEN_ALL_SESSIONS 36 |
|
#define | OPCODE_ISCSI_INI_DRIVER_OFFLOAD_SESSION 41 |
|
#define | OPCODE_ISCSI_INI_DRIVER_INVALIDATE_CONNECTION 42 |
|
#define | OPCODE_ISCSI_INI_BOOT_GET_BOOT_TARGET 52 |
|
#define | OPCODE_COMMON_WRITE_FLASH 96 |
|
#define | OPCODE_COMMON_READ_FLASH 97 |
|
#define | CMD_ISCSI_COMMAND_INVALIDATE 1 |
|
#define | CMD_ISCSI_CONNECTION_INVALIDATE 0x8001 |
|
#define | CMD_ISCSI_CONNECTION_ISSUE_TCP_RST 0x8002 |
|
#define | INI_WR_CMD 1 /* Initiator write command */ |
|
#define | INI_TMF_CMD 2 /* Initiator TMF command */ |
|
#define | INI_NOPOUT_CMD 3 /* Initiator; Send a NOP-OUT */ |
|
#define | INI_RD_CMD |
|
#define | TGT_CTX_UPDT_CMD 7 /* Target context update */ |
|
#define | TGT_STS_CMD |
|
#define | TGT_DATAIN_CMD |
|
#define | TGT_SOS_PDU |
|
#define | TGT_DM_CMD |
|
#define | CMD_CONNECTION_CHUTE_0 1 |
|
#define | CMD_CONNECTION_CHUTE_1 2 |
|
#define | CMD_CONNECTION_CHUTE_2 3 |
|
#define | EQ_MAJOR_CODE_COMPLETION 0 |
|
#define | CMD_ISCSI_SESSION_DEL_CFG_FROM_FLASH 0 |
|
#define | CMD_ISCSI_SESSION_SAVE_CFG_ON_FLASH 1 |
|
#define | CONNECTION_UPLOAD_GRACEFUL 1 /* Graceful upload */ |
|
#define | CONNECTION_UPLOAD_ABORT_RESET |
|
#define | CONNECTION_UPLOAD_ABORT |
|
#define | CONNECTION_UPLOAD_ABORT_WITH_SEQ |
|
#define | BE_NUMBER_OF_FIELD(_type_, _field_) (FIELD_SIZEOF(_type_, _field_)/sizeof((((_type_ *)0)->_field_[0])))\ |
|
#define | SOL_CMD_COMPLETE |
|
#define | SOL_CMD_KILLED_DATA_DIGEST_ERR |
|
#define | CXN_KILLED_PDU_SIZE_EXCEEDS_DSL |
|
#define | CXN_KILLED_BURST_LEN_MISMATCH |
|
#define | CXN_KILLED_AHS_RCVD |
|
#define | CXN_KILLED_HDR_DIGEST_ERR |
|
#define | CXN_KILLED_UNKNOWN_HDR |
|
#define | CXN_KILLED_STALE_ITT_TTT_RCVD |
|
#define | CXN_KILLED_INVALID_ITT_TTT_RCVD |
|
#define | CXN_KILLED_RST_RCVD |
|
#define | CXN_KILLED_TIMED_OUT |
|
#define | CXN_KILLED_RST_SENT |
|
#define | CXN_KILLED_FIN_RCVD |
|
#define | CXN_KILLED_BAD_UNSOL_PDU_RCVD |
|
#define | CXN_KILLED_BAD_WRB_INDEX_ERROR |
|
#define | CXN_KILLED_OVER_RUN_RESIDUAL |
|
#define | CXN_KILLED_UNDER_RUN_RESIDUAL |
|
#define | CMD_KILLED_INVALID_STATSN_RCVD |
|
#define | CMD_KILLED_INVALID_R2T_RCVD |
|
#define | CMD_CXN_KILLED_LUN_INVALID |
|
#define | CMD_CXN_KILLED_ICD_INVALID |
|
#define | CMD_CXN_KILLED_ITT_INVALID |
|
#define | CMD_CXN_KILLED_SEQ_OUTOFORDER |
|
#define | CMD_CXN_KILLED_INVALID_DATASN_RCVD |
|
#define | CXN_INVALIDATE_NOTIFY |
|
#define | CXN_INVALIDATE_INDEX_NOTIFY |
|
#define | CMD_INVALIDATED_NOTIFY |
|
#define | UNSOL_HDR_NOTIFY 28 /* Unsolicited header notify.*/ |
|
#define | UNSOL_DATA_NOTIFY 29 /* Unsolicited data notify.*/ |
|
#define | UNSOL_DATA_DIGEST_ERROR_NOTIFY |
|
#define | DRIVERMSG_NOTIFY |
|
#define | CXN_KILLED_CMND_DATA_NOT_ON_SAME_CONN |
|
#define | SOL_CMD_KILLED_DIF_ERR |
|
#define | CXN_KILLED_SYN_RCVD |
|
#define | CXN_KILLED_IMM_DATA_RCVD |
|