Emulex Logo
OneCoreā„¢ Storage SDK Release 11.2
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
ocs_io_t Struct Reference

#include <ocs_io.h>

Detailed Description

Definition at line 48 of file ocs_io.h.

Data Fields

ocs_t * ocs
 
uint32_t instance_index
 
const char * display_name
 
ocs_node_t * node
 
ocs_list_link_t io_alloc_link
 
uint32_t init_task_tag
 
uint32_t tgt_task_tag
 
uint32_t hw_tag
 
uint32_t tag
 
ocs_scsi_sgl_t * sgl
 
uint32_t sgl_allocated
 
uint32_t sgl_count
 
ocs_scsi_ini_io_t ini_io
 
ocs_scsi_tgt_io_t tgt_io
 
uint32_t exp_xfer_len
 
ocs_mgmt_functions_t * mgmt_functions
 
ocs_ref_t ref
 
ocs_list_link_t tmf_abort_link
 
bool tmf_abort
 
void * dslab_item
 
ocs_hal_io_t * hio
 
uint32_t nop_abort_counter
 
uint64_t iscsi_lun
 
uint32_t data_sn
 
uint32_t cmd_sn
 
uint32_t r2tsn
 
uint32_t cmd_tgt:1
 
uint32_t cmd_ini:1
 
uint32_t on_abort_list:1
 
uint8_t bhs [48]
 
ocs_hal_io_param_t iparam
 
ocs_hal_dif_info_t hal_dif
 
ocs_hal_io_type_e io_type
 
void * hal_cb
 
ocs_list_link_t io_pending_link
 
uint32_t hal_io_size
 
uint32_t scsi_mem_offset
 
uint32_t scsi_mem_xfer_size
 
uint32_t scsi_wire_offset
 
uint32_t scsi_wire_xfer_size
 
void * scsi_io_cb
 
void * scsi_io_cb_arg
 
void * unassisted_cb
 
ocs_dma_t unassisted_payload
 
ocs_list_link_t link
 
uint32_t auto_resp:1
 
uint32_t is_read:1
 
uint32_t ppdu:1
 
ocs_dma_t sensebuf
 
uint32_t timeout
 
uint8_t trecv_wqe_timer
 

Field Documentation

uint32_t ocs_io_t::auto_resp

Definition at line 107 of file ocs_io.h.

uint8_t ocs_io_t::bhs[48]

iSCSI BHS for hal io send call

Definition at line 86 of file ocs_io.h.

uint32_t ocs_io_t::cmd_ini

True if this is an Initiator command

Definition at line 83 of file ocs_io.h.

uint32_t ocs_io_t::cmd_sn

Definition at line 80 of file ocs_io.h.

uint32_t ocs_io_t::cmd_tgt

True if this is a Target command

Definition at line 83 of file ocs_io.h.

uint32_t ocs_io_t::data_sn

Definition at line 79 of file ocs_io.h.

const char* ocs_io_t::display_name

display name

Definition at line 52 of file ocs_io.h.

void* ocs_io_t::dslab_item

pointer back to dslab allocation object

Definition at line 74 of file ocs_io.h.

uint32_t ocs_io_t::exp_xfer_len

expected data transfer length, based on FC or iSCSI header

Definition at line 64 of file ocs_io.h.

void* ocs_io_t::hal_cb

saved HAL callback

Definition at line 90 of file ocs_io.h.

ocs_hal_dif_info_t ocs_io_t::hal_dif

HAL formatted DIF parameters

Definition at line 88 of file ocs_io.h.

uint32_t ocs_io_t::hal_io_size

Definition at line 93 of file ocs_io.h.

ocs_hal_io_t* ocs_io_t::hio

HAL IO context

Definition at line 75 of file ocs_io.h.

uint32_t ocs_io_t::hw_tag

HW layer unique IO id - for back-end and SCSI logging

Definition at line 57 of file ocs_io.h.

ocs_scsi_ini_io_t ocs_io_t::ini_io

backend initiator private IO data

Definition at line 62 of file ocs_io.h.

uint32_t ocs_io_t::init_task_tag

initiator task tag (OX_ID) for back-end and SCSI logging

Definition at line 55 of file ocs_io.h.

uint32_t ocs_io_t::instance_index

unique instance index value

Definition at line 51 of file ocs_io.h.

ocs_list_link_t ocs_io_t::io_alloc_link

(io_pool->io_free_list) free list link

Definition at line 54 of file ocs_io.h.

ocs_list_link_t ocs_io_t::io_pending_link

link list link pending

Definition at line 91 of file ocs_io.h.

ocs_hal_io_type_e ocs_io_t::io_type

HAL IO type

Definition at line 89 of file ocs_io.h.

ocs_hal_io_param_t ocs_io_t::iparam

iparams for hal io send call

Definition at line 87 of file ocs_io.h.

uint32_t ocs_io_t::is_read

Definition at line 107 of file ocs_io.h.

uint64_t ocs_io_t::iscsi_lun

Definition at line 78 of file ocs_io.h.

ocs_list_link_t ocs_io_t::link

linked list link

Definition at line 105 of file ocs_io.h.

ocs_mgmt_functions_t* ocs_io_t::mgmt_functions

Definition at line 65 of file ocs_io.h.

ocs_node_t* ocs_io_t::node

pointer to node

Definition at line 53 of file ocs_io.h.

uint32_t ocs_io_t::nop_abort_counter

Definition at line 77 of file ocs_io.h.

ocs_t* ocs_io_t::ocs

pointer back to ocs

Definition at line 50 of file ocs_io.h.

uint32_t ocs_io_t::on_abort_list

True if on aborted_io list

Definition at line 83 of file ocs_io.h.

uint32_t ocs_io_t::ppdu

for calculating dataSN for the response

Definition at line 107 of file ocs_io.h.

uint32_t ocs_io_t::r2tsn

Definition at line 81 of file ocs_io.h.

ocs_ref_t ocs_io_t::ref

refcount object - Always initialised to 1. Not used

Definition at line 66 of file ocs_io.h.

void* ocs_io_t::scsi_io_cb

Definition at line 98 of file ocs_io.h.

void* ocs_io_t::scsi_io_cb_arg

Definition at line 99 of file ocs_io.h.

uint32_t ocs_io_t::scsi_mem_offset

Definition at line 94 of file ocs_io.h.

uint32_t ocs_io_t::scsi_mem_xfer_size

Definition at line 95 of file ocs_io.h.

uint32_t ocs_io_t::scsi_wire_offset

Definition at line 96 of file ocs_io.h.

uint32_t ocs_io_t::scsi_wire_xfer_size

Definition at line 97 of file ocs_io.h.

ocs_dma_t ocs_io_t::sensebuf

SCSI Response sense buffer (t)

Definition at line 110 of file ocs_io.h.

ocs_scsi_sgl_t* ocs_io_t::sgl

SGL

Definition at line 59 of file ocs_io.h.

uint32_t ocs_io_t::sgl_allocated

Number of allocated SGEs

Definition at line 60 of file ocs_io.h.

uint32_t ocs_io_t::sgl_count

Number of SGEs in this SGL

Definition at line 61 of file ocs_io.h.

uint32_t ocs_io_t::tag

unique IO identifier

Definition at line 58 of file ocs_io.h.

ocs_scsi_tgt_io_t ocs_io_t::tgt_io

backend target private IO data

Definition at line 63 of file ocs_io.h.

uint32_t ocs_io_t::tgt_task_tag

target task tag (RX_ID) - for back-end and SCSI logging

Definition at line 56 of file ocs_io.h.

uint32_t ocs_io_t::timeout

Definition at line 111 of file ocs_io.h.

bool ocs_io_t::tmf_abort

True when io marked for tmf abort

Definition at line 69 of file ocs_io.h.

ocs_list_link_t ocs_io_t::tmf_abort_link
            list to store list of IOs to which

abort ABORT_IO_NO_RESP evt needs to be posted

Definition at line 67 of file ocs_io.h.

uint8_t ocs_io_t::trecv_wqe_timer

IO timeout in seconds Timeout value in seconds for treceive wqe>

Definition at line 112 of file ocs_io.h.

void* ocs_io_t::unassisted_cb

Definition at line 100 of file ocs_io.h.

ocs_dma_t ocs_io_t::unassisted_payload

Definition at line 101 of file ocs_io.h.


The documentation for this struct was generated from the following file: