FreeBSD kernel CXGBE device code
cxgbei.h File Reference
#include <dev/iscsi/icl.h>
Include dependency graph for cxgbei.h:

Go to the source code of this file.

Data Structures

struct  cxgbei_cmp
 
struct  icl_cxgbei_conn
 
struct  icl_cxgbei_pdu
 
struct  cxgbei_data
 

Macros

#define CXGBEI_CONN_SIGNATURE   0x56788765
 
#define CXGBEI_MAX_ISO_PAYLOAD   65535
 

Enumerations

enum  {
  ICPF_RX_HDR = 1 << 0 , ICPF_RX_FLBUF = 1 << 1 , ICPF_RX_DDP = 1 << 2 , ICPF_RX_STATUS = 1 << 3 ,
  CXGBEI_PDU_SIGNATURE = 0x12344321
}
 

Functions

 LIST_HEAD (cxgbei_cmp_head, cxgbei_cmp)
 
static struct icl_cxgbei_connic_to_icc (struct icl_conn *ic)
 
static struct icl_cxgbei_pduip_to_icp (struct icl_pdu *ip)
 
u_int cxgbei_select_worker_thread (struct icl_cxgbei_conn *)
 
void cwt_queue_for_tx (struct icl_cxgbei_conn *)
 
void parse_pdus (struct icl_cxgbei_conn *, struct sockbuf *)
 
void cwt_tx_main (void *)
 
int icl_cxgbei_mod_load (void)
 
int icl_cxgbei_mod_unload (void)
 
struct icl_pdu * icl_cxgbei_new_pdu (int)
 
void icl_cxgbei_new_pdu_set_conn (struct icl_pdu *, struct icl_conn *)
 
void icl_cxgbei_conn_pdu_free (struct icl_conn *, struct icl_pdu *)
 
struct cxgbei_cmpcxgbei_find_cmp (struct icl_cxgbei_conn *, uint32_t)
 

Macro Definition Documentation

◆ CXGBEI_CONN_SIGNATURE

#define CXGBEI_CONN_SIGNATURE   0x56788765

Definition at line 35 of file cxgbei.h.

◆ CXGBEI_MAX_ISO_PAYLOAD

#define CXGBEI_MAX_ISO_PAYLOAD   65535

Definition at line 119 of file cxgbei.h.

Enumeration Type Documentation

◆ anonymous enum

anonymous enum
Enumerator
ICPF_RX_HDR 
ICPF_RX_FLBUF 
ICPF_RX_DDP 
ICPF_RX_STATUS 
CXGBEI_PDU_SIGNATURE 

Definition at line 80 of file cxgbei.h.

Function Documentation

◆ cwt_queue_for_tx()

void cwt_queue_for_tx ( struct icl_cxgbei_conn )

◆ cwt_tx_main()

void cwt_tx_main ( void *  )

◆ cxgbei_find_cmp()

struct cxgbei_cmp * cxgbei_find_cmp ( struct icl_cxgbei_conn ,
uint32_t   
)

◆ cxgbei_select_worker_thread()

u_int cxgbei_select_worker_thread ( struct icl_cxgbei_conn )

◆ ic_to_icc()

static struct icl_cxgbei_conn * ic_to_icc ( struct icl_conn *  ic)
inlinestatic

Definition at line 73 of file cxgbei.h.

References icl_cxgbei_conn::ic.

◆ icl_cxgbei_conn_pdu_free()

void icl_cxgbei_conn_pdu_free ( struct icl_conn *  ,
struct icl_pdu *   
)

◆ icl_cxgbei_mod_load()

int icl_cxgbei_mod_load ( void  )

Referenced by cxgbei_modevent().

Here is the caller graph for this function:

◆ icl_cxgbei_mod_unload()

int icl_cxgbei_mod_unload ( void  )

Referenced by cxgbei_modevent().

Here is the caller graph for this function:

◆ icl_cxgbei_new_pdu()

struct icl_pdu * icl_cxgbei_new_pdu ( int  )

◆ icl_cxgbei_new_pdu_set_conn()

void icl_cxgbei_new_pdu_set_conn ( struct icl_pdu *  ,
struct icl_conn *   
)

◆ ip_to_icp()

static struct icl_cxgbei_pdu * ip_to_icp ( struct icl_pdu *  ip)
inlinestatic

Definition at line 103 of file cxgbei.h.

References icl_cxgbei_pdu::ip.

◆ LIST_HEAD()

LIST_HEAD ( cxgbei_cmp_head  ,
cxgbei_cmp   
)

Referenced by free_hftid_hash(), insert_hf(), insert_hftid(), lookup_hf(), and lookup_hftid().

Here is the caller graph for this function:

◆ parse_pdus()

void parse_pdus ( struct icl_cxgbei_conn ,
struct sockbuf *   
)