Emulex Logo
OneCoreā„¢ Storage SDK Release 11.2
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Node State Machine: Name/Directory Services States

Functions

void * __ocs_ns_init (ocs_sm_ctx_t *ctx, ocs_sm_event_t evt, void *arg)
 Name services node state machine: Initialize. More...
 
void * __ocs_ns_plogi_wait_rsp (ocs_sm_ctx_t *ctx, ocs_sm_event_t evt, void *arg)
 Name services node state machine: Wait for a PLOGI response. More...
 
void * __ocs_ns_wait_node_attach (ocs_sm_ctx_t *ctx, ocs_sm_event_t evt, void *arg)
 Name services node state machine: Wait for a node attach completion. More...
 
void * __ocs_fdmi_wait_node_attach (ocs_sm_ctx_t *ctx, ocs_sm_event_t evt, void *arg)
 FDMI node state machine: Wait for a node attach completion. More...
 
void * __ocs_fabric_wait_attach_evt_shutdown (ocs_sm_ctx_t *ctx, ocs_sm_event_t evt, void *arg)
 Wait for a domain/sport/node attach completion, then shutdown. More...
 
void * __ocs_ns_rftid_wait_rsp (ocs_sm_ctx_t *ctx, ocs_sm_event_t evt, void *arg)
 Name services node state machine: Wait for an RFTID response event. More...
 
void * __ocs_ns_rffid_wait_rsp (ocs_sm_ctx_t *ctx, ocs_sm_event_t evt, void *arg)
 Fabric node state machine: Wait for RFFID response event. More...
 
void * __ocs_ns_gidpt_wait_rsp (ocs_sm_ctx_t *ctx, ocs_sm_event_t evt, void *arg)
 Name services node state machine: Wait for a GIDPT response. More...
 
void * __ocs_ns_idle (ocs_sm_ctx_t *ctx, ocs_sm_event_t evt, void *arg)
 Name services node state machine: Idle state. More...
 
void * __ocs_ns_gidpt_delay (ocs_sm_ctx_t *ctx, ocs_sm_event_t evt, void *arg)
 Name services node state machine: Delayed GIDPT. More...
 
void * __ocs_fdmi_rhba_wait_rsp (ocs_sm_ctx_t *ctx, ocs_sm_event_t evt, void *arg)
 Fabric node state machine: Wait for RHBA response event. More...
 
void * __ocs_fdmi_dhba_wait_rsp (ocs_sm_ctx_t *ctx, ocs_sm_event_t evt, void *arg)
 Fabric node state machine: Wait for DHBA response event. More...
 
void * __ocs_fdmi_dprt_wait_rsp (ocs_sm_ctx_t *ctx, ocs_sm_event_t evt, void *arg)
 Fabric node state machine: Wait for DPRT response event. More...
 
static void * __ocs_fdmi_get_cmd_wait_rsp (ocs_sm_ctx_t *ctx, ocs_sm_event_t evt, void *arg)
 Fabric node state machine: Wait for FDMI response event. More...
 

Function Details

void* __ocs_fabric_wait_attach_evt_shutdown ( ocs_sm_ctx_t *  ctx,
ocs_sm_event_t  evt,
void *  arg 
)

Wait for a domain/sport/node attach completion, then shutdown.

Description
Waits for a domain/sport/node attach completion, then shuts node down.
Parameters
ctxRemote node state machine context.
evtEvent to process.
argPer event optional argument.
Returns
Returns NULL.

Definition at line 784 of file ocs_fabric.c.

void* __ocs_fdmi_dhba_wait_rsp ( ocs_sm_ctx_t *  ctx,
ocs_sm_event_t  evt,
void *  arg 
)

Fabric node state machine: Wait for DHBA response event.

Description
Waits for an DHBA response event;
Parameters
ctxRemote node state machine context.
evtEvent to process.
argPer event optional argument.
Returns
Returns NULL.

Definition at line 3190 of file ocs_fabric.c.

void* __ocs_fdmi_dprt_wait_rsp ( ocs_sm_ctx_t *  ctx,
ocs_sm_event_t  evt,
void *  arg 
)

Fabric node state machine: Wait for DPRT response event.

Description
Waits for an DPRT response event;
Parameters
ctxRemote node state machine context.
evtEvent to process.
argPer event optional argument.
Returns
Returns NULL.

Definition at line 3280 of file ocs_fabric.c.

static void * __ocs_fdmi_get_cmd_wait_rsp ( ocs_sm_ctx_t *  ctx,
ocs_sm_event_t  evt,
void *  arg 
)
static

Fabric node state machine: Wait for FDMI response event.

Description
Waits for an FDMI cmd response event;
Parameters
ctxRemote node state machine context.
evtEvent to process.
argPer event optional argument.
Returns
Returns NULL.

Definition at line 3677 of file ocs_fabric.c.

void* __ocs_fdmi_rhba_wait_rsp ( ocs_sm_ctx_t *  ctx,
ocs_sm_event_t  evt,
void *  arg 
)

Fabric node state machine: Wait for RHBA response event.

Description
Waits for an RHBA response event;
Parameters
ctxRemote node state machine context.
evtEvent to process.
argPer event optional argument.
Returns
Returns NULL.

Definition at line 3131 of file ocs_fabric.c.

void * __ocs_fdmi_wait_node_attach ( ocs_sm_ctx_t *  ctx,
ocs_sm_event_t  evt,
void *  arg 
)

FDMI node state machine: Wait for a node attach completion.

Description
Waits for a node attach completion, then issues RHAT/RPRT registration requests to FDMI server.
Parameters
ctxRemote node state machine context.
evtEvent to process.
argPer event optional argument.
Returns
Returns NULL.

Definition at line 710 of file ocs_fabric.c.

void* __ocs_ns_gidpt_delay ( ocs_sm_ctx_t *  ctx,
ocs_sm_event_t  evt,
void *  arg 
)

Name services node state machine: Delayed GIDPT.

Description
Waiting for GIDPT delay to expire before submitting GIDPT to name server.
Parameters
ctxRemote node state machine context.
evtEvent to process.
argPer event optional argument.
Returns
Returns NULL.

Definition at line 1198 of file ocs_fabric.c.

void* __ocs_ns_gidpt_wait_rsp ( ocs_sm_ctx_t *  ctx,
ocs_sm_event_t  evt,
void *  arg 
)

Name services node state machine: Wait for a GIDPT response.

Description
Wait for a GIDPT response from the name server. Process the FC_IDs that are reported by creating new remote ports, as needed.
Parameters
ctxRemote node state machine context.
evtEvent to process.
argPer event optional argument.
Returns
Returns NULL.

Definition at line 991 of file ocs_fabric.c.

void* __ocs_ns_idle ( ocs_sm_ctx_t *  ctx,
ocs_sm_event_t  evt,
void *  arg 
)

Name services node state machine: Idle state.

Description
Idle. Waiting for RSCN received events (posted from the fabric controller), and restarts the GIDPT name services query and processing.
Parameters
ctxRemote node state machine context.
evtEvent to process.
argPer event optional argument.
Returns
Returns NULL.

Definition at line 1090 of file ocs_fabric.c.

void* __ocs_ns_init ( ocs_sm_ctx_t *  ctx,
ocs_sm_event_t  evt,
void *  arg 
)

Name services node state machine: Initialize.

Description
A PLOGI is sent to the well-known name/directory services node.
Parameters
ctxRemote node state machine context.
evtEvent to process.
argPer event optional argument.
Returns
Returns NULL.

Definition at line 477 of file ocs_fabric.c.

void* __ocs_ns_plogi_wait_rsp ( ocs_sm_ctx_t *  ctx,
ocs_sm_event_t  evt,
void *  arg 
)

Name services node state machine: Wait for a PLOGI response.

Description
Waits for a response from PLOGI to name services node, then issues a node attach request to the HAL.
Parameters
ctxRemote node state machine context.
evtEvent to process.
argPer event optional argument.
Returns
Returns NULL.

Definition at line 512 of file ocs_fabric.c.

void* __ocs_ns_rffid_wait_rsp ( ocs_sm_ctx_t *  ctx,
ocs_sm_event_t  evt,
void *  arg 
)

Fabric node state machine: Wait for RFFID response event.

Description
Waits for an RFFID response event; if configured for an initiator operation, a GIDPT name services request is issued.
Parameters
ctxRemote node state machine context.
evtEvent to process.
argPer event optional argument.
Returns
Returns NULL.

Definition at line 940 of file ocs_fabric.c.

void* __ocs_ns_rftid_wait_rsp ( ocs_sm_ctx_t *  ctx,
ocs_sm_event_t  evt,
void *  arg 
)

Name services node state machine: Wait for an RFTID response event.

Description
Waits for an RFTID response event; if configured for an initiator operation, a GIDPT name services request is issued.
Parameters
ctxRemote node state machine context.
evtEvent to process.
argPer event optional argument.
Returns
Returns NULL.

Definition at line 840 of file ocs_fabric.c.

void* __ocs_ns_wait_node_attach ( ocs_sm_ctx_t *  ctx,
ocs_sm_event_t  evt,
void *  arg 
)

Name services node state machine: Wait for a node attach completion.

Description
Waits for a node attach completion, then issues an RFTID name services request.
Parameters
ctxRemote node state machine context.
evtEvent to process.
argPer event optional argument.
Returns
Returns NULL.

Definition at line 562 of file ocs_fabric.c.