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

Go to the source code of this file.

Data Structures

struct  wq_enet_desc
 

Macros

#define WQ_ENET_ADDR_BITS   64
 
#define WQ_ENET_LEN_BITS   14
 
#define WQ_ENET_LEN_MASK   ((1 << WQ_ENET_LEN_BITS) - 1)
 
#define WQ_ENET_MSS_BITS   14
 
#define WQ_ENET_MSS_MASK   ((1 << WQ_ENET_MSS_BITS) - 1)
 
#define WQ_ENET_MSS_SHIFT   2
 
#define WQ_ENET_LOOPBACK_SHIFT   1
 
#define WQ_ENET_HDRLEN_BITS   10
 
#define WQ_ENET_HDRLEN_MASK   ((1 << WQ_ENET_HDRLEN_BITS) - 1)
 
#define WQ_ENET_FLAGS_OM_BITS   2
 
#define WQ_ENET_FLAGS_OM_MASK   ((1 << WQ_ENET_FLAGS_OM_BITS) - 1)
 
#define WQ_ENET_FLAGS_EOP_SHIFT   12
 
#define WQ_ENET_FLAGS_CQ_ENTRY_SHIFT   13
 
#define WQ_ENET_FLAGS_FCOE_ENCAP_SHIFT   14
 
#define WQ_ENET_FLAGS_VLAN_TAG_INSERT_SHIFT   15
 
#define WQ_ENET_OFFLOAD_MODE_CSUM   0
 
#define WQ_ENET_OFFLOAD_MODE_RESERVED   1
 
#define WQ_ENET_OFFLOAD_MODE_CSUM_L4   2
 
#define WQ_ENET_OFFLOAD_MODE_TSO   3
 

Macro Definition Documentation

#define WQ_ENET_ADDR_BITS   64

Definition at line 30 of file wq_enet_desc.h.

#define WQ_ENET_FLAGS_CQ_ENTRY_SHIFT   13

Definition at line 42 of file wq_enet_desc.h.

#define WQ_ENET_FLAGS_EOP_SHIFT   12

Definition at line 41 of file wq_enet_desc.h.

#define WQ_ENET_FLAGS_FCOE_ENCAP_SHIFT   14

Definition at line 43 of file wq_enet_desc.h.

#define WQ_ENET_FLAGS_OM_BITS   2

Definition at line 39 of file wq_enet_desc.h.

#define WQ_ENET_FLAGS_OM_MASK   ((1 << WQ_ENET_FLAGS_OM_BITS) - 1)

Definition at line 40 of file wq_enet_desc.h.

#define WQ_ENET_FLAGS_VLAN_TAG_INSERT_SHIFT   15

Definition at line 44 of file wq_enet_desc.h.

#define WQ_ENET_HDRLEN_BITS   10

Definition at line 37 of file wq_enet_desc.h.

#define WQ_ENET_HDRLEN_MASK   ((1 << WQ_ENET_HDRLEN_BITS) - 1)

Definition at line 38 of file wq_enet_desc.h.

#define WQ_ENET_LEN_BITS   14

Definition at line 31 of file wq_enet_desc.h.

#define WQ_ENET_LEN_MASK   ((1 << WQ_ENET_LEN_BITS) - 1)

Definition at line 32 of file wq_enet_desc.h.

#define WQ_ENET_LOOPBACK_SHIFT   1

Definition at line 36 of file wq_enet_desc.h.

#define WQ_ENET_MSS_BITS   14

Definition at line 33 of file wq_enet_desc.h.

#define WQ_ENET_MSS_MASK   ((1 << WQ_ENET_MSS_BITS) - 1)

Definition at line 34 of file wq_enet_desc.h.

#define WQ_ENET_MSS_SHIFT   2

Definition at line 35 of file wq_enet_desc.h.

#define WQ_ENET_OFFLOAD_MODE_CSUM   0

Definition at line 46 of file wq_enet_desc.h.

#define WQ_ENET_OFFLOAD_MODE_CSUM_L4   2

Definition at line 48 of file wq_enet_desc.h.

#define WQ_ENET_OFFLOAD_MODE_RESERVED   1

Definition at line 47 of file wq_enet_desc.h.

#define WQ_ENET_OFFLOAD_MODE_TSO   3

Definition at line 49 of file wq_enet_desc.h.