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

FC Node object. More...

#include <ocs_common.h>

Detailed Description

FC Node object.

Definition at line 333 of file ocs_common.h.

Data Fields

ocs_t * ocs
 
uint32_t instance_index
 
char display_name [OCS_DISPLAY_NAME_LENGTH]
 
ocs_sport_t * sport
 
uint32_t hold_frames:1
 
ocs_rlock_t lock
 
ocs_lock_t active_ios_lock
 
ocs_list_t active_ios
 
uint64_t max_wr_xfer_size
 
ocs_scsi_ini_node_t ini_node
 
ocs_scsi_tgt_node_t tgt_node
 
ocs_mgmt_functions_t * mgmt_functions
 
ocs_remote_node_t rnode
 
ocs_sm_ctx_t sm
 
uint32_t evtdepth
 
uint32_t req_free:1
 
uint32_t attached:1
 
uint32_t fcp_enabled:1
 
uint32_t rscn_pending:1
 
uint32_t send_plogi:1
 
uint32_t send_plogi_acc:1
 
uint32_t io_alloc_enabled:1
 
uint32_t sent_prli:1
 
ocs_node_send_ls_acc_e send_ls_acc
 
ocs_io_t * ls_acc_io
 
uint32_t ls_acc_oxid
 
uint32_t ls_acc_did
 
ocs_node_shutd_rsn_e shutdown_reason
 
ocs_dma_t sparm_dma_buf
 
uint8_t service_params [OCS_SERVICE_PARMS_LENGTH]
 
int32_t suppress_rsp
 
ocs_lock_t pend_frames_lock
 
ocs_list_t pend_frames
 
uint32_t pend_frames_processed
 
uint32_t ox_id_in_use
 
uint32_t els_retries_remaining
 
uint32_t els_req_cnt
 
uint32_t els_cmpl_cnt
 
uint32_t abort_cnt
 
char current_state_name [OCS_DISPLAY_NAME_LENGTH]
 
char prev_state_name [OCS_DISPLAY_NAME_LENGTH]
 
ocs_sm_event_t current_evt
 
ocs_sm_event_t prev_evt
 
uint32_t targ:1
 
uint32_t init:1
 
uint32_t nvme_init:1
 
uint32_t refound:1
 
uint32_t nvme_tgt:1
 
uint32_t unreg_rpi:1
 
uint32_t first_burst:1
 
uint32_t fc_type:8
 
uint32_t uint32_t nvme_prli_service_params:16
 
ocs_list_t els_io_pend_list
 
ocs_list_t els_io_active_list
 
ocs_sm_function_t nodedb_state
 
ocs_timer_t gidpt_delay_timer
 
time_t time_last_gidpt_msec
 
char wwnn [OCS_WWN_LENGTH]
 
char wwpn [OCS_WWN_LENGTH]
 
uint32_t chained_io_count
 
ocs_list_link_t link
 
ocs_remote_node_group_t * node_group
 

Field Documentation

uint32_t ocs_node_t::abort_cnt

Abort counter for debugging purpose

Definition at line 377 of file ocs_common.h.

ocs_list_t ocs_node_t::active_ios

active I/O's for this node

Definition at line 342 of file ocs_common.h.

ocs_lock_t ocs_node_t::active_ios_lock

active SCSI and XPORT I/O's for this node

Definition at line 341 of file ocs_common.h.

uint32_t ocs_node_t::attached

node is attached (REGLOGIN complete)

Definition at line 354 of file ocs_common.h.

uint32_t ocs_node_t::chained_io_count

count of IOs with chained SGL's

Definition at line 409 of file ocs_common.h.

ocs_sm_event_t ocs_node_t::current_evt

current event

Definition at line 381 of file ocs_common.h.

char ocs_node_t::current_state_name[OCS_DISPLAY_NAME_LENGTH]

current node state

Definition at line 379 of file ocs_common.h.

char ocs_node_t::display_name[OCS_DISPLAY_NAME_LENGTH]

Node display name

Definition at line 337 of file ocs_common.h.

uint32_t ocs_node_t::els_cmpl_cnt

number of outstanding ELS completions

Definition at line 376 of file ocs_common.h.

ocs_list_t ocs_node_t::els_io_active_list

list of active (processed) ELS IOs

Definition at line 397 of file ocs_common.h.

ocs_list_t ocs_node_t::els_io_pend_list

list of pending (not yet processed) ELS IOs

Definition at line 396 of file ocs_common.h.

uint32_t ocs_node_t::els_req_cnt

number of outstanding ELS requests

Definition at line 375 of file ocs_common.h.

uint32_t ocs_node_t::els_retries_remaining

for ELS, number of retries remaining

Definition at line 374 of file ocs_common.h.

uint32_t ocs_node_t::evtdepth

current event posting nesting depth

Definition at line 353 of file ocs_common.h.

uint32_t ocs_node_t::fc_type

Definition at line 383 of file ocs_common.h.

uint32_t ocs_node_t::fcp_enabled

node is enabled to handle FCP

Definition at line 354 of file ocs_common.h.

uint32_t ocs_node_t::first_burst

Definition at line 383 of file ocs_common.h.

ocs_timer_t ocs_node_t::gidpt_delay_timer

GIDPT delay timer

Definition at line 401 of file ocs_common.h.

uint32_t ocs_node_t::hold_frames

hold incoming frames if true

Definition at line 339 of file ocs_common.h.

ocs_scsi_ini_node_t ocs_node_t::ini_node

backend initiator private node data

Definition at line 344 of file ocs_common.h.

uint32_t ocs_node_t::init

node is init capable

Definition at line 383 of file ocs_common.h.

uint32_t ocs_node_t::instance_index

unique instance index value

Definition at line 336 of file ocs_common.h.

uint32_t ocs_node_t::io_alloc_enabled

TRUE if ocs_scsi_io_alloc() and ocs_els_io_alloc() are enabled

Definition at line 354 of file ocs_common.h.

ocs_list_link_t ocs_node_t::link

node list link

Definition at line 411 of file ocs_common.h.

ocs_rlock_t ocs_node_t::lock

node wide lock

Definition at line 340 of file ocs_common.h.

uint32_t ocs_node_t::ls_acc_did

D_ID for pending accept

Definition at line 365 of file ocs_common.h.

ocs_io_t* ocs_node_t::ls_acc_io

SCSI IO for LS acc

Definition at line 363 of file ocs_common.h.

uint32_t ocs_node_t::ls_acc_oxid

OX_ID for pending accept

Definition at line 364 of file ocs_common.h.

uint64_t ocs_node_t::max_wr_xfer_size

Max write IO size per phase for the transport

Definition at line 343 of file ocs_common.h.

ocs_mgmt_functions_t* ocs_node_t::mgmt_functions

Definition at line 346 of file ocs_common.h.

ocs_remote_node_group_t* ocs_node_t::node_group

pointer to node group (if HLM enabled)

Definition at line 413 of file ocs_common.h.

ocs_sm_function_t ocs_node_t::nodedb_state

Node debugging, saved state

Definition at line 399 of file ocs_common.h.

uint32_t ocs_node_t::nvme_init

node is NVME tgt capable

Definition at line 383 of file ocs_common.h.

uint32_t uint32_t ocs_node_t::nvme_prli_service_params

Definition at line 383 of file ocs_common.h.

uint32_t ocs_node_t::nvme_tgt

node is NVME tgt capable

Definition at line 383 of file ocs_common.h.

ocs_t* ocs_node_t::ocs

pointer back to ocs structure

Definition at line 335 of file ocs_common.h.

uint32_t ocs_node_t::ox_id_in_use

used to verify one at a time us of ox_id

Definition at line 373 of file ocs_common.h.

ocs_list_t ocs_node_t::pend_frames

inbound pending frames list

Definition at line 371 of file ocs_common.h.

ocs_lock_t ocs_node_t::pend_frames_lock

lock for inbound pending frames list

Definition at line 370 of file ocs_common.h.

uint32_t ocs_node_t::pend_frames_processed

count of frames processed in hold frames interval

Definition at line 372 of file ocs_common.h.

ocs_sm_event_t ocs_node_t::prev_evt

current event

Definition at line 382 of file ocs_common.h.

char ocs_node_t::prev_state_name[OCS_DISPLAY_NAME_LENGTH]

previous node state

Definition at line 380 of file ocs_common.h.

uint32_t ocs_node_t::refound

Handle node refound case when node is being deleted

Definition at line 383 of file ocs_common.h.

uint32_t ocs_node_t::req_free

this node is to be free'd

Definition at line 354 of file ocs_common.h.

ocs_remote_node_t ocs_node_t::rnode

Remote node

Definition at line 349 of file ocs_common.h.

uint32_t ocs_node_t::rscn_pending

for name server node RSCN is pending

Definition at line 354 of file ocs_common.h.

ocs_node_send_ls_acc_e ocs_node_t::send_ls_acc

type of LS acc to send

Definition at line 362 of file ocs_common.h.

uint32_t ocs_node_t::send_plogi

if initiator, send PLOGI at node initialization

Definition at line 354 of file ocs_common.h.

uint32_t ocs_node_t::send_plogi_acc

send PLOGI accept, upon completion of node attach

Definition at line 354 of file ocs_common.h.

uint32_t ocs_node_t::sent_prli

if initiator, sent prli.

Definition at line 354 of file ocs_common.h.

uint8_t ocs_node_t::service_params[OCS_SERVICE_PARMS_LENGTH]

plogi/acc frame from remote device

Definition at line 368 of file ocs_common.h.

ocs_node_shutd_rsn_e ocs_node_t::shutdown_reason

reason for node shutdown

Definition at line 366 of file ocs_common.h.

ocs_sm_ctx_t ocs_node_t::sm

state machine context

Definition at line 352 of file ocs_common.h.

ocs_dma_t ocs_node_t::sparm_dma_buf

service parameters buffer

Definition at line 367 of file ocs_common.h.

ocs_sport_t* ocs_node_t::sport

Definition at line 338 of file ocs_common.h.

int32_t ocs_node_t::suppress_rsp

Suppress Response requested

Definition at line 369 of file ocs_common.h.

uint32_t ocs_node_t::targ

node is target capable

Definition at line 383 of file ocs_common.h.

ocs_scsi_tgt_node_t ocs_node_t::tgt_node

backend target private node data

Definition at line 345 of file ocs_common.h.

time_t ocs_node_t::time_last_gidpt_msec

Start time of last target RSCN GIDPT

Definition at line 402 of file ocs_common.h.

uint32_t ocs_node_t::unreg_rpi

Used for synchronizing unreg_rpi / unreg_rpi_all

Definition at line 383 of file ocs_common.h.

char ocs_node_t::wwnn[OCS_WWN_LENGTH]

remote port WWN (uses iSCSI naming)

Definition at line 405 of file ocs_common.h.

char ocs_node_t::wwpn[OCS_WWN_LENGTH]

remote port WWN (uses iSCSI naming)

Definition at line 406 of file ocs_common.h.


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