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

Go to the source code of this file.

Data Structures

struct  cq_enet_wq_desc
 
struct  cq_enet_rq_desc
 

Macros

#define CQ_ENET_RQ_DESC_FLAGS_INGRESS_PORT   (0x1 << 12)
 
#define CQ_ENET_RQ_DESC_FLAGS_FCOE   (0x1 << 13)
 
#define CQ_ENET_RQ_DESC_FLAGS_EOP   (0x1 << 14)
 
#define CQ_ENET_RQ_DESC_FLAGS_SOP   (0x1 << 15)
 
#define CQ_ENET_RQ_DESC_RSS_TYPE_BITS   4
 
#define CQ_ENET_RQ_DESC_RSS_TYPE_MASK   ((1 << CQ_ENET_RQ_DESC_RSS_TYPE_BITS) - 1)
 
#define CQ_ENET_RQ_DESC_RSS_TYPE_NONE   0
 
#define CQ_ENET_RQ_DESC_RSS_TYPE_IPv4   1
 
#define CQ_ENET_RQ_DESC_RSS_TYPE_TCP_IPv4   2
 
#define CQ_ENET_RQ_DESC_RSS_TYPE_IPv6   3
 
#define CQ_ENET_RQ_DESC_RSS_TYPE_TCP_IPv6   4
 
#define CQ_ENET_RQ_DESC_RSS_TYPE_IPv6_EX   5
 
#define CQ_ENET_RQ_DESC_RSS_TYPE_TCP_IPv6_EX   6
 
#define CQ_ENET_RQ_DESC_FLAGS_CSUM_NOT_CALC   (0x1 << 14)
 
#define CQ_ENET_RQ_DESC_BYTES_WRITTEN_BITS   14
 
#define CQ_ENET_RQ_DESC_BYTES_WRITTEN_MASK   ((1 << CQ_ENET_RQ_DESC_BYTES_WRITTEN_BITS) - 1)
 
#define CQ_ENET_RQ_DESC_FLAGS_TRUNCATED   (0x1 << 14)
 
#define CQ_ENET_RQ_DESC_FLAGS_VLAN_STRIPPED   (0x1 << 15)
 
#define CQ_ENET_RQ_DESC_VLAN_TCI_VLAN_BITS   12
 
#define CQ_ENET_RQ_DESC_VLAN_TCI_VLAN_MASK   ((1 << CQ_ENET_RQ_DESC_VLAN_TCI_VLAN_BITS) - 1)
 
#define CQ_ENET_RQ_DESC_VLAN_TCI_CFI_MASK   (0x1 << 12)
 
#define CQ_ENET_RQ_DESC_VLAN_TCI_USER_PRIO_BITS   3
 
#define CQ_ENET_RQ_DESC_VLAN_TCI_USER_PRIO_MASK   ((1 << CQ_ENET_RQ_DESC_VLAN_TCI_USER_PRIO_BITS) - 1)
 
#define CQ_ENET_RQ_DESC_VLAN_TCI_USER_PRIO_SHIFT   13
 
#define CQ_ENET_RQ_DESC_FCOE_SOF_BITS   8
 
#define CQ_ENET_RQ_DESC_FCOE_SOF_MASK   ((1 << CQ_ENET_RQ_DESC_FCOE_SOF_BITS) - 1)
 
#define CQ_ENET_RQ_DESC_FCOE_EOF_BITS   8
 
#define CQ_ENET_RQ_DESC_FCOE_EOF_MASK   ((1 << CQ_ENET_RQ_DESC_FCOE_EOF_BITS) - 1)
 
#define CQ_ENET_RQ_DESC_FCOE_EOF_SHIFT   8
 
#define CQ_ENET_RQ_DESC_FLAGS_TCP_UDP_CSUM_OK   (0x1 << 0)
 
#define CQ_ENET_RQ_DESC_FCOE_FC_CRC_OK   (0x1 << 0)
 
#define CQ_ENET_RQ_DESC_FLAGS_UDP   (0x1 << 1)
 
#define CQ_ENET_RQ_DESC_FCOE_ENC_ERROR   (0x1 << 1)
 
#define CQ_ENET_RQ_DESC_FLAGS_TCP   (0x1 << 2)
 
#define CQ_ENET_RQ_DESC_FLAGS_IPV4_CSUM_OK   (0x1 << 3)
 
#define CQ_ENET_RQ_DESC_FLAGS_IPV6   (0x1 << 4)
 
#define CQ_ENET_RQ_DESC_FLAGS_IPV4   (0x1 << 5)
 
#define CQ_ENET_RQ_DESC_FLAGS_IPV4_FRAGMENT   (0x1 << 6)
 
#define CQ_ENET_RQ_DESC_FLAGS_FCS_OK   (0x1 << 7)
 

Macro Definition Documentation

#define CQ_ENET_RQ_DESC_BYTES_WRITTEN_BITS   14

Definition at line 70 of file cq_enet_desc.h.

#define CQ_ENET_RQ_DESC_BYTES_WRITTEN_MASK   ((1 << CQ_ENET_RQ_DESC_BYTES_WRITTEN_BITS) - 1)

Definition at line 71 of file cq_enet_desc.h.

#define CQ_ENET_RQ_DESC_FCOE_ENC_ERROR   (0x1 << 1)

Definition at line 96 of file cq_enet_desc.h.

#define CQ_ENET_RQ_DESC_FCOE_EOF_BITS   8

Definition at line 88 of file cq_enet_desc.h.

#define CQ_ENET_RQ_DESC_FCOE_EOF_MASK   ((1 << CQ_ENET_RQ_DESC_FCOE_EOF_BITS) - 1)

Definition at line 89 of file cq_enet_desc.h.

#define CQ_ENET_RQ_DESC_FCOE_EOF_SHIFT   8

Definition at line 91 of file cq_enet_desc.h.

#define CQ_ENET_RQ_DESC_FCOE_FC_CRC_OK   (0x1 << 0)

Definition at line 94 of file cq_enet_desc.h.

#define CQ_ENET_RQ_DESC_FCOE_SOF_BITS   8

Definition at line 85 of file cq_enet_desc.h.

#define CQ_ENET_RQ_DESC_FCOE_SOF_MASK   ((1 << CQ_ENET_RQ_DESC_FCOE_SOF_BITS) - 1)

Definition at line 86 of file cq_enet_desc.h.

#define CQ_ENET_RQ_DESC_FLAGS_CSUM_NOT_CALC   (0x1 << 14)

Definition at line 68 of file cq_enet_desc.h.

#define CQ_ENET_RQ_DESC_FLAGS_EOP   (0x1 << 14)

Definition at line 54 of file cq_enet_desc.h.

#define CQ_ENET_RQ_DESC_FLAGS_FCOE   (0x1 << 13)

Definition at line 53 of file cq_enet_desc.h.

#define CQ_ENET_RQ_DESC_FLAGS_FCS_OK   (0x1 << 7)

Definition at line 102 of file cq_enet_desc.h.

#define CQ_ENET_RQ_DESC_FLAGS_INGRESS_PORT   (0x1 << 12)

Definition at line 52 of file cq_enet_desc.h.

#define CQ_ENET_RQ_DESC_FLAGS_IPV4   (0x1 << 5)

Definition at line 100 of file cq_enet_desc.h.

#define CQ_ENET_RQ_DESC_FLAGS_IPV4_CSUM_OK   (0x1 << 3)

Definition at line 98 of file cq_enet_desc.h.

#define CQ_ENET_RQ_DESC_FLAGS_IPV4_FRAGMENT   (0x1 << 6)

Definition at line 101 of file cq_enet_desc.h.

#define CQ_ENET_RQ_DESC_FLAGS_IPV6   (0x1 << 4)

Definition at line 99 of file cq_enet_desc.h.

#define CQ_ENET_RQ_DESC_FLAGS_SOP   (0x1 << 15)

Definition at line 55 of file cq_enet_desc.h.

#define CQ_ENET_RQ_DESC_FLAGS_TCP   (0x1 << 2)

Definition at line 97 of file cq_enet_desc.h.

#define CQ_ENET_RQ_DESC_FLAGS_TCP_UDP_CSUM_OK   (0x1 << 0)

Definition at line 93 of file cq_enet_desc.h.

#define CQ_ENET_RQ_DESC_FLAGS_TRUNCATED   (0x1 << 14)

Definition at line 73 of file cq_enet_desc.h.

#define CQ_ENET_RQ_DESC_FLAGS_UDP   (0x1 << 1)

Definition at line 95 of file cq_enet_desc.h.

#define CQ_ENET_RQ_DESC_FLAGS_VLAN_STRIPPED   (0x1 << 15)

Definition at line 74 of file cq_enet_desc.h.

#define CQ_ENET_RQ_DESC_RSS_TYPE_BITS   4

Definition at line 57 of file cq_enet_desc.h.

#define CQ_ENET_RQ_DESC_RSS_TYPE_IPv4   1

Definition at line 61 of file cq_enet_desc.h.

#define CQ_ENET_RQ_DESC_RSS_TYPE_IPv6   3

Definition at line 63 of file cq_enet_desc.h.

#define CQ_ENET_RQ_DESC_RSS_TYPE_IPv6_EX   5

Definition at line 65 of file cq_enet_desc.h.

#define CQ_ENET_RQ_DESC_RSS_TYPE_MASK   ((1 << CQ_ENET_RQ_DESC_RSS_TYPE_BITS) - 1)

Definition at line 58 of file cq_enet_desc.h.

#define CQ_ENET_RQ_DESC_RSS_TYPE_NONE   0

Definition at line 60 of file cq_enet_desc.h.

#define CQ_ENET_RQ_DESC_RSS_TYPE_TCP_IPv4   2

Definition at line 62 of file cq_enet_desc.h.

#define CQ_ENET_RQ_DESC_RSS_TYPE_TCP_IPv6   4

Definition at line 64 of file cq_enet_desc.h.

#define CQ_ENET_RQ_DESC_RSS_TYPE_TCP_IPv6_EX   6

Definition at line 66 of file cq_enet_desc.h.

#define CQ_ENET_RQ_DESC_VLAN_TCI_CFI_MASK   (0x1 << 12)

Definition at line 79 of file cq_enet_desc.h.

#define CQ_ENET_RQ_DESC_VLAN_TCI_USER_PRIO_BITS   3

Definition at line 80 of file cq_enet_desc.h.

#define CQ_ENET_RQ_DESC_VLAN_TCI_USER_PRIO_MASK   ((1 << CQ_ENET_RQ_DESC_VLAN_TCI_USER_PRIO_BITS) - 1)

Definition at line 81 of file cq_enet_desc.h.

#define CQ_ENET_RQ_DESC_VLAN_TCI_USER_PRIO_SHIFT   13

Definition at line 83 of file cq_enet_desc.h.

#define CQ_ENET_RQ_DESC_VLAN_TCI_VLAN_BITS   12

Definition at line 76 of file cq_enet_desc.h.

#define CQ_ENET_RQ_DESC_VLAN_TCI_VLAN_MASK   ((1 << CQ_ENET_RQ_DESC_VLAN_TCI_VLAN_BITS) - 1)

Definition at line 77 of file cq_enet_desc.h.