Emulex Logo
OneCoreā„¢ Storage SDK Release 11.2
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Node State Machine: Point-to-Point Node States

Functions

void * __ocs_p2p_wait_domain_attach (ocs_sm_ctx_t *ctx, ocs_sm_event_t evt, void *arg)
 Point-to-point state machine: Wait for the domain attach to complete. More...
 
void * __ocs_p2p_rnode_init (ocs_sm_ctx_t *ctx, ocs_sm_event_t evt, void *arg)
 Point-to-point state machine: Remote node initialization state. More...
 
void * __ocs_p2p_wait_flogi_acc_cmpl (ocs_sm_ctx_t *ctx, ocs_sm_event_t evt, void *arg)
 Point-to-point node state machine: Wait for the FLOGI accept completion. More...
 
void * __ocs_p2p_wait_plogi_rsp (ocs_sm_ctx_t *ctx, ocs_sm_event_t evt, void *arg)
 Point-to-point node state machine: Wait for a PLOGI response as a point-to-point winner. More...
 
void * __ocs_p2p_wait_plogi_rsp_recvd_prli (ocs_sm_ctx_t *ctx, ocs_sm_event_t evt, void *arg)
 Point-to-point node state machine: Waiting on a response for a sent PLOGI. More...
 
void * __ocs_p2p_wait_node_attach (ocs_sm_ctx_t *ctx, ocs_sm_event_t evt, void *arg)
 Point-to-point node state machine: Wait for a point-to-point node attach to complete. More...
 

Function Details

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

Point-to-point state machine: Remote node initialization state.

Description
This state is entered after winning point-to-point, and the remote node is instantiated.
Parameters
ctxRemote node state machine context.
evtEvent to process.
argPer event optional argument.
Returns
Returns NULL.

Definition at line 1722 of file ocs_fabric.c.

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

Point-to-point state machine: Wait for the domain attach to complete.

Description
Once the domain attach has completed, a PLOGI is sent (if we're the winning point-to-point node).
Parameters
ctxRemote node state machine context.
evtEvent to process.
argPer event optional argument.
Returns
Returns NULL.

Definition at line 1640 of file ocs_fabric.c.

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

Point-to-point node state machine: Wait for the FLOGI accept completion.

Description
Wait for the FLOGI accept completion.
Parameters
ctxRemote node state machine context.
evtEvent to process.
argPer event optional argument.
Returns
Returns NULL.

Definition at line 1764 of file ocs_fabric.c.

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

Point-to-point node state machine: Wait for a point-to-point node attach to complete.

Description
Waits for the point-to-point node attach to complete.
Parameters
ctxRemote node state machine context.
evtEvent to process.
argPer event optional argument.
Returns
Returns NULL.

Definition at line 2012 of file ocs_fabric.c.

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

Point-to-point node state machine: Wait for a PLOGI response as a point-to-point winner.

Description
Wait for a PLOGI response from the remote node as a point-to-point winner. Submit 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 1844 of file ocs_fabric.c.

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

Point-to-point node state machine: Waiting on a response for a sent PLOGI.

Description
State is entered when the point-to-point winner has sent a PLOGI and is waiting for a response. Before receiving the response, a PRLI was received, implying that the PLOGI was successful.
Parameters
ctxRemote node state machine context.
evtEvent to process.
argPer event optional argument.
Returns
Returns NULL.

Definition at line 1931 of file ocs_fabric.c.