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

Fibre Channel domain object. More...

#include <ocs_common.h>

Detailed Description

Fibre Channel domain object.

This object is a container for the various SLI components needed to connect to the domain of a FC or FCoE switch

Definition at line 196 of file ocs_common.h.

Data Fields

ocs_t * ocs
 
uint32_t instance_index
 
char display_name [OCS_DISPLAY_NAME_LENGTH]
 
ocs_list_t sport_list
 
ocs_scsi_ini_domain_t ini_domain
 
ocs_scsi_tgt_domain_t tgt_domain
 
ocs_mgmt_functions_t * mgmt_functions
 
ocs_hal_t * hal
 
ocs_sm_ctx_t sm
 
uint32_t fcf
 
uint32_t fcf_indicator
 
uint32_t vlan_id
 
uint32_t indicator
 
ocs_dma_t dma
 
uint32_t req_rediscover_fcf:1
 
uint64_t fcf_wwn
 
ocs_list_link_t link
 
ocs_sm_ctx_t drvsm
 
ocs_rlock_t drvsm_lock
 
uint32_t attached:1
 
uint32_t is_fc:1
 
uint32_t is_loop:1
 
uint32_t is_nlport:1
 
uint32_t domain_found_pending:1
 
uint32_t req_domain_free:1
 
uint32_t req_accept_frames:1
 
uint32_t domain_notify_pend:1
 
ocs_domain_record_t pending_drec
 
uint8_t service_params [OCS_SERVICE_PARMS_LENGTH]
 
uint8_t flogi_service_params [OCS_SERVICE_PARMS_LENGTH]
 
uint8_t femul_enable
 
sparse_vector_t lookup
 
ocs_lock_t lookup_lock
 
ocs_sli_port_t * sport
 
uint32_t sport_instance_count
 
ocs_bitmap_t * portid_pool
 
ocs_ns_t * ocs_ns
 

Field Documentation

uint32_t ocs_domain_t::attached

set true after attach completes

Definition at line 222 of file ocs_common.h.

char ocs_domain_t::display_name[OCS_DISPLAY_NAME_LENGTH]

Node display name

Definition at line 200 of file ocs_common.h.

ocs_dma_t ocs_domain_t::dma

memory for Service Parameters

Definition at line 213 of file ocs_common.h.

uint32_t ocs_domain_t::domain_found_pending

A domain found is pending, drec is updated

Definition at line 222 of file ocs_common.h.

uint32_t ocs_domain_t::domain_notify_pend

Definition at line 222 of file ocs_common.h.

ocs_sm_ctx_t ocs_domain_t::drvsm

driver domain sm context

Definition at line 220 of file ocs_common.h.

ocs_rlock_t ocs_domain_t::drvsm_lock

driver domain sm lock

Definition at line 221 of file ocs_common.h.

uint32_t ocs_domain_t::fcf

FC Forwarder table index

Definition at line 209 of file ocs_common.h.

uint32_t ocs_domain_t::fcf_indicator

FCFI

Definition at line 210 of file ocs_common.h.

uint64_t ocs_domain_t::fcf_wwn

WWN for FCF/switch

Definition at line 218 of file ocs_common.h.

uint8_t ocs_domain_t::femul_enable

TRUE if Fabric Emulation mode is enabled

Definition at line 233 of file ocs_common.h.

uint8_t ocs_domain_t::flogi_service_params[OCS_SERVICE_PARMS_LENGTH]

Fabric/P2p service parameters from FLOGI

Definition at line 232 of file ocs_common.h.

ocs_hal_t* ocs_domain_t::hal

pointer to HAL

Definition at line 207 of file ocs_common.h.

uint32_t ocs_domain_t::indicator

VFI

Definition at line 212 of file ocs_common.h.

ocs_scsi_ini_domain_t ocs_domain_t::ini_domain

initiator backend private domain data

Definition at line 202 of file ocs_common.h.

uint32_t ocs_domain_t::instance_index

unique instance index value

Definition at line 199 of file ocs_common.h.

uint32_t ocs_domain_t::is_fc

is FC

Definition at line 222 of file ocs_common.h.

uint32_t ocs_domain_t::is_loop

is loop topology

Definition at line 222 of file ocs_common.h.

uint32_t ocs_domain_t::is_nlport

is public loop

Definition at line 222 of file ocs_common.h.

ocs_list_link_t ocs_domain_t::link

Definition at line 219 of file ocs_common.h.

sparse_vector_t ocs_domain_t::lookup

d_id to node lookup object

Definition at line 242 of file ocs_common.h.

ocs_lock_t ocs_domain_t::lookup_lock

Definition at line 243 of file ocs_common.h.

ocs_mgmt_functions_t* ocs_domain_t::mgmt_functions

Definition at line 204 of file ocs_common.h.

ocs_t* ocs_domain_t::ocs

pointer back to ocs

Definition at line 198 of file ocs_common.h.

ocs_ns_t* ocs_domain_t::ocs_ns

Definition at line 250 of file ocs_common.h.

ocs_domain_record_t ocs_domain_t::pending_drec

Set in domain SM to avoid duplicate node event post Pending drec if a domain found is pending

Definition at line 230 of file ocs_common.h.

ocs_bitmap_t* ocs_domain_t::portid_pool

Definition at line 249 of file ocs_common.h.

uint32_t ocs_domain_t::req_accept_frames

set in domain state machine to enable frames

Definition at line 222 of file ocs_common.h.

uint32_t ocs_domain_t::req_domain_free

True if domain object should be free'd

Definition at line 222 of file ocs_common.h.

uint32_t ocs_domain_t::req_rediscover_fcf
          TRUE if fcf rediscover is needed (in response

to Vlink Clear async event

Definition at line 214 of file ocs_common.h.

uint8_t ocs_domain_t::service_params[OCS_SERVICE_PARMS_LENGTH]

any sports service parameters

Definition at line 231 of file ocs_common.h.

ocs_sm_ctx_t ocs_domain_t::sm

state machine context

Definition at line 208 of file ocs_common.h.

ocs_sli_port_t* ocs_domain_t::sport

Pointer to first (physical) SLI port (also at the head of sport_list)

Definition at line 245 of file ocs_common.h.

uint32_t ocs_domain_t::sport_instance_count

count of sport instances

Definition at line 246 of file ocs_common.h.

ocs_list_t ocs_domain_t::sport_list

linked list of SLI ports

Definition at line 201 of file ocs_common.h.

ocs_scsi_tgt_domain_t ocs_domain_t::tgt_domain

target backend private domain data

Definition at line 203 of file ocs_common.h.

uint32_t ocs_domain_t::vlan_id

VLAN tag for this domain

Definition at line 211 of file ocs_common.h.


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