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

A structure used to contain all data related to an adapter for this driver. More...

#include <ocs_drv_fc.h>

Detailed Description

A structure used to contain all data related to an adapter for this driver.

Definition at line 58 of file ocs_drv_fc.h.

Data Fields

ocs_os_t ocs_os
 
char display_name [OCS_DISPLAY_NAME_LENGTH]
 
ocs_rlock_t lock
 
ocs_list_t domain_list
 
ocs_io_pool_t * io_pool
 
ocs_ramlog_t * ramlog
 
ocs_drv_t drv_ocs
 
ocs_scsi_tgt_t tgt_ocs
 
ocs_scsi_ini_t ini_ocs
 
ocs_xport_e ocs_xport
 
ocs_xport_t * xport
 
bool enable_ini
 
bool enable_tgt
 
bool enable_nvme_tgt
 
uint8_t fc_type
 
int ctrlmask
 
int logmask
 
uint32_t max_isr_time_msec
 
char * hal_war_version
 
ocs_pm_context_t pm_context
 
ocs_mgmt_functions_t * mgmt_functions
 
ocs_mgmt_functions_t * tgt_mgmt_functions
 
ocs_mgmt_functions_t * ini_mgmt_functions
 
ocs_err_injection_e err_injection
 
uint32_t cmd_err_inject
 
time_t delay_value_msec
 
const char * desc
 
uint32_t instance_index
 
uint16_t pci_vendor
 
uint16_t pci_device
 
uint16_t pci_subsystem_vendor
 
uint16_t pci_subsystem_device
 
char businfo [OCS_DISPLAY_BUS_INFO_LENGTH]
 
const char * model
 
const char * driver_version
 
const char * fw_version
 
ocs_hal_t hal
 
ocs_domain_t * domain
 
uint32_t domain_instance_count
 
void(* domain_list_empty_cb )(ocs_t *ocs, void *arg)
 
void * domain_list_empty_cb_arg
 
ocs_lock_t domain_list_empty_cb_lock
 
ocs_sem_t domain_list_empty_cb_sem
 
int32_t holdoff_link_online
 
bool explicit_buffer_list
 
bool external_loopback
 
uint32_t num_vports
 
uint32_t hal_bounce
 
uint32_t rq_threads
 
uint32_t rq_selection_policy
 
uint32_t cq_process_limit
 
uint32_t rr_quanta
 
char * filter_def
 
uint32_t max_remote_nodes
 
bool soft_wwn_enable
 
time_t tgt_rscn_delay_msec
 
time_t tgt_rscn_period_msec
 
uint32_t target_io_timer_sec
 
uint8_t tgt_wqe_timer
 
int speed
 
int topology
 
int ethernet_license
 
int num_scsi_ios
 
bool enable_hlm
 
bool enable_dpp
 
uint32_t hlm_group_size
 
char * wwn_bump
 
uint32_t nodedb_mask
 
bool cfg_suppress_rsp
 
bool esoc
 
uint8_t ocs_req_fw_upgrade
 
uint8_t enable_auto_recovery
 
struct ocs_fw_dump fw_dump
 
ocs_textbuf_t ddump_saved
 
uint8_t domain_shutdown_timedout
 
uint8_t sliport_healthcheck
 
uint8_t disable_fec
 
uint8_t enable_fw_ag_rsp
 
uint8_t enable_bbcr
 
uint16_t watchdog_timeout
 
const char * sliport_pause_errors
 
ocs_iscsi_t iscsi
 
struct iscsi_api_s * iscsi_api
 
ocs_sli_port_t sport [OCS_MAX_SPORTS]
 
bool enable_sgl_chaining
 
bool enable_immediate_data
 
bool enable_hdr_digest
 
bool enable_data_digest
 
bool enable_jumbo_frame
 
uint32_t max_sge_size
 
uint32_t post_sgl_config
 
uint32_t num_scsi_ios
 
uint32_t max_cxns_per_session
 
bool require_chap
 
uint32_t num_tgts
 
uint32_t global_ramdisc
 
char local_ip [64]
 
char local_subnet [64]
 
char gateway [64]
 
uint32_t tcp_window_size
 
uint8_t tcp_window_scale
 
uint32_t num_cxns
 
char iqn_prefix [OCS_MAX_ISCSI_NAME]
 
char iqn_suffix [OCS_MAX_ISCSI_NAME]
 
ocs_atomic_t io_alloc_failed_count
 
ocs_list_t io_pending_list
 
ocs_atomic_t io_total_alloc
 
ocs_atomic_t io_total_free
 
ocs_atomic_t io_total_pending
 
ocs_atomic_t io_active_count
 
ocs_atomic_t io_pending_count
 
ocs_atomic_t io_pending_recursing
 

Field Documentation

char ocs_s::businfo

Definition at line 93 of file ocs_drv_fc.h.

bool ocs_s::cfg_suppress_rsp

Definition at line 160 of file ocs_drv_fc.h.

uint32_t ocs_s::cmd_err_inject

specific cmd to inject error into

Definition at line 84 of file ocs_drv_fc.h.

uint32_t ocs_s::cq_process_limit

Definition at line 115 of file ocs_drv_fc.h.

int ocs_s::ctrlmask

Definition at line 75 of file ocs_drv_fc.h.

ocs_textbuf_t ocs_s::ddump_saved

Definition at line 167 of file ocs_drv_fc.h.

time_t ocs_s::delay_value_msec

for injecting delays

Definition at line 85 of file ocs_drv_fc.h.

const char * ocs_s::desc

Definition at line 87 of file ocs_drv_fc.h.

uint8_t ocs_s::disable_fec

Definition at line 171 of file ocs_drv_fc.h.

char ocs_s::display_name

Definition at line 61 of file ocs_drv_fc.h.

ocs_domain_t * ocs_s::domain

Definition at line 101 of file ocs_drv_fc.h.

uint32_t ocs_s::domain_instance_count

Definition at line 102 of file ocs_drv_fc.h.

ocs_list_t ocs_s::domain_list

Definition at line 63 of file ocs_drv_fc.h.

void(* ocs_s::domain_list_empty_cb)(ocs_t *ocs, void *arg)

Definition at line 103 of file ocs_drv_fc.h.

void* ocs_s::domain_list_empty_cb_arg

Definition at line 104 of file ocs_drv_fc.h.

ocs_lock_t ocs_s::domain_list_empty_cb_lock

Definition at line 105 of file ocs_drv_fc.h.

ocs_sem_t ocs_s::domain_list_empty_cb_sem

Definition at line 106 of file ocs_drv_fc.h.

uint8_t ocs_s::domain_shutdown_timedout

Definition at line 169 of file ocs_drv_fc.h.

const char * ocs_s::driver_version

Definition at line 96 of file ocs_drv_fc.h.

ocs_drv_t ocs_s::drv_ocs

Definition at line 66 of file ocs_drv_fc.h.

uint8_t ocs_s::enable_auto_recovery

Definition at line 164 of file ocs_drv_fc.h.

uint8_t ocs_s::enable_bbcr

Definition at line 175 of file ocs_drv_fc.h.

bool ocs_s::enable_data_digest

Definition at line 114 of file ocs_drv_iscsi.h.

bool ocs_s::enable_dpp

Definition at line 156 of file ocs_drv_fc.h.

uint8_t ocs_s::enable_fw_ag_rsp

Definition at line 172 of file ocs_drv_fc.h.

bool ocs_s::enable_hdr_digest

Definition at line 113 of file ocs_drv_iscsi.h.

bool ocs_s::enable_hlm

Definition at line 155 of file ocs_drv_fc.h.

bool ocs_s::enable_immediate_data

Definition at line 112 of file ocs_drv_iscsi.h.

bool ocs_s::enable_ini

Definition at line 71 of file ocs_drv_fc.h.

bool ocs_s::enable_jumbo_frame

Definition at line 115 of file ocs_drv_iscsi.h.

bool ocs_s::enable_nvme_tgt

Definition at line 73 of file ocs_drv_fc.h.

bool ocs_s::enable_sgl_chaining

Definition at line 111 of file ocs_drv_iscsi.h.

bool ocs_s::enable_tgt

Definition at line 72 of file ocs_drv_fc.h.

ocs_err_injection_e ocs_s::err_injection

for error injection testing

Definition at line 83 of file ocs_drv_fc.h.

bool ocs_s::esoc

Definition at line 162 of file ocs_drv_fc.h.

int ocs_s::ethernet_license

Definition at line 153 of file ocs_drv_fc.h.

bool ocs_s::explicit_buffer_list

Definition at line 109 of file ocs_drv_fc.h.

bool ocs_s::external_loopback

Definition at line 110 of file ocs_drv_fc.h.

uint8_t ocs_s::fc_type

Definition at line 74 of file ocs_drv_fc.h.

char* ocs_s::filter_def

Definition at line 117 of file ocs_drv_fc.h.

struct ocs_fw_dump ocs_s::fw_dump

Definition at line 165 of file ocs_drv_fc.h.

const char * ocs_s::fw_version

Definition at line 97 of file ocs_drv_fc.h.

char ocs_s::gateway[64]

Definition at line 127 of file ocs_drv_iscsi.h.

uint32_t ocs_s::global_ramdisc

Definition at line 124 of file ocs_drv_iscsi.h.

ocs_hal_t ocs_s::hal

Definition at line 99 of file ocs_drv_fc.h.

uint32_t ocs_s::hal_bounce

Definition at line 112 of file ocs_drv_fc.h.

char * ocs_s::hal_war_version

Definition at line 78 of file ocs_drv_fc.h.

uint32_t ocs_s::hlm_group_size

Definition at line 157 of file ocs_drv_fc.h.

int32_t ocs_s::holdoff_link_online

Definition at line 108 of file ocs_drv_fc.h.

ocs_mgmt_functions_t * ocs_s::ini_mgmt_functions

Definition at line 82 of file ocs_drv_fc.h.

ocs_scsi_ini_t ocs_s::ini_ocs

Definition at line 68 of file ocs_drv_fc.h.

uint32_t ocs_s::instance_index

Definition at line 88 of file ocs_drv_fc.h.

ocs_atomic_t ocs_s::io_active_count

count of active IOS

Definition at line 142 of file ocs_drv_iscsi.h.

ocs_atomic_t ocs_s::io_alloc_failed_count

used to track how often IO pool is empty

Definition at line 134 of file ocs_drv_iscsi.h.

ocs_atomic_t ocs_s::io_pending_count

count of pending IOS

Definition at line 143 of file ocs_drv_iscsi.h.

ocs_list_t ocs_s::io_pending_list
        list of IOs waiting for HAL resources

lock: ocs_driver_lock() link: ocs_io_t->io_pending_link

Definition at line 135 of file ocs_drv_iscsi.h.

ocs_atomic_t ocs_s::io_pending_recursing

non-zero if ocs_scsi_check_pending is executing

Definition at line 144 of file ocs_drv_iscsi.h.

ocs_io_pool_t * ocs_s::io_pool

pointer to IO pool

Definition at line 64 of file ocs_drv_fc.h.

ocs_atomic_t ocs_s::io_total_alloc

count of totals IOS allocated

Definition at line 139 of file ocs_drv_iscsi.h.

ocs_atomic_t ocs_s::io_total_free

count of totals IOS free'd

Definition at line 140 of file ocs_drv_iscsi.h.

ocs_atomic_t ocs_s::io_total_pending

count of totals IOS that were pended

Definition at line 141 of file ocs_drv_iscsi.h.

char ocs_s::iqn_prefix[OCS_MAX_ISCSI_NAME]

Definition at line 132 of file ocs_drv_iscsi.h.

char ocs_s::iqn_suffix[OCS_MAX_ISCSI_NAME]

Definition at line 133 of file ocs_drv_iscsi.h.

ocs_iscsi_t ocs_s::iscsi

Definition at line 104 of file ocs_drv_iscsi.h.

struct iscsi_api_s* ocs_s::iscsi_api

Definition at line 105 of file ocs_drv_iscsi.h.

char ocs_s::local_ip[64]

Definition at line 125 of file ocs_drv_iscsi.h.

char ocs_s::local_subnet[64]

Definition at line 126 of file ocs_drv_iscsi.h.

ocs_rlock_t ocs_s::lock

Definition at line 62 of file ocs_drv_fc.h.

int ocs_s::logmask

Definition at line 76 of file ocs_drv_fc.h.

uint32_t ocs_s::max_cxns_per_session

Definition at line 119 of file ocs_drv_iscsi.h.

uint32_t ocs_s::max_isr_time_msec

Definition at line 77 of file ocs_drv_fc.h.

uint32_t ocs_s::max_remote_nodes

Definition at line 118 of file ocs_drv_fc.h.

uint32_t ocs_s::max_sge_size

Definition at line 116 of file ocs_drv_iscsi.h.

ocs_mgmt_functions_t * ocs_s::mgmt_functions

Definition at line 80 of file ocs_drv_fc.h.

const char * ocs_s::model

Definition at line 95 of file ocs_drv_fc.h.

uint32_t ocs_s::nodedb_mask

Definition at line 159 of file ocs_drv_fc.h.

uint32_t ocs_s::num_cxns

Definition at line 130 of file ocs_drv_iscsi.h.

uint32_t ocs_s::num_scsi_ios

Definition at line 118 of file ocs_drv_iscsi.h.

int ocs_s::num_scsi_ios

Definition at line 154 of file ocs_drv_fc.h.

uint32_t ocs_s::num_tgts

Definition at line 123 of file ocs_drv_iscsi.h.

uint32_t ocs_s::num_vports

Definition at line 111 of file ocs_drv_fc.h.

ocs_os_t ocs_s::ocs_os

Definition at line 60 of file ocs_drv_fc.h.

uint8_t ocs_s::ocs_req_fw_upgrade

Definition at line 163 of file ocs_drv_fc.h.

ocs_xport_e ocs_s::ocs_xport

Definition at line 69 of file ocs_drv_fc.h.

uint16_t ocs_s::pci_device

Definition at line 90 of file ocs_drv_fc.h.

uint16_t ocs_s::pci_subsystem_device

Definition at line 92 of file ocs_drv_fc.h.

uint16_t ocs_s::pci_subsystem_vendor

Definition at line 91 of file ocs_drv_fc.h.

uint16_t ocs_s::pci_vendor

Definition at line 89 of file ocs_drv_fc.h.

ocs_pm_context_t ocs_s::pm_context

Definition at line 79 of file ocs_drv_fc.h.

uint32_t ocs_s::post_sgl_config

Definition at line 117 of file ocs_drv_iscsi.h.

ocs_ramlog_t * ocs_s::ramlog

Definition at line 65 of file ocs_drv_fc.h.

bool ocs_s::require_chap

Definition at line 120 of file ocs_drv_iscsi.h.

uint32_t ocs_s::rq_selection_policy

Definition at line 114 of file ocs_drv_fc.h.

uint32_t ocs_s::rq_threads

Definition at line 113 of file ocs_drv_fc.h.

uint32_t ocs_s::rr_quanta

Definition at line 116 of file ocs_drv_fc.h.

uint8_t ocs_s::sliport_healthcheck

Definition at line 170 of file ocs_drv_fc.h.

const char* ocs_s::sliport_pause_errors

Definition at line 177 of file ocs_drv_fc.h.

bool ocs_s::soft_wwn_enable

Definition at line 120 of file ocs_drv_fc.h.

int ocs_s::speed

Definition at line 151 of file ocs_drv_fc.h.

ocs_sli_port_t ocs_s::sport[OCS_MAX_SPORTS]

Definition at line 109 of file ocs_drv_iscsi.h.

uint32_t ocs_s::target_io_timer_sec

target IO timer not supported in iSCSI

Definition at line 144 of file ocs_drv_fc.h.

uint8_t ocs_s::tcp_window_scale

Definition at line 129 of file ocs_drv_iscsi.h.

uint32_t ocs_s::tcp_window_size

Definition at line 128 of file ocs_drv_iscsi.h.

ocs_mgmt_functions_t * ocs_s::tgt_mgmt_functions

Definition at line 81 of file ocs_drv_fc.h.

ocs_scsi_tgt_t ocs_s::tgt_ocs

Definition at line 67 of file ocs_drv_fc.h.

time_t ocs_s::tgt_rscn_delay_msec

Definition at line 128 of file ocs_drv_fc.h.

time_t ocs_s::tgt_rscn_period_msec

Definition at line 137 of file ocs_drv_fc.h.

uint8_t ocs_s::tgt_wqe_timer

Definition at line 149 of file ocs_drv_fc.h.

int ocs_s::topology

Definition at line 152 of file ocs_drv_fc.h.

uint16_t ocs_s::watchdog_timeout

Definition at line 176 of file ocs_drv_fc.h.

char* ocs_s::wwn_bump

Definition at line 158 of file ocs_drv_fc.h.

ocs_xport_t * ocs_s::xport

Definition at line 70 of file ocs_drv_fc.h.


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