Emulex Logo
OneCoreā„¢ Storage SDK Release 11.2
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
ocs_unsol.h File Reference

Go to the source code of this file.

Detailed Description

Declarations for the interface exported by ocs_unsol.c

Definition in file ocs_unsol.h.

Functions

int32_t ocs_unsol_rq_thread (ocs_thread_t *mythread)
 Process the RQ circular buffer and process the incoming frames. More...
 
int32_t ocs_unsolicited_cb (void *arg, ocs_hal_sequence_t *seq)
 Handle unsolicited FC frames. More...
 
int32_t ocs_node_purge_pending (ocs_node_t *node)
 Purge node's pending (queued) frames. More...
 
int32_t ocs_process_node_pending (ocs_node_t *node)
 Process pending frames queued to the given node. More...
 
int32_t ocs_domain_process_pending (ocs_domain_t *domain)
 Process pending frames queued to the given domain. More...
 
int32_t ocs_domain_purge_pending (ocs_domain_t *domain)
 Purge xport's pending (queued) frames. More...
 
int32_t ocs_dispatch_unsolicited_bls (ocs_node_t *node, ocs_hal_sequence_t *seq)
 
void ocs_domain_hold_frames (ocs_domain_t *domain)
 Globally (at xport level) hold unsolicited frames. More...
 
void ocs_domain_accept_frames (ocs_domain_t *domain)
 Clear hold on unsolicited frames. More...
 
void ocs_seq_coalesce_cleanup (ocs_hal_io_t *hio, uint8_t abort_io)
 
int32_t ocs_sframe_send_bls_acc (ocs_node_t *node, ocs_hal_sequence_t *seq)
 Send BA_ACC using sent frame. More...
 
ocs_hal_sequence_t * ocs_frame_next (ocs_list_t *pend_list, ocs_lock_t *list_lock)
 Return next FC frame on node->pend_frames list. More...
 

Function Details

int32_t ocs_dispatch_unsolicited_bls ( ocs_node_t *  node,
ocs_hal_sequence_t *  seq 
)
ocs_hal_sequence_t* ocs_frame_next ( ocs_list_t *  pend_list,
ocs_lock_t *  list_lock 
)

Return next FC frame on node->pend_frames list.

The next FC frame on the node->pend_frames list is returned, or NULL if the list is empty.

Parameters
pend_listPending list to be purged.
list_lockLock that protects pending list.
Returns
Returns pointer to the next FC frame, or NULL if the pending frame list is empty.

Definition at line 1248 of file ocs_unsol.c.

void ocs_seq_coalesce_cleanup ( ocs_hal_io_t *  hio,
uint8_t  abort_io 
)
int32_t ocs_sframe_send_bls_acc ( ocs_node_t *  node,
ocs_hal_sequence_t *  seq 
)

Send BA_ACC using sent frame.

A BA_ACC is sent using SEND_FRAME

Parameters
nodePointer to node object.
seqPointer to originator frame sequence.
Returns
Returns 0 on success, or a negative error code value on failure.

Definition at line 1450 of file ocs_unsol.c.

int32_t ocs_unsol_rq_thread ( ocs_thread_t *  mythread)

Process the RQ circular buffer and process the incoming frames.

Parameters
mythreadPointer to thread object.
Returns
Returns 0 on success, or a non-zero value on failure.

Definition at line 81 of file ocs_unsol.c.