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

Go to the source code of this file.

Macros

#define NIC_CFG_RSS_DEFAULT_CPU_MASK_FIELD   0xffUL
 
#define NIC_CFG_RSS_DEFAULT_CPU_SHIFT   0
 
#define NIC_CFG_RSS_HASH_TYPE   (0xffUL << 8)
 
#define NIC_CFG_RSS_HASH_TYPE_MASK_FIELD   0xffUL
 
#define NIC_CFG_RSS_HASH_TYPE_SHIFT   8
 
#define NIC_CFG_RSS_HASH_BITS   (7UL << 16)
 
#define NIC_CFG_RSS_HASH_BITS_MASK_FIELD   7UL
 
#define NIC_CFG_RSS_HASH_BITS_SHIFT   16
 
#define NIC_CFG_RSS_BASE_CPU   (7UL << 19)
 
#define NIC_CFG_RSS_BASE_CPU_MASK_FIELD   7UL
 
#define NIC_CFG_RSS_BASE_CPU_SHIFT   19
 
#define NIC_CFG_RSS_ENABLE   (1UL << 22)
 
#define NIC_CFG_RSS_ENABLE_MASK_FIELD   1UL
 
#define NIC_CFG_RSS_ENABLE_SHIFT   22
 
#define NIC_CFG_TSO_IPID_SPLIT_EN   (1UL << 23)
 
#define NIC_CFG_TSO_IPID_SPLIT_EN_MASK_FIELD   1UL
 
#define NIC_CFG_TSO_IPID_SPLIT_EN_SHIFT   23
 
#define NIC_CFG_IG_VLAN_STRIP_EN   (1UL << 24)
 
#define NIC_CFG_IG_VLAN_STRIP_EN_MASK_FIELD   1UL
 
#define NIC_CFG_IG_VLAN_STRIP_EN_SHIFT   24
 
#define NIC_CFG_RSS_HASH_TYPE_IPV4   (1 << 1)
 
#define NIC_CFG_RSS_HASH_TYPE_TCP_IPV4   (1 << 2)
 
#define NIC_CFG_RSS_HASH_TYPE_IPV6   (1 << 3)
 
#define NIC_CFG_RSS_HASH_TYPE_TCP_IPV6   (1 << 4)
 
#define NIC_CFG_RSS_HASH_TYPE_IPV6_EX   (1 << 5)
 
#define NIC_CFG_RSS_HASH_TYPE_TCP_IPV6_EX   (1 << 6)
 

Macro Definition Documentation

#define NIC_CFG_IG_VLAN_STRIP_EN   (1UL << 24)

Definition at line 40 of file vnic_nic.h.

#define NIC_CFG_IG_VLAN_STRIP_EN_MASK_FIELD   1UL

Definition at line 41 of file vnic_nic.h.

#define NIC_CFG_IG_VLAN_STRIP_EN_SHIFT   24

Definition at line 42 of file vnic_nic.h.

#define NIC_CFG_RSS_BASE_CPU   (7UL << 19)

Definition at line 31 of file vnic_nic.h.

#define NIC_CFG_RSS_BASE_CPU_MASK_FIELD   7UL

Definition at line 32 of file vnic_nic.h.

#define NIC_CFG_RSS_BASE_CPU_SHIFT   19

Definition at line 33 of file vnic_nic.h.

#define NIC_CFG_RSS_DEFAULT_CPU_MASK_FIELD   0xffUL

Definition at line 23 of file vnic_nic.h.

#define NIC_CFG_RSS_DEFAULT_CPU_SHIFT   0

Definition at line 24 of file vnic_nic.h.

#define NIC_CFG_RSS_ENABLE   (1UL << 22)

Definition at line 34 of file vnic_nic.h.

#define NIC_CFG_RSS_ENABLE_MASK_FIELD   1UL

Definition at line 35 of file vnic_nic.h.

#define NIC_CFG_RSS_ENABLE_SHIFT   22

Definition at line 36 of file vnic_nic.h.

#define NIC_CFG_RSS_HASH_BITS   (7UL << 16)

Definition at line 28 of file vnic_nic.h.

#define NIC_CFG_RSS_HASH_BITS_MASK_FIELD   7UL

Definition at line 29 of file vnic_nic.h.

#define NIC_CFG_RSS_HASH_BITS_SHIFT   16

Definition at line 30 of file vnic_nic.h.

#define NIC_CFG_RSS_HASH_TYPE   (0xffUL << 8)

Definition at line 25 of file vnic_nic.h.

#define NIC_CFG_RSS_HASH_TYPE_IPV4   (1 << 1)

Definition at line 44 of file vnic_nic.h.

#define NIC_CFG_RSS_HASH_TYPE_IPV6   (1 << 3)

Definition at line 46 of file vnic_nic.h.

#define NIC_CFG_RSS_HASH_TYPE_IPV6_EX   (1 << 5)

Definition at line 48 of file vnic_nic.h.

#define NIC_CFG_RSS_HASH_TYPE_MASK_FIELD   0xffUL

Definition at line 26 of file vnic_nic.h.

#define NIC_CFG_RSS_HASH_TYPE_SHIFT   8

Definition at line 27 of file vnic_nic.h.

#define NIC_CFG_RSS_HASH_TYPE_TCP_IPV4   (1 << 2)

Definition at line 45 of file vnic_nic.h.

#define NIC_CFG_RSS_HASH_TYPE_TCP_IPV6   (1 << 4)

Definition at line 47 of file vnic_nic.h.

#define NIC_CFG_RSS_HASH_TYPE_TCP_IPV6_EX   (1 << 6)

Definition at line 49 of file vnic_nic.h.

#define NIC_CFG_TSO_IPID_SPLIT_EN   (1UL << 23)

Definition at line 37 of file vnic_nic.h.

#define NIC_CFG_TSO_IPID_SPLIT_EN_MASK_FIELD   1UL

Definition at line 38 of file vnic_nic.h.

#define NIC_CFG_TSO_IPID_SPLIT_EN_SHIFT   23

Definition at line 39 of file vnic_nic.h.