Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Macros
ethernet-defines.h File Reference
#include <asm/octeon/cvmx-config.h>

Go to the source code of this file.

Macros

#define OCTEON_ETHERNET_VERSION   "1.9"
 
#define CONFIG_CAVIUM_RESERVE32   0
 
#define USE_SKBUFFS_IN_HW   1
 
#define REUSE_SKBUFFS_WITHOUT_FREE   1
 
#define USE_HW_TCPUDP_CHECKSUM   1
 
#define USE_RED   1
 
#define USE_ASYNC_IOBDMA   (CONFIG_CAVIUM_OCTEON_CVMSEG_SIZE > 0)
 
#define USE_10MBPS_PREAMBLE_WORKAROUND   1
 
#define DONT_WRITEBACK(x)   (x)
 
#define MAX_OUT_QUEUE_DEPTH   1000
 
#define FAU_TOTAL_TX_TO_CLEAN   (CVMX_FAU_REG_END - sizeof(uint32_t))
 
#define FAU_NUM_PACKET_BUFFERS_TO_FREE   (FAU_TOTAL_TX_TO_CLEAN - sizeof(uint32_t))
 
#define TOTAL_NUMBER_OF_PORTS   (CVMX_PIP_NUM_INPUT_PORTS+1)
 

Macro Definition Documentation

#define CONFIG_CAVIUM_RESERVE32   0

Definition at line 68 of file ethernet-defines.h.

#define DONT_WRITEBACK (   x)    (x)

Definition at line 93 of file ethernet-defines.h.

#define FAU_NUM_PACKET_BUFFERS_TO_FREE   (FAU_TOTAL_TX_TO_CLEAN - sizeof(uint32_t))

Definition at line 101 of file ethernet-defines.h.

#define FAU_TOTAL_TX_TO_CLEAN   (CVMX_FAU_REG_END - sizeof(uint32_t))

Definition at line 100 of file ethernet-defines.h.

#define MAX_OUT_QUEUE_DEPTH   1000

Definition at line 98 of file ethernet-defines.h.

#define OCTEON_ETHERNET_VERSION   "1.9"

Definition at line 65 of file ethernet-defines.h.

#define REUSE_SKBUFFS_WITHOUT_FREE   1

Definition at line 75 of file ethernet-defines.h.

#define TOTAL_NUMBER_OF_PORTS   (CVMX_PIP_NUM_INPUT_PORTS+1)

Definition at line 103 of file ethernet-defines.h.

#define USE_10MBPS_PREAMBLE_WORKAROUND   1

Definition at line 88 of file ethernet-defines.h.

#define USE_ASYNC_IOBDMA   (CONFIG_CAVIUM_OCTEON_CVMSEG_SIZE > 0)

Definition at line 82 of file ethernet-defines.h.

#define USE_HW_TCPUDP_CHECKSUM   1

Definition at line 78 of file ethernet-defines.h.

#define USE_RED   1

Definition at line 81 of file ethernet-defines.h.

#define USE_SKBUFFS_IN_HW   1

Definition at line 71 of file ethernet-defines.h.