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

Go to the source code of this file.

Data Structures

struct  ocs_ramd_cmd_recv_cmd_t
 
struct  ocs_ramd_cmd_dataphase_cb_t
 
struct  ocs_ramd_cmd_io_cb_t
 
struct  ocs_ramd_cmd_bounce_t
 
struct  ocs_ramd_cmd_t
 
struct  ocs_ramd_thread_t
 

Enumerations

enum  ocs_ramd_cmd_e {
  OCS_RAMD_CMD_RECV_CMD = 1, OCS_RAMD_CMD_DATAPHASE_CB, OCS_RAMD_CMD_IO_CB, OCS_RAMD_CMD_BOUNCE,
  OCS_RAMD_CMD_MAX
}
 

Functions

int32_t ocs_ramd_start_threads (uint32_t threading_mode, uint32_t thread_cmds)
 
void ocs_ramd_stop_threads (void)
 
void ocs_ramd_thread_ddump (ocs_textbuf_t *textbuf)
 
void ocs_ramd_tgt_bounce (void(*fctn)(void *arg), void *arg, uint32_t s_id, uint32_t d_id, uint32_t ox_id)
 
uint32_t ocs_ramd_get_enable_ramd_threading (void)
 

Enumeration Details

Enumerator
OCS_RAMD_CMD_RECV_CMD 
OCS_RAMD_CMD_DATAPHASE_CB 
OCS_RAMD_CMD_IO_CB 
OCS_RAMD_CMD_BOUNCE 
OCS_RAMD_CMD_MAX 

Definition at line 41 of file ocs_ramd_thread.h.

Function Details

uint32_t ocs_ramd_get_enable_ramd_threading ( void  )

Definition at line 264 of file ocs_ramd_thread.c.

int32_t ocs_ramd_start_threads ( uint32_t  threading_mode,
uint32_t  thread_cmds 
)

Definition at line 104 of file ocs_ramd_thread.c.

void ocs_ramd_stop_threads ( void  )

Definition at line 187 of file ocs_ramd_thread.c.

void ocs_ramd_tgt_bounce ( void(*)(void *arg)  fctn,
void *  arg,
uint32_t  s_id,
uint32_t  d_id,
uint32_t  ox_id 
)

Definition at line 385 of file ocs_ramd_thread.c.

void ocs_ramd_thread_ddump ( ocs_textbuf_t *  textbuf)

Definition at line 220 of file ocs_ramd_thread.c.