Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Macros | Enumerations
cq_desc.h File Reference

Go to the source code of this file.

Data Structures

struct  cq_desc
 

Macros

#define CQ_DESC_TYPE_BITS   4
 
#define CQ_DESC_TYPE_MASK   ((1 << CQ_DESC_TYPE_BITS) - 1)
 
#define CQ_DESC_COLOR_MASK   1
 
#define CQ_DESC_COLOR_SHIFT   7
 
#define CQ_DESC_Q_NUM_BITS   10
 
#define CQ_DESC_Q_NUM_MASK   ((1 << CQ_DESC_Q_NUM_BITS) - 1)
 
#define CQ_DESC_COMP_NDX_BITS   12
 
#define CQ_DESC_COMP_NDX_MASK   ((1 << CQ_DESC_COMP_NDX_BITS) - 1)
 

Enumerations

enum  cq_desc_types {
  CQ_DESC_TYPE_WQ_ENET = 0, CQ_DESC_TYPE_DESC_COPY = 1, CQ_DESC_TYPE_WQ_EXCH = 2, CQ_DESC_TYPE_RQ_ENET = 3,
  CQ_DESC_TYPE_RQ_FCP = 4, CQ_DESC_TYPE_WQ_ENET = 0, CQ_DESC_TYPE_DESC_COPY = 1, CQ_DESC_TYPE_WQ_EXCH = 2,
  CQ_DESC_TYPE_RQ_ENET = 3, CQ_DESC_TYPE_RQ_FCP = 4
}
 

Macro Definition Documentation

#define CQ_DESC_COLOR_MASK   1

Definition at line 49 of file cq_desc.h.

#define CQ_DESC_COLOR_SHIFT   7

Definition at line 50 of file cq_desc.h.

#define CQ_DESC_COMP_NDX_BITS   12

Definition at line 53 of file cq_desc.h.

#define CQ_DESC_COMP_NDX_MASK   ((1 << CQ_DESC_COMP_NDX_BITS) - 1)

Definition at line 54 of file cq_desc.h.

#define CQ_DESC_Q_NUM_BITS   10

Definition at line 51 of file cq_desc.h.

#define CQ_DESC_Q_NUM_MASK   ((1 << CQ_DESC_Q_NUM_BITS) - 1)

Definition at line 52 of file cq_desc.h.

#define CQ_DESC_TYPE_BITS   4

Definition at line 47 of file cq_desc.h.

#define CQ_DESC_TYPE_MASK   ((1 << CQ_DESC_TYPE_BITS) - 1)

Definition at line 48 of file cq_desc.h.

Enumeration Type Documentation

Enumerator:
CQ_DESC_TYPE_WQ_ENET 
CQ_DESC_TYPE_DESC_COPY 
CQ_DESC_TYPE_WQ_EXCH 
CQ_DESC_TYPE_RQ_ENET 
CQ_DESC_TYPE_RQ_FCP 
CQ_DESC_TYPE_WQ_ENET 
CQ_DESC_TYPE_DESC_COPY 
CQ_DESC_TYPE_WQ_EXCH 
CQ_DESC_TYPE_RQ_ENET 
CQ_DESC_TYPE_RQ_FCP 

Definition at line 26 of file cq_desc.h.