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

Go to the source code of this file.

Macros

#define CVMX_LLM_NUM_PORTS   1
 
#define CVMX_NULL_POINTER_PROTECT   1
 
#define CVMX_ENABLE_DEBUG_PRINTS   1
 
#define CVMX_PKO_QUEUES_PER_PORT_INTERFACE0   1
 
#define CVMX_PKO_QUEUES_PER_PORT_INTERFACE1   1
 
#define CVMX_PKO_MAX_PORTS_INTERFACE0   CVMX_HELPER_PKO_MAX_PORTS_INTERFACE0
 
#define CVMX_PKO_MAX_PORTS_INTERFACE1   CVMX_HELPER_PKO_MAX_PORTS_INTERFACE1
 
#define CVMX_PKO_QUEUES_PER_PORT_PCI   1
 
#define CVMX_PKO_QUEUES_PER_PORT_LOOP   1
 
#define CVMX_FPA_POOL_0_SIZE   (16 * CVMX_CACHE_LINE_SIZE)
 
#define CVMX_FPA_POOL_1_SIZE   (1 * CVMX_CACHE_LINE_SIZE)
 
#define CVMX_FPA_POOL_2_SIZE   (8 * CVMX_CACHE_LINE_SIZE)
 
#define CVMX_FPA_POOL_3_SIZE   (0 * CVMX_CACHE_LINE_SIZE)
 
#define CVMX_FPA_POOL_4_SIZE   (0 * CVMX_CACHE_LINE_SIZE)
 
#define CVMX_FPA_POOL_5_SIZE   (0 * CVMX_CACHE_LINE_SIZE)
 
#define CVMX_FPA_POOL_6_SIZE   (0 * CVMX_CACHE_LINE_SIZE)
 
#define CVMX_FPA_POOL_7_SIZE   (0 * CVMX_CACHE_LINE_SIZE)
 
#define CVMX_FPA_PACKET_POOL   (0)
 
#define CVMX_FPA_PACKET_POOL_SIZE   CVMX_FPA_POOL_0_SIZE
 
#define CVMX_FPA_WQE_POOL   (1)
 
#define CVMX_FPA_WQE_POOL_SIZE   CVMX_FPA_POOL_1_SIZE
 
#define CVMX_FPA_OUTPUT_BUFFER_POOL   (2)
 
#define CVMX_FPA_OUTPUT_BUFFER_POOL_SIZE   CVMX_FPA_POOL_2_SIZE
 
#define CVMX_FAU_REG_64_ADDR(x)   ((x << 3) + CVMX_FAU_REG_64_START)
 
#define CVMX_FAU_REG_32_ADDR(x)   ((x << 2) + CVMX_FAU_REG_32_START)
 
#define CVMX_FAU_REG_16_ADDR(x)   ((x << 1) + CVMX_FAU_REG_16_START)
 
#define CVMX_FAU_REG_8_ADDR(x)   ((x) + CVMX_FAU_REG_8_START)
 
#define CVMX_FAU_REG_AVAIL_BASE   ((CVMX_FAU_REG_8_END + 0x7) & (~0x7ULL))
 
#define CVMX_FAU_REG_END   (2048)
 
#define CVMX_SCR_SCRATCH   (0)
 
#define CVMX_SCR_REG_AVAIL_BASE   (8)
 
#define CVMX_HELPER_FIRST_MBUFF_SKIP   184
 
#define CVMX_HELPER_NOT_FIRST_MBUFF_SKIP   0
 
#define CVMX_HELPER_ENABLE_BACK_PRESSURE   1
 
#define CVMX_HELPER_ENABLE_IPD   0
 
#define CVMX_HELPER_INPUT_TAG_TYPE   CVMX_POW_TAG_TYPE_ORDERED
 
#define CVMX_ENABLE_PARAMETER_CHECKING   0
 
#define CVMX_HELPER_INPUT_TAG_IPV6_SRC_IP   0
 
#define CVMX_HELPER_INPUT_TAG_IPV6_DST_IP   0
 
#define CVMX_HELPER_INPUT_TAG_IPV6_SRC_PORT   0
 
#define CVMX_HELPER_INPUT_TAG_IPV6_DST_PORT   0
 
#define CVMX_HELPER_INPUT_TAG_IPV6_NEXT_HEADER   0
 
#define CVMX_HELPER_INPUT_TAG_IPV4_SRC_IP   0
 
#define CVMX_HELPER_INPUT_TAG_IPV4_DST_IP   0
 
#define CVMX_HELPER_INPUT_TAG_IPV4_SRC_PORT   0
 
#define CVMX_HELPER_INPUT_TAG_IPV4_DST_PORT   0
 
#define CVMX_HELPER_INPUT_TAG_IPV4_PROTOCOL   0
 
#define CVMX_HELPER_INPUT_TAG_INPUT_PORT   1
 
#define CVMX_HELPER_INPUT_PORT_SKIP_MODE   CVMX_PIP_PORT_CFG_MODE_SKIPL2
 
#define CVMX_HELPER_DISABLE_RGMII_BACKPRESSURE   0
 

Enumerations

enum  cvmx_fau_reg_64_t { CVMX_FAU_REG_64_START = 0, CVMX_FAU_REG_64_END = CVMX_FAU_REG_64_ADDR(0) }
 
enum  cvmx_fau_reg_32_t { CVMX_FAU_REG_32_START = CVMX_FAU_REG_64_END, CVMX_FAU_REG_32_END = CVMX_FAU_REG_32_ADDR(0) }
 
enum  cvmx_fau_reg_16_t { CVMX_FAU_REG_16_START = CVMX_FAU_REG_32_END, CVMX_FAU_REG_16_END = CVMX_FAU_REG_16_ADDR(0) }
 
enum  cvmx_fau_reg_8_t { CVMX_FAU_REG_8_START = CVMX_FAU_REG_16_END, CVMX_FAU_REG_8_END = CVMX_FAU_REG_8_ADDR(0) }
 

Macro Definition Documentation

#define CVMX_ENABLE_DEBUG_PRINTS   1

Definition at line 7 of file cvmx-config.h.

#define CVMX_ENABLE_PARAMETER_CHECKING   0

Definition at line 139 of file cvmx-config.h.

#define CVMX_FAU_REG_16_ADDR (   x)    ((x << 1) + CVMX_FAU_REG_16_START)

Definition at line 66 of file cvmx-config.h.

#define CVMX_FAU_REG_32_ADDR (   x)    ((x << 2) + CVMX_FAU_REG_32_START)

Definition at line 60 of file cvmx-config.h.

#define CVMX_FAU_REG_64_ADDR (   x)    ((x << 3) + CVMX_FAU_REG_64_START)

Definition at line 54 of file cvmx-config.h.

#define CVMX_FAU_REG_8_ADDR (   x)    ((x) + CVMX_FAU_REG_8_START)

Definition at line 72 of file cvmx-config.h.

#define CVMX_FAU_REG_AVAIL_BASE   ((CVMX_FAU_REG_8_END + 0x7) & (~0x7ULL))

Definition at line 83 of file cvmx-config.h.

#define CVMX_FAU_REG_END   (2048)

Definition at line 84 of file cvmx-config.h.

#define CVMX_FPA_OUTPUT_BUFFER_POOL   (2)

Definition at line 40 of file cvmx-config.h.

#define CVMX_FPA_OUTPUT_BUFFER_POOL_SIZE   CVMX_FPA_POOL_2_SIZE

Definition at line 41 of file cvmx-config.h.

#define CVMX_FPA_PACKET_POOL   (0)

Definition at line 34 of file cvmx-config.h.

#define CVMX_FPA_PACKET_POOL_SIZE   CVMX_FPA_POOL_0_SIZE

Definition at line 35 of file cvmx-config.h.

#define CVMX_FPA_POOL_0_SIZE   (16 * CVMX_CACHE_LINE_SIZE)

Definition at line 23 of file cvmx-config.h.

#define CVMX_FPA_POOL_1_SIZE   (1 * CVMX_CACHE_LINE_SIZE)

Definition at line 24 of file cvmx-config.h.

#define CVMX_FPA_POOL_2_SIZE   (8 * CVMX_CACHE_LINE_SIZE)

Definition at line 25 of file cvmx-config.h.

#define CVMX_FPA_POOL_3_SIZE   (0 * CVMX_CACHE_LINE_SIZE)

Definition at line 26 of file cvmx-config.h.

#define CVMX_FPA_POOL_4_SIZE   (0 * CVMX_CACHE_LINE_SIZE)

Definition at line 27 of file cvmx-config.h.

#define CVMX_FPA_POOL_5_SIZE   (0 * CVMX_CACHE_LINE_SIZE)

Definition at line 28 of file cvmx-config.h.

#define CVMX_FPA_POOL_6_SIZE   (0 * CVMX_CACHE_LINE_SIZE)

Definition at line 29 of file cvmx-config.h.

#define CVMX_FPA_POOL_7_SIZE   (0 * CVMX_CACHE_LINE_SIZE)

Definition at line 30 of file cvmx-config.h.

#define CVMX_FPA_WQE_POOL   (1)

Definition at line 37 of file cvmx-config.h.

#define CVMX_FPA_WQE_POOL_SIZE   CVMX_FPA_POOL_1_SIZE

Definition at line 38 of file cvmx-config.h.

#define CVMX_HELPER_DISABLE_RGMII_BACKPRESSURE   0

Definition at line 166 of file cvmx-config.h.

#define CVMX_HELPER_ENABLE_BACK_PRESSURE   1

Definition at line 122 of file cvmx-config.h.

#define CVMX_HELPER_ENABLE_IPD   0

Definition at line 131 of file cvmx-config.h.

#define CVMX_HELPER_FIRST_MBUFF_SKIP   184

Definition at line 103 of file cvmx-config.h.

#define CVMX_HELPER_INPUT_PORT_SKIP_MODE   CVMX_PIP_PORT_CFG_MODE_SKIPL2

Definition at line 160 of file cvmx-config.h.

#define CVMX_HELPER_INPUT_TAG_INPUT_PORT   1

Definition at line 157 of file cvmx-config.h.

#define CVMX_HELPER_INPUT_TAG_IPV4_DST_IP   0

Definition at line 153 of file cvmx-config.h.

#define CVMX_HELPER_INPUT_TAG_IPV4_DST_PORT   0

Definition at line 155 of file cvmx-config.h.

#define CVMX_HELPER_INPUT_TAG_IPV4_PROTOCOL   0

Definition at line 156 of file cvmx-config.h.

#define CVMX_HELPER_INPUT_TAG_IPV4_SRC_IP   0

Definition at line 152 of file cvmx-config.h.

#define CVMX_HELPER_INPUT_TAG_IPV4_SRC_PORT   0

Definition at line 154 of file cvmx-config.h.

#define CVMX_HELPER_INPUT_TAG_IPV6_DST_IP   0

Definition at line 148 of file cvmx-config.h.

#define CVMX_HELPER_INPUT_TAG_IPV6_DST_PORT   0

Definition at line 150 of file cvmx-config.h.

#define CVMX_HELPER_INPUT_TAG_IPV6_NEXT_HEADER   0

Definition at line 151 of file cvmx-config.h.

#define CVMX_HELPER_INPUT_TAG_IPV6_SRC_IP   0

Definition at line 147 of file cvmx-config.h.

#define CVMX_HELPER_INPUT_TAG_IPV6_SRC_PORT   0

Definition at line 149 of file cvmx-config.h.

#define CVMX_HELPER_INPUT_TAG_TYPE   CVMX_POW_TAG_TYPE_ORDERED

Definition at line 137 of file cvmx-config.h.

#define CVMX_HELPER_NOT_FIRST_MBUFF_SKIP   0

Definition at line 110 of file cvmx-config.h.

#define CVMX_LLM_NUM_PORTS   1

Definition at line 5 of file cvmx-config.h.

#define CVMX_NULL_POINTER_PROTECT   1

Definition at line 6 of file cvmx-config.h.

#define CVMX_PKO_MAX_PORTS_INTERFACE0   CVMX_HELPER_PKO_MAX_PORTS_INTERFACE0

Definition at line 13 of file cvmx-config.h.

#define CVMX_PKO_MAX_PORTS_INTERFACE1   CVMX_HELPER_PKO_MAX_PORTS_INTERFACE1

Definition at line 15 of file cvmx-config.h.

#define CVMX_PKO_QUEUES_PER_PORT_INTERFACE0   1

Definition at line 9 of file cvmx-config.h.

#define CVMX_PKO_QUEUES_PER_PORT_INTERFACE1   1

Definition at line 11 of file cvmx-config.h.

#define CVMX_PKO_QUEUES_PER_PORT_LOOP   1

Definition at line 19 of file cvmx-config.h.

#define CVMX_PKO_QUEUES_PER_PORT_PCI   1

Definition at line 17 of file cvmx-config.h.

#define CVMX_SCR_REG_AVAIL_BASE   (8)

Definition at line 95 of file cvmx-config.h.

#define CVMX_SCR_SCRATCH   (0)

Definition at line 93 of file cvmx-config.h.

Enumeration Type Documentation

Enumerator:
CVMX_FAU_REG_16_START 
CVMX_FAU_REG_16_END 

Definition at line 67 of file cvmx-config.h.

Enumerator:
CVMX_FAU_REG_32_START 
CVMX_FAU_REG_32_END 

Definition at line 61 of file cvmx-config.h.

Enumerator:
CVMX_FAU_REG_64_START 
CVMX_FAU_REG_64_END 

Definition at line 55 of file cvmx-config.h.

Enumerator:
CVMX_FAU_REG_8_START 
CVMX_FAU_REG_8_END 

Definition at line 73 of file cvmx-config.h.