Go to the source code of this file.
Elxutility interface code
Definition in file ocs_elxu.c.
Data Structures | |
| struct | mbox_sli_config_t |
| Defines the structure of a FC SLI_CONFIG mailbox command. More... | |
| struct | mbox_common_t |
| Defines the common mailbox header structure. More... | |
Functions | |
| static int32_t | __ocs_ioctl_mbox_cb (ocs_hal_t *hal, int32_t status, ocs_command_ctx_t *ctx) |
| static void | ocs_elxu_convert_cmd_to_iscsi (ocs_ioctl_elxu_mbox_t *mcmd, ocs_command_ctx_t *ctx, ocs_dma_t *dma) |
| Converts a FC SLI_CONFIG command to the iSCSI format. More... | |
| static void | ocs_elxu_convert_status_to_fc (ocs_ioctl_elxu_mbox_t *mcmd, ocs_command_ctx_t *ctx, int32_t status) |
| Converts an iSCSI result back into the FC SLI_CONFIG format. More... | |
| int32_t | ocs_elxu (ocs_t *ocs, ocs_ioctl_elxu_mbox_t *mcmd) |
|
static |
Definition at line 310 of file ocs_elxu.c.
| int32_t ocs_elxu | ( | ocs_t * | ocs, |
| ocs_ioctl_elxu_mbox_t * | mcmd | ||
| ) |
Definition at line 147 of file ocs_elxu.c.
|
static |
Converts a FC SLI_CONFIG command to the iSCSI format.
| mcmd | the IOCTL comand received |
| ctx | the iSCSI SLI command context |
| dma | for non-embedded mailbox commands, this field provides the DMA memory for the command. |
Definition at line 98 of file ocs_elxu.c.
|
static |
Converts an iSCSI result back into the FC SLI_CONFIG format.
| mcmd | the IOCTL comand received |
| ctx | the iSCSI SLI command context |
| status | the command status |
Definition at line 132 of file ocs_elxu.c.