Go to the documentation of this file.
59 #ifndef __ETHERNET_DEFINES_H__
60 #define __ETHERNET_DEFINES_H__
65 #define OCTEON_ETHERNET_VERSION "1.9"
67 #ifndef CONFIG_CAVIUM_RESERVE32
68 #define CONFIG_CAVIUM_RESERVE32 0
71 #define USE_SKBUFFS_IN_HW 1
72 #ifdef CONFIG_NETFILTER
73 #define REUSE_SKBUFFS_WITHOUT_FREE 0
75 #define REUSE_SKBUFFS_WITHOUT_FREE 1
78 #define USE_HW_TCPUDP_CHECKSUM 1
82 #define USE_ASYNC_IOBDMA (CONFIG_CAVIUM_OCTEON_CVMSEG_SIZE > 0)
88 #define USE_10MBPS_PREAMBLE_WORKAROUND 1
93 #define DONT_WRITEBACK(x) (x)
98 #define MAX_OUT_QUEUE_DEPTH 1000
100 #define FAU_TOTAL_TX_TO_CLEAN (CVMX_FAU_REG_END - sizeof(uint32_t))
101 #define FAU_NUM_PACKET_BUFFERS_TO_FREE (FAU_TOTAL_TX_TO_CLEAN - sizeof(uint32_t))
103 #define TOTAL_NUMBER_OF_PORTS (CVMX_PIP_NUM_INPUT_PORTS+1)