Go to the source code of this file.
Common (transport agnostic) shared declarations
Definition in file ocs_common_shared.h.
Macros | |
| #define | OCS_CTRLMASK_XPORT_DISABLE_AUTORSP_TSEND (1U << 0) |
| #define | OCS_CTRLMASK_XPORT_DISABLE_AUTORSP_TRECEIVE (1U << 1) |
| #define | OCS_CTRLMASK_XPORT_ENABLE_TARGET_RSCN (1U << 3) |
| #define | OCS_CTRLMASK_TGT_ALWAYS_VERIFY_DIF (1U << 4) |
| #define | OCS_CTRLMASK_TGT_SET_DIF_REF_TAG_CRC (1U << 5) |
| #define | OCS_CTRLMASK_TEST_CHAINED_SGLS (1U << 6) |
| #define | OCS_CTRLMASK_ISCSI_ISNS_ENABLE (1U << 7) |
| #define | OCS_CTRLMASK_ENABLE_FABRIC_EMULATION (1U << 8) |
| #define | OCS_CTRLMASK_INHIBIT_INITIATOR (1U << 9) |
| #define | OCS_CTRLMASK_CRASH_RESET (1U << 10) |
| #define | enable_target_rscn(ocs) ((ocs->ctrlmask & OCS_CTRLMASK_XPORT_ENABLE_TARGET_RSCN) != 0) |
| #define | MAX_OCS_DEVICES 64 |
Enumerations | |
| enum | ocs_err_injection_e { NO_ERR_INJECT = 0, INJECT_DROP_CMD, INJECT_FREE_DROPPED, INJECT_DROP_DATA, INJECT_DROP_RESP, INJECT_DELAY_CMD } |
| #define enable_target_rscn | ( | ocs | ) | ((ocs->ctrlmask & OCS_CTRLMASK_XPORT_ENABLE_TARGET_RSCN) != 0) |
Definition at line 52 of file ocs_common_shared.h.
| #define MAX_OCS_DEVICES 64 |
Definition at line 64 of file ocs_common_shared.h.
| #define OCS_CTRLMASK_CRASH_RESET (1U << 10) |
Definition at line 50 of file ocs_common_shared.h.
| #define OCS_CTRLMASK_ENABLE_FABRIC_EMULATION (1U << 8) |
Definition at line 48 of file ocs_common_shared.h.
| #define OCS_CTRLMASK_INHIBIT_INITIATOR (1U << 9) |
Definition at line 49 of file ocs_common_shared.h.
| #define OCS_CTRLMASK_ISCSI_ISNS_ENABLE (1U << 7) |
Definition at line 47 of file ocs_common_shared.h.
| #define OCS_CTRLMASK_TEST_CHAINED_SGLS (1U << 6) |
Definition at line 46 of file ocs_common_shared.h.
| #define OCS_CTRLMASK_TGT_ALWAYS_VERIFY_DIF (1U << 4) |
Definition at line 44 of file ocs_common_shared.h.
| #define OCS_CTRLMASK_TGT_SET_DIF_REF_TAG_CRC (1U << 5) |
Definition at line 45 of file ocs_common_shared.h.
| #define OCS_CTRLMASK_XPORT_DISABLE_AUTORSP_TRECEIVE (1U << 1) |
Definition at line 42 of file ocs_common_shared.h.
| #define OCS_CTRLMASK_XPORT_DISABLE_AUTORSP_TSEND (1U << 0) |
Definition at line 41 of file ocs_common_shared.h.
| #define OCS_CTRLMASK_XPORT_ENABLE_TARGET_RSCN (1U << 3) |
Definition at line 43 of file ocs_common_shared.h.
| enum ocs_err_injection_e |
| Enumerator | |
|---|---|
| NO_ERR_INJECT | |
| INJECT_DROP_CMD | |
| INJECT_FREE_DROPPED | |
| INJECT_DROP_DATA | |
| INJECT_DROP_RESP | |
| INJECT_DELAY_CMD | |
Definition at line 55 of file ocs_common_shared.h.