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

SLI Port object. More...

#include <ocs_common.h>

Detailed Description

SLI Port object.

The SLI Port object represents the connection between the driver and the FC/FCoE domain. In some topologies / hardware, it is possible to have multiple connections to the domain via different WWN. Each would require a separate SLI port object.

Definition at line 84 of file ocs_common.h.

Data Fields

ocs_t * ocs
 
uint32_t tgt_id
 
uint32_t index
 
uint32_t instance_index
 
char display_name [OCS_DISPLAY_NAME_LENGTH]
 
ocs_domain_t * domain
 
uint32_t is_vport:1
 
uint64_t wwpn
 
uint64_t wwnn
 
ocs_list_t node_list
 
ocs_scsi_ini_sport_t ini_sport
 
ocs_scsi_tgt_sport_t tgt_sport
 
void * tgt_data
 
void * ini_data
 
ocs_mgmt_functions_t * mgmt_functions
 
ocs_list_link_t link
 
ocs_rlock_t lock
 
uint8_t mac [6]
 
uint8_t mac_str [13]
 
bool created
 

Field Documentation

bool ocs_sport_t::created

Definition at line 113 of file ocs_common.h.

char ocs_sport_t::display_name[OCS_DISPLAY_NAME_LENGTH]

sport display name

Definition at line 89 of file ocs_common.h.

ocs_domain_t* ocs_sport_t::domain

current fabric domain

Definition at line 90 of file ocs_common.h.

uint32_t ocs_sport_t::index

???

Definition at line 87 of file ocs_common.h.

void* ocs_sport_t::ini_data

initiator backend private pointer

Definition at line 98 of file ocs_common.h.

ocs_scsi_ini_sport_t ocs_sport_t::ini_sport

initiator backend private sport data

Definition at line 95 of file ocs_common.h.

uint32_t ocs_sport_t::instance_index

Definition at line 88 of file ocs_common.h.

uint32_t ocs_sport_t::is_vport

this SPORT is a virtual port

Definition at line 91 of file ocs_common.h.

ocs_list_link_t ocs_sport_t::link

Definition at line 106 of file ocs_common.h.

ocs_rlock_t ocs_sport_t::lock

node wide lock

Definition at line 107 of file ocs_common.h.

uint8_t ocs_sport_t::mac[6]

Definition at line 109 of file ocs_common.h.

uint8_t ocs_sport_t::mac_str[13]

Definition at line 110 of file ocs_common.h.

ocs_mgmt_functions_t* ocs_sport_t::mgmt_functions

Definition at line 99 of file ocs_common.h.

ocs_list_t ocs_sport_t::node_list

list of nodes

Definition at line 94 of file ocs_common.h.

ocs_t* ocs_sport_t::ocs

pointer to ocs

Definition at line 85 of file ocs_common.h.

void* ocs_sport_t::tgt_data

target backend private pointer

Definition at line 97 of file ocs_common.h.

uint32_t ocs_sport_t::tgt_id

target id

Definition at line 86 of file ocs_common.h.

ocs_scsi_tgt_sport_t ocs_sport_t::tgt_sport

target backend private sport data

Definition at line 96 of file ocs_common.h.

uint64_t ocs_sport_t::wwnn

WWNN from HAL (host endian)

Definition at line 93 of file ocs_common.h.

uint64_t ocs_sport_t::wwpn

WWPN from HAL (host endian)

Definition at line 92 of file ocs_common.h.


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