Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Macros | Enumerations
nes_hw.h File Reference
#include <linux/inet_lro.h>

Go to the source code of this file.

Data Structures

struct  nes_init_values
 
struct  nes_pci_regs
 
struct  nes_hw_nic_qp_context
 
struct  nes_hw_nic_sq_wqe
 
struct  nes_hw_nic_rq_wqe
 
struct  nes_hw_nic_cqe
 
struct  nes_hw_cqp_qp_context
 
struct  nes_hw_cqp_wqe
 
struct  nes_hw_qp_wqe
 
struct  nes_hw_cqe
 
struct  nes_hw_ceqe
 
struct  nes_hw_aeqe
 
struct  nes_cqp_request
 
struct  nes_hw_cqp
 
struct  nes_first_frag
 
struct  nes_hw_nic
 
struct  nes_hw_nic_cq
 
struct  nes_hw_qp
 
struct  nes_hw_cq
 
struct  nes_hw_ceq
 
struct  nes_hw_aeq
 
struct  nic_qp_map
 
struct  nes_arp_entry
 
struct  nes_hw_tune_timer
 
struct  nes_adapter
 
struct  nes_pbl
 
struct  nes_fast_mr_wqe_pbl
 
struct  nes_ib_fast_reg_page_list
 
struct  nes_listener
 
struct  nes_vnic
 
struct  nes_ib_device
 
struct  nes_terminate_hdr
 

Macros

#define NES_PHY_TYPE_CX4   1
 
#define NES_PHY_TYPE_1G   2
 
#define NES_PHY_TYPE_ARGUS   4
 
#define NES_PHY_TYPE_PUMA_1G   5
 
#define NES_PHY_TYPE_PUMA_10G   6
 
#define NES_PHY_TYPE_GLADIUS   7
 
#define NES_PHY_TYPE_SFP_D   8
 
#define NES_PHY_TYPE_KR   9
 
#define NES_MULTICAST_PF_MAX   8
 
#define NES_A0   3
 
#define NES_ENABLE_PAU   0x07000001
 
#define NES_DISABLE_PAU   0x07000000
 
#define NES_PAU_COUNTER   10
 
#define NES_CQP_OPCODE_MASK   0x3f
 
#define NES_IDX_MAC_TX_CONFIG_ENABLE_PAUSE   1
 
#define NES_IDX_MPP_DEBUG_PORT_DISABLE_PAUSE   (1 << 17)
 
#define NES_CQP_OP_LOGICAL_PORT_SHIFT   26
 
#define NES_CQP_OP_IWARP_STATE_SHIFT   28
 
#define NES_CQP_OP_TERMLEN_SHIFT   28
 
#define NES_IWARP_SQ_FMR_WQE_MR_LENGTH_HIGH_MASK   0xFF;
 
#define NES_PKT_TYPE_APBVT_BITS   0xC112
 
#define NES_PKT_TYPE_APBVT_MASK   0xff3e
 
#define NES_PKT_TYPE_PVALID_BITS   0x10000000
 
#define NES_PKT_TYPE_PVALID_MASK   0x30000000
 
#define NES_PKT_TYPE_TCPV4_BITS   0x0110
 
#define NES_PKT_TYPE_TCPV4_MASK   0x3f30
 
#define NES_PKT_TYPE_UDPV4_BITS   0x0210
 
#define NES_PKT_TYPE_UDPV4_MASK   0x3f30
 
#define NES_PKT_TYPE_IPV4_BITS   0x0010
 
#define NES_PKT_TYPE_IPV4_MASK   0x3f30
 
#define NES_PKT_TYPE_OTHER_BITS   0x0000
 
#define NES_PKT_TYPE_OTHER_MASK   0x0030
 
#define NES_NIC_CQE_ERRV_SHIFT   16
 
#define NES_AEQE_IWARP_STATE_SHIFT   20
 
#define NES_AEQE_TCP_STATE_SHIFT   24
 
#define NES_AEQE_Q2_DATA_ETHERNET   (1<<28)
 
#define NES_AEQE_Q2_DATA_MPA   (1<<29)
 
#define NES_EEPROM_READ_REQUEST   (1<<16)
 
#define NES_MAC_ADDR_VALID   (1<<20)
 
#define NES_CQP_SQ_SIZE   128
 
#define NES_CCQ_SIZE   128
 
#define NES_NIC_WQ_SIZE   512
 
#define NES_NIC_CTX_SIZE   ((NES_NIC_CTX_RQ_SIZE_512) | (NES_NIC_CTX_SQ_SIZE_512))
 
#define NES_NIC_BACK_STORE   0x00038000
 
#define NES_FIRST_FRAG_SIZE   128
 
#define NES_CQP_ARP_AEQ_INDEX_MASK   0x000f0000
 
#define NES_CQP_ARP_AEQ_INDEX_SHIFT   16
 
#define NES_CQP_APBVT_ADD   0x00008000
 
#define NES_CQP_APBVT_NIC_SHIFT   16
 
#define NES_ARP_ADD   1
 
#define NES_ARP_DELETE   2
 
#define NES_ARP_RESOLVE   3
 
#define NES_MAC_SW_IDLE   0
 
#define NES_MAC_SW_INTERRUPT   1
 
#define NES_MAC_SW_MH   2
 
#define NES_NIC_FAST_TIMER   96
 
#define NES_NIC_FAST_TIMER_LOW   40
 
#define NES_NIC_FAST_TIMER_HIGH   1000
 
#define DEFAULT_NES_QL_HIGH   256
 
#define DEFAULT_NES_QL_LOW   16
 
#define DEFAULT_NES_QL_TARGET   64
 
#define DEFAULT_JUMBO_NES_QL_LOW   12
 
#define DEFAULT_JUMBO_NES_QL_TARGET   40
 
#define DEFAULT_JUMBO_NES_QL_HIGH   128
 
#define NES_NIC_CQ_DOWNWARD_TREND   16
 
#define NES_PFT_SIZE   48
 
#define NES_MGT_WQ_COUNT   32
 
#define NES_MGT_CTX_SIZE   ((NES_NIC_CTX_RQ_SIZE_32) | (NES_NIC_CTX_SQ_SIZE_32))
 
#define NES_MGT_QP_OFFSET   36
 
#define NES_MGT_QP_COUNT   4
 
#define NES_TIMER_INT_LIMIT   2
 
#define NES_TIMER_INT_LIMIT_DYNAMIC   10
 
#define NES_TIMER_ENABLE_LIMIT   4
 
#define NES_MAX_LINK_INTERRUPTS   128
 
#define NES_MAX_LINK_CHECK   200
 
#define NES_MAX_LRO_DESCRIPTORS   32
 
#define NES_LRO_MAX_AGGR   64
 
#define NES_4K_PBL_CHUNK_SIZE   4096
 
#define NES_EVENT_DELAY   msecs_to_jiffies(100)
 
#define IWARP_OPCODE_WRITE   0
 
#define IWARP_OPCODE_READREQ   1
 
#define IWARP_OPCODE_READRSP   2
 
#define IWARP_OPCODE_SEND   3
 
#define IWARP_OPCODE_SEND_INV   4
 
#define IWARP_OPCODE_SEND_SE   5
 
#define IWARP_OPCODE_SEND_SE_INV   6
 
#define IWARP_OPCODE_TERM   7
 
#define TERM_DDP_LEN_TAGGED   14
 
#define TERM_DDP_LEN_UNTAGGED   18
 
#define TERM_RDMA_LEN   28
 
#define RDMA_OPCODE_MASK   0x0f
 
#define RDMA_READ_REQ_OPCODE   1
 
#define BAD_FRAME_OFFSET   64
 
#define CQE_MAJOR_DRV   0x8000
 
#define NES_LINK_RECHECK_DELAY   msecs_to_jiffies(50)
 
#define NES_LINK_RECHECK_MAX   60
 

Enumerations

enum  pci_regs {
  C2_HISR = 0x0000, C2_DISR = 0x0004, C2_HIMR = 0x0008, C2_DIMR = 0x000C,
  C2_NISR0 = 0x0010, C2_NISR1 = 0x0014, C2_NIMR0 = 0x0018, C2_NIMR1 = 0x001C,
  C2_IDIS = 0x0020, NES_INT_STAT = 0x0000, NES_INT_MASK = 0x0004, NES_INT_PENDING = 0x0008,
  NES_INTF_INT_STAT = 0x000C, NES_INTF_INT_MASK = 0x0010, NES_TIMER_STAT = 0x0014, NES_PERIODIC_CONTROL = 0x0018,
  NES_ONE_SHOT_CONTROL = 0x001C, NES_EEPROM_COMMAND = 0x0020, NES_EEPROM_DATA = 0x0024, NES_FLASH_COMMAND = 0x0028,
  NES_FLASH_DATA = 0x002C, NES_SOFTWARE_RESET = 0x0030, NES_CQ_ACK = 0x0034, NES_WQE_ALLOC = 0x0040,
  NES_CQE_ALLOC = 0x0044, NES_AEQ_ALLOC = 0x0048
}
 
enum  indexed_regs {
  NES_IDX_CREATE_CQP_LOW = 0x0000, NES_IDX_CREATE_CQP_HIGH = 0x0004, NES_IDX_QP_CONTROL = 0x0040, NES_IDX_FLM_CONTROL = 0x0080,
  NES_IDX_INT_CPU_STATUS = 0x00a0, NES_IDX_GPR_TRIGGER = 0x00bc, NES_IDX_GPIO_CONTROL = 0x00f0, NES_IDX_GPIO_DATA = 0x00f4,
  NES_IDX_GPR2 = 0x010c, NES_IDX_TCP_CONFIG0 = 0x01e4, NES_IDX_TCP_TIMER_CONFIG = 0x01ec, NES_IDX_TCP_NOW = 0x01f0,
  NES_IDX_QP_MAX_CFG_SIZES = 0x0200, NES_IDX_QP_CTX_SIZE = 0x0218, NES_IDX_TCP_TIMER_SIZE0 = 0x0238, NES_IDX_TCP_TIMER_SIZE1 = 0x0240,
  NES_IDX_ARP_CACHE_SIZE = 0x0258, NES_IDX_CQ_CTX_SIZE = 0x0260, NES_IDX_MRT_SIZE = 0x0278, NES_IDX_PBL_REGION_SIZE = 0x0280,
  NES_IDX_IRRQ_COUNT = 0x02b0, NES_IDX_RX_WINDOW_BUFFER_PAGE_TABLE_SIZE = 0x02f0, NES_IDX_RX_WINDOW_BUFFER_SIZE = 0x0300, NES_IDX_DST_IP_ADDR = 0x0400,
  NES_IDX_PCIX_DIAG = 0x08e8, NES_IDX_MPP_DEBUG = 0x0a00, NES_IDX_PORT_RX_DISCARDS = 0x0a30, NES_IDX_PORT_TX_DISCARDS = 0x0a34,
  NES_IDX_MPP_LB_DEBUG = 0x0b00, NES_IDX_DENALI_CTL_22 = 0x1058, NES_IDX_MAC_TX_CONTROL = 0x2000, NES_IDX_MAC_TX_CONFIG = 0x2004,
  NES_IDX_MAC_TX_PAUSE_QUANTA = 0x2008, NES_IDX_MAC_RX_CONTROL = 0x200c, NES_IDX_MAC_RX_CONFIG = 0x2010, NES_IDX_MAC_EXACT_MATCH_BOTTOM = 0x201c,
  NES_IDX_MAC_MDIO_CONTROL = 0x2084, NES_IDX_MAC_TX_OCTETS_LOW = 0x2100, NES_IDX_MAC_TX_OCTETS_HIGH = 0x2104, NES_IDX_MAC_TX_FRAMES_LOW = 0x2108,
  NES_IDX_MAC_TX_FRAMES_HIGH = 0x210c, NES_IDX_MAC_TX_PAUSE_FRAMES = 0x2118, NES_IDX_MAC_TX_ERRORS = 0x2138, NES_IDX_MAC_RX_OCTETS_LOW = 0x213c,
  NES_IDX_MAC_RX_OCTETS_HIGH = 0x2140, NES_IDX_MAC_RX_FRAMES_LOW = 0x2144, NES_IDX_MAC_RX_FRAMES_HIGH = 0x2148, NES_IDX_MAC_RX_BC_FRAMES_LOW = 0x214c,
  NES_IDX_MAC_RX_MC_FRAMES_HIGH = 0x2150, NES_IDX_MAC_RX_PAUSE_FRAMES = 0x2154, NES_IDX_MAC_RX_SHORT_FRAMES = 0x2174, NES_IDX_MAC_RX_OVERSIZED_FRAMES = 0x2178,
  NES_IDX_MAC_RX_JABBER_FRAMES = 0x217c, NES_IDX_MAC_RX_CRC_ERR_FRAMES = 0x2180, NES_IDX_MAC_RX_LENGTH_ERR_FRAMES = 0x2184, NES_IDX_MAC_RX_SYMBOL_ERR_FRAMES = 0x2188,
  NES_IDX_MAC_INT_STATUS = 0x21f0, NES_IDX_MAC_INT_MASK = 0x21f4, NES_IDX_PHY_PCS_CONTROL_STATUS0 = 0x2800, NES_IDX_PHY_PCS_CONTROL_STATUS1 = 0x2a00,
  NES_IDX_ETH_SERDES_COMMON_CONTROL0 = 0x2808, NES_IDX_ETH_SERDES_COMMON_CONTROL1 = 0x2a08, NES_IDX_ETH_SERDES_COMMON_STATUS0 = 0x280c, NES_IDX_ETH_SERDES_COMMON_STATUS1 = 0x2a0c,
  NES_IDX_ETH_SERDES_TX_EMP0 = 0x2810, NES_IDX_ETH_SERDES_TX_EMP1 = 0x2a10, NES_IDX_ETH_SERDES_TX_DRIVE0 = 0x2814, NES_IDX_ETH_SERDES_TX_DRIVE1 = 0x2a14,
  NES_IDX_ETH_SERDES_RX_MODE0 = 0x2818, NES_IDX_ETH_SERDES_RX_MODE1 = 0x2a18, NES_IDX_ETH_SERDES_RX_SIGDET0 = 0x281c, NES_IDX_ETH_SERDES_RX_SIGDET1 = 0x2a1c,
  NES_IDX_ETH_SERDES_BYPASS0 = 0x2820, NES_IDX_ETH_SERDES_BYPASS1 = 0x2a20, NES_IDX_ETH_SERDES_LOOPBACK_CONTROL0 = 0x2824, NES_IDX_ETH_SERDES_LOOPBACK_CONTROL1 = 0x2a24,
  NES_IDX_ETH_SERDES_RX_EQ_CONTROL0 = 0x2828, NES_IDX_ETH_SERDES_RX_EQ_CONTROL1 = 0x2a28, NES_IDX_ETH_SERDES_RX_EQ_STATUS0 = 0x282c, NES_IDX_ETH_SERDES_RX_EQ_STATUS1 = 0x2a2c,
  NES_IDX_ETH_SERDES_CDR_RESET0 = 0x2830, NES_IDX_ETH_SERDES_CDR_RESET1 = 0x2a30, NES_IDX_ETH_SERDES_CDR_CONTROL0 = 0x2834, NES_IDX_ETH_SERDES_CDR_CONTROL1 = 0x2a34,
  NES_IDX_ETH_SERDES_TX_HIGHZ_LANE_MODE0 = 0x2838, NES_IDX_ETH_SERDES_TX_HIGHZ_LANE_MODE1 = 0x2a38, NES_IDX_ENDNODE0_NSTAT_RX_DISCARD = 0x3080, NES_IDX_ENDNODE0_NSTAT_RX_OCTETS_LO = 0x3000,
  NES_IDX_ENDNODE0_NSTAT_RX_OCTETS_HI = 0x3004, NES_IDX_ENDNODE0_NSTAT_RX_FRAMES_LO = 0x3008, NES_IDX_ENDNODE0_NSTAT_RX_FRAMES_HI = 0x300c, NES_IDX_ENDNODE0_NSTAT_TX_OCTETS_LO = 0x7000,
  NES_IDX_ENDNODE0_NSTAT_TX_OCTETS_HI = 0x7004, NES_IDX_ENDNODE0_NSTAT_TX_FRAMES_LO = 0x7008, NES_IDX_ENDNODE0_NSTAT_TX_FRAMES_HI = 0x700c, NES_IDX_WQM_CONFIG0 = 0x5000,
  NES_IDX_WQM_CONFIG1 = 0x5004, NES_IDX_CM_CONFIG = 0x5100, NES_IDX_NIC_LOGPORT_TO_PHYPORT = 0x6000, NES_IDX_NIC_PHYPORT_TO_USW = 0x6008,
  NES_IDX_NIC_ACTIVE = 0x6010, NES_IDX_NIC_UNICAST_ALL = 0x6018, NES_IDX_NIC_MULTICAST_ALL = 0x6020, NES_IDX_NIC_MULTICAST_ENABLE = 0x6028,
  NES_IDX_NIC_BROADCAST_ON = 0x6030, NES_IDX_USED_CHUNKS_TX = 0x60b0, NES_IDX_TX_POOL_SIZE = 0x60b8, NES_IDX_QUAD_HASH_TABLE_SIZE = 0x6148,
  NES_IDX_PERFECT_FILTER_LOW = 0x6200, NES_IDX_PERFECT_FILTER_HIGH = 0x6204, NES_IDX_IPV4_TCP_REXMITS = 0x7080, NES_IDX_DEBUG_ERROR_CONTROL_STATUS = 0x913c,
  NES_IDX_DEBUG_ERROR_MASKS0 = 0x9140, NES_IDX_DEBUG_ERROR_MASKS1 = 0x9144, NES_IDX_DEBUG_ERROR_MASKS2 = 0x9148, NES_IDX_DEBUG_ERROR_MASKS3 = 0x914c,
  NES_IDX_DEBUG_ERROR_MASKS4 = 0x9150, NES_IDX_DEBUG_ERROR_MASKS5 = 0x9154
}
 
enum  nes_cqp_opcodes {
  NES_CQP_CREATE_QP = 0x00, NES_CQP_MODIFY_QP = 0x01, NES_CQP_DESTROY_QP = 0x02, NES_CQP_CREATE_CQ = 0x03,
  NES_CQP_MODIFY_CQ = 0x04, NES_CQP_DESTROY_CQ = 0x05, NES_CQP_ALLOCATE_STAG = 0x09, NES_CQP_REGISTER_STAG = 0x0a,
  NES_CQP_QUERY_STAG = 0x0b, NES_CQP_REGISTER_SHARED_STAG = 0x0c, NES_CQP_DEALLOCATE_STAG = 0x0d, NES_CQP_MANAGE_ARP_CACHE = 0x0f,
  NES_CQP_DOWNLOAD_SEGMENT = 0x10, NES_CQP_SUSPEND_QPS = 0x11, NES_CQP_UPLOAD_CONTEXT = 0x13, NES_CQP_CREATE_CEQ = 0x16,
  NES_CQP_DESTROY_CEQ = 0x18, NES_CQP_CREATE_AEQ = 0x19, NES_CQP_DESTROY_AEQ = 0x1b, NES_CQP_LMI_ACCESS = 0x20,
  NES_CQP_FLUSH_WQES = 0x22, NES_CQP_MANAGE_APBVT = 0x23, NES_CQP_MANAGE_QUAD_HASH = 0x25
}
 
enum  nes_cqp_wqe_word_idx {
  NES_CQP_WQE_OPCODE_IDX = 0, NES_CQP_WQE_ID_IDX = 1, NES_CQP_WQE_COMP_CTX_LOW_IDX = 2, NES_CQP_WQE_COMP_CTX_HIGH_IDX = 3,
  NES_CQP_WQE_COMP_SCRATCH_LOW_IDX = 4, NES_CQP_WQE_COMP_SCRATCH_HIGH_IDX = 5
}
 
enum  nes_cqp_wqe_word_download_idx { NES_CQP_WQE_DL_OPCODE_IDX = 0, NES_CQP_WQE_DL_COMP_CTX_LOW_IDX = 1, NES_CQP_WQE_DL_COMP_CTX_HIGH_IDX = 2, NES_CQP_WQE_DL_LENGTH_0_TOTAL_IDX = 3 }
 
enum  nes_cqp_cq_wqeword_idx {
  NES_CQP_CQ_WQE_PBL_LOW_IDX = 6, NES_CQP_CQ_WQE_PBL_HIGH_IDX = 7, NES_CQP_CQ_WQE_CQ_CONTEXT_LOW_IDX = 8, NES_CQP_CQ_WQE_CQ_CONTEXT_HIGH_IDX = 9,
  NES_CQP_CQ_WQE_DOORBELL_INDEX_HIGH_IDX = 10
}
 
enum  nes_cqp_stag_wqeword_idx {
  NES_CQP_STAG_WQE_PBL_BLK_COUNT_IDX = 1, NES_CQP_STAG_WQE_LEN_HIGH_PD_IDX = 6, NES_CQP_STAG_WQE_LEN_LOW_IDX = 7, NES_CQP_STAG_WQE_STAG_IDX = 8,
  NES_CQP_STAG_WQE_VA_LOW_IDX = 10, NES_CQP_STAG_WQE_VA_HIGH_IDX = 11, NES_CQP_STAG_WQE_PA_LOW_IDX = 12, NES_CQP_STAG_WQE_PA_HIGH_IDX = 13,
  NES_CQP_STAG_WQE_PBL_LEN_IDX = 14
}
 
enum  nes_cqp_qp_bits {
  NES_CQP_QP_ARP_VALID = (1<<8), NES_CQP_QP_WINBUF_VALID = (1<<9), NES_CQP_QP_CONTEXT_VALID = (1<<10), NES_CQP_QP_ORD_VALID = (1<<11),
  NES_CQP_QP_WINBUF_DATAIND_EN = (1<<12), NES_CQP_QP_VIRT_WQS = (1<<13), NES_CQP_QP_DEL_HTE = (1<<14), NES_CQP_QP_CQS_VALID = (1<<15),
  NES_CQP_QP_TYPE_TSA = 0, NES_CQP_QP_TYPE_IWARP = (1<<16), NES_CQP_QP_TYPE_CQP = (4<<16), NES_CQP_QP_TYPE_NIC = (5<<16),
  NES_CQP_QP_MSS_CHG = (1<<20), NES_CQP_QP_STATIC_RESOURCES = (1<<21), NES_CQP_QP_IGNORE_MW_BOUND = (1<<22), NES_CQP_QP_VWQ_USE_LMI = (1<<23),
  NES_CQP_QP_IWARP_STATE_IDLE = (1<<NES_CQP_OP_IWARP_STATE_SHIFT), NES_CQP_QP_IWARP_STATE_RTS = (2<<NES_CQP_OP_IWARP_STATE_SHIFT), NES_CQP_QP_IWARP_STATE_CLOSING = (3<<NES_CQP_OP_IWARP_STATE_SHIFT), NES_CQP_QP_IWARP_STATE_TERMINATE = (5<<NES_CQP_OP_IWARP_STATE_SHIFT),
  NES_CQP_QP_IWARP_STATE_ERROR = (6<<NES_CQP_OP_IWARP_STATE_SHIFT), NES_CQP_QP_IWARP_STATE_MASK = (7<<NES_CQP_OP_IWARP_STATE_SHIFT), NES_CQP_QP_TERM_DONT_SEND_FIN = (1<<24), NES_CQP_QP_TERM_DONT_SEND_TERM_MSG = (1<<25),
  NES_CQP_QP_RESET = (1<<31)
}
 
enum  nes_cqp_qp_wqe_word_idx {
  NES_CQP_QP_WQE_CONTEXT_LOW_IDX = 6, NES_CQP_QP_WQE_CONTEXT_HIGH_IDX = 7, NES_CQP_QP_WQE_FLUSH_SQ_CODE = 8, NES_CQP_QP_WQE_FLUSH_RQ_CODE = 9,
  NES_CQP_QP_WQE_NEW_MSS_IDX = 15
}
 
enum  nes_nic_ctx_bits { NES_NIC_CTX_RQ_SIZE_32 = (3<<8), NES_NIC_CTX_RQ_SIZE_512 = (3<<8), NES_NIC_CTX_SQ_SIZE_32 = (1<<10), NES_NIC_CTX_SQ_SIZE_512 = (3<<10) }
 
enum  nes_nic_qp_ctx_word_idx {
  NES_NIC_CTX_MISC_IDX = 0, NES_NIC_CTX_SQ_LOW_IDX = 2, NES_NIC_CTX_SQ_HIGH_IDX = 3, NES_NIC_CTX_RQ_LOW_IDX = 4,
  NES_NIC_CTX_RQ_HIGH_IDX = 5
}
 
enum  nes_cqp_cq_bits {
  NES_CQP_CQ_CEQE_MASK = (1<<9), NES_CQP_CQ_CEQ_VALID = (1<<10), NES_CQP_CQ_RESIZE = (1<<11), NES_CQP_CQ_CHK_OVERFLOW = (1<<12),
  NES_CQP_CQ_4KB_CHUNK = (1<<14), NES_CQP_CQ_VIRT = (1<<15)
}
 
enum  nes_cqp_stag_bits {
  NES_CQP_STAG_VA_TO = (1<<9), NES_CQP_STAG_DEALLOC_PBLS = (1<<10), NES_CQP_STAG_PBL_BLK_SIZE = (1<<11), NES_CQP_STAG_MR = (1<<13),
  NES_CQP_STAG_RIGHTS_LOCAL_READ = (1<<16), NES_CQP_STAG_RIGHTS_LOCAL_WRITE = (1<<17), NES_CQP_STAG_RIGHTS_REMOTE_READ = (1<<18), NES_CQP_STAG_RIGHTS_REMOTE_WRITE = (1<<19),
  NES_CQP_STAG_RIGHTS_WINDOW_BIND = (1<<20), NES_CQP_STAG_REM_ACC_EN = (1<<21), NES_CQP_STAG_LEAVE_PENDING = (1<<31)
}
 
enum  nes_cqp_ceq_wqeword_idx { NES_CQP_CEQ_WQE_ELEMENT_COUNT_IDX = 1, NES_CQP_CEQ_WQE_PBL_LOW_IDX = 6, NES_CQP_CEQ_WQE_PBL_HIGH_IDX = 7 }
 
enum  nes_cqp_ceq_bits { NES_CQP_CEQ_4KB_CHUNK = (1<<14), NES_CQP_CEQ_VIRT = (1<<15) }
 
enum  nes_cqp_aeq_wqeword_idx { NES_CQP_AEQ_WQE_ELEMENT_COUNT_IDX = 1, NES_CQP_AEQ_WQE_PBL_LOW_IDX = 6, NES_CQP_AEQ_WQE_PBL_HIGH_IDX = 7 }
 
enum  nes_cqp_aeq_bits { NES_CQP_AEQ_4KB_CHUNK = (1<<14), NES_CQP_AEQ_VIRT = (1<<15) }
 
enum  nes_cqp_lmi_wqeword_idx { NES_CQP_LMI_WQE_LMI_OFFSET_IDX = 1, NES_CQP_LMI_WQE_FRAG_LOW_IDX = 8, NES_CQP_LMI_WQE_FRAG_HIGH_IDX = 9, NES_CQP_LMI_WQE_FRAG_LEN_IDX = 10 }
 
enum  nes_cqp_arp_wqeword_idx { NES_CQP_ARP_WQE_MAC_ADDR_LOW_IDX = 6, NES_CQP_ARP_WQE_MAC_HIGH_IDX = 7, NES_CQP_ARP_WQE_REACHABILITY_MAX_IDX = 1 }
 
enum  nes_cqp_upload_wqeword_idx { NES_CQP_UPLOAD_WQE_CTXT_LOW_IDX = 6, NES_CQP_UPLOAD_WQE_CTXT_HIGH_IDX = 7, NES_CQP_UPLOAD_WQE_HTE_IDX = 8 }
 
enum  nes_cqp_arp_bits { NES_CQP_ARP_VALID = (1<<8), NES_CQP_ARP_PERM = (1<<9) }
 
enum  nes_cqp_flush_bits { NES_CQP_FLUSH_SQ = (1<<30), NES_CQP_FLUSH_RQ = (1<<31), NES_CQP_FLUSH_MAJ_MIN = (1<<28) }
 
enum  nes_cqe_opcode_bits {
  NES_CQE_STAG_VALID = (1<<6), NES_CQE_ERROR = (1<<7), NES_CQE_SQ = (1<<8), NES_CQE_SE = (1<<9),
  NES_CQE_PSH = (1<<29), NES_CQE_FIN = (1<<30), NES_CQE_VALID = (1<<31)
}
 
enum  nes_cqe_word_idx {
  NES_CQE_PAYLOAD_LENGTH_IDX = 0, NES_CQE_COMP_COMP_CTX_LOW_IDX = 2, NES_CQE_COMP_COMP_CTX_HIGH_IDX = 3, NES_CQE_INV_STAG_IDX = 4,
  NES_CQE_QP_ID_IDX = 5, NES_CQE_ERROR_CODE_IDX = 6, NES_CQE_OPCODE_IDX = 7
}
 
enum  nes_ceqe_word_idx { NES_CEQE_CQ_CTX_LOW_IDX = 0, NES_CEQE_CQ_CTX_HIGH_IDX = 1 }
 
enum  nes_ceqe_status_bit { NES_CEQE_VALID = (1<<31) }
 
enum  nes_int_bits {
  NES_INT_CEQ0 = (1<<0), NES_INT_CEQ1 = (1<<1), NES_INT_CEQ2 = (1<<2), NES_INT_CEQ3 = (1<<3),
  NES_INT_CEQ4 = (1<<4), NES_INT_CEQ5 = (1<<5), NES_INT_CEQ6 = (1<<6), NES_INT_CEQ7 = (1<<7),
  NES_INT_CEQ8 = (1<<8), NES_INT_CEQ9 = (1<<9), NES_INT_CEQ10 = (1<<10), NES_INT_CEQ11 = (1<<11),
  NES_INT_CEQ12 = (1<<12), NES_INT_CEQ13 = (1<<13), NES_INT_CEQ14 = (1<<14), NES_INT_CEQ15 = (1<<15),
  NES_INT_AEQ0 = (1<<16), NES_INT_AEQ1 = (1<<17), NES_INT_AEQ2 = (1<<18), NES_INT_AEQ3 = (1<<19),
  NES_INT_AEQ4 = (1<<20), NES_INT_AEQ5 = (1<<21), NES_INT_AEQ6 = (1<<22), NES_INT_AEQ7 = (1<<23),
  NES_INT_MAC0 = (1<<24), NES_INT_MAC1 = (1<<25), NES_INT_MAC2 = (1<<26), NES_INT_MAC3 = (1<<27),
  NES_INT_TSW = (1<<28), NES_INT_TIMER = (1<<29), NES_INT_INTF = (1<<30)
}
 
enum  nes_intf_int_bits {
  NES_INTF_INT_PCIERR = (1<<0), NES_INTF_PERIODIC_TIMER = (1<<2), NES_INTF_ONE_SHOT_TIMER = (1<<3), NES_INTF_INT_CRITERR = (1<<14),
  NES_INTF_INT_AEQ0_OFLOW = (1<<16), NES_INTF_INT_AEQ1_OFLOW = (1<<17), NES_INTF_INT_AEQ2_OFLOW = (1<<18), NES_INTF_INT_AEQ3_OFLOW = (1<<19),
  NES_INTF_INT_AEQ4_OFLOW = (1<<20), NES_INTF_INT_AEQ5_OFLOW = (1<<21), NES_INTF_INT_AEQ6_OFLOW = (1<<22), NES_INTF_INT_AEQ7_OFLOW = (1<<23),
  NES_INTF_INT_AEQ_OFLOW = (0xff<<16)
}
 
enum  nes_mac_int_bits { NES_MAC_INT_LINK_STAT_CHG = (1<<1), NES_MAC_INT_XGMII_EXT = (1<<2), NES_MAC_INT_TX_UNDERFLOW = (1<<6), NES_MAC_INT_TX_ERROR = (1<<7) }
 
enum  nes_cqe_allocate_bits { NES_CQE_ALLOC_INC_SELECT = (1<<28), NES_CQE_ALLOC_NOTIFY_NEXT = (1<<29), NES_CQE_ALLOC_NOTIFY_SE = (1<<30), NES_CQE_ALLOC_RESET = (1<<31) }
 
enum  nes_nic_rq_wqe_word_idx {
  NES_NIC_RQ_WQE_LENGTH_1_0_IDX = 0, NES_NIC_RQ_WQE_LENGTH_3_2_IDX = 1, NES_NIC_RQ_WQE_FRAG0_LOW_IDX = 2, NES_NIC_RQ_WQE_FRAG0_HIGH_IDX = 3,
  NES_NIC_RQ_WQE_FRAG1_LOW_IDX = 4, NES_NIC_RQ_WQE_FRAG1_HIGH_IDX = 5, NES_NIC_RQ_WQE_FRAG2_LOW_IDX = 6, NES_NIC_RQ_WQE_FRAG2_HIGH_IDX = 7,
  NES_NIC_RQ_WQE_FRAG3_LOW_IDX = 8, NES_NIC_RQ_WQE_FRAG3_HIGH_IDX = 9
}
 
enum  nes_nic_sq_wqe_word_idx {
  NES_NIC_SQ_WQE_MISC_IDX = 0, NES_NIC_SQ_WQE_TOTAL_LENGTH_IDX = 1, NES_NIC_SQ_WQE_LSO_INFO_IDX = 2, NES_NIC_SQ_WQE_LENGTH_0_TAG_IDX = 3,
  NES_NIC_SQ_WQE_LENGTH_2_1_IDX = 4, NES_NIC_SQ_WQE_LENGTH_4_3_IDX = 5, NES_NIC_SQ_WQE_FRAG0_LOW_IDX = 6, NES_NIC_SQ_WQE_FRAG0_HIGH_IDX = 7,
  NES_NIC_SQ_WQE_FRAG1_LOW_IDX = 8, NES_NIC_SQ_WQE_FRAG1_HIGH_IDX = 9, NES_NIC_SQ_WQE_FRAG2_LOW_IDX = 10, NES_NIC_SQ_WQE_FRAG2_HIGH_IDX = 11,
  NES_NIC_SQ_WQE_FRAG3_LOW_IDX = 12, NES_NIC_SQ_WQE_FRAG3_HIGH_IDX = 13, NES_NIC_SQ_WQE_FRAG4_LOW_IDX = 14, NES_NIC_SQ_WQE_FRAG4_HIGH_IDX = 15
}
 
enum  nes_iwarp_sq_wqe_word_idx {
  NES_IWARP_SQ_WQE_MISC_IDX = 0, NES_IWARP_SQ_WQE_TOTAL_PAYLOAD_IDX = 1, NES_IWARP_SQ_WQE_COMP_CTX_LOW_IDX = 2, NES_IWARP_SQ_WQE_COMP_CTX_HIGH_IDX = 3,
  NES_IWARP_SQ_WQE_COMP_SCRATCH_LOW_IDX = 4, NES_IWARP_SQ_WQE_COMP_SCRATCH_HIGH_IDX = 5, NES_IWARP_SQ_WQE_INV_STAG_LOW_IDX = 7, NES_IWARP_SQ_WQE_RDMA_TO_LOW_IDX = 8,
  NES_IWARP_SQ_WQE_RDMA_TO_HIGH_IDX = 9, NES_IWARP_SQ_WQE_RDMA_LENGTH_IDX = 10, NES_IWARP_SQ_WQE_RDMA_STAG_IDX = 11, NES_IWARP_SQ_WQE_IMM_DATA_START_IDX = 12,
  NES_IWARP_SQ_WQE_FRAG0_LOW_IDX = 16, NES_IWARP_SQ_WQE_FRAG0_HIGH_IDX = 17, NES_IWARP_SQ_WQE_LENGTH0_IDX = 18, NES_IWARP_SQ_WQE_STAG0_IDX = 19,
  NES_IWARP_SQ_WQE_FRAG1_LOW_IDX = 20, NES_IWARP_SQ_WQE_FRAG1_HIGH_IDX = 21, NES_IWARP_SQ_WQE_LENGTH1_IDX = 22, NES_IWARP_SQ_WQE_STAG1_IDX = 23,
  NES_IWARP_SQ_WQE_FRAG2_LOW_IDX = 24, NES_IWARP_SQ_WQE_FRAG2_HIGH_IDX = 25, NES_IWARP_SQ_WQE_LENGTH2_IDX = 26, NES_IWARP_SQ_WQE_STAG2_IDX = 27,
  NES_IWARP_SQ_WQE_FRAG3_LOW_IDX = 28, NES_IWARP_SQ_WQE_FRAG3_HIGH_IDX = 29, NES_IWARP_SQ_WQE_LENGTH3_IDX = 30, NES_IWARP_SQ_WQE_STAG3_IDX = 31
}
 
enum  nes_iwarp_sq_bind_wqe_word_idx {
  NES_IWARP_SQ_BIND_WQE_MR_IDX = 6, NES_IWARP_SQ_BIND_WQE_MW_IDX = 7, NES_IWARP_SQ_BIND_WQE_LENGTH_LOW_IDX = 8, NES_IWARP_SQ_BIND_WQE_LENGTH_HIGH_IDX = 9,
  NES_IWARP_SQ_BIND_WQE_VA_FBO_LOW_IDX = 10, NES_IWARP_SQ_BIND_WQE_VA_FBO_HIGH_IDX = 11
}
 
enum  nes_iwarp_sq_fmr_wqe_word_idx {
  NES_IWARP_SQ_FMR_WQE_MR_STAG_IDX = 7, NES_IWARP_SQ_FMR_WQE_LENGTH_LOW_IDX = 8, NES_IWARP_SQ_FMR_WQE_LENGTH_HIGH_IDX = 9, NES_IWARP_SQ_FMR_WQE_VA_FBO_LOW_IDX = 10,
  NES_IWARP_SQ_FMR_WQE_VA_FBO_HIGH_IDX = 11, NES_IWARP_SQ_FMR_WQE_PBL_ADDR_LOW_IDX = 12, NES_IWARP_SQ_FMR_WQE_PBL_ADDR_HIGH_IDX = 13, NES_IWARP_SQ_FMR_WQE_PBL_LENGTH_IDX = 14
}
 
enum  nes_iwarp_sq_fmr_opcodes {
  NES_IWARP_SQ_FMR_WQE_ZERO_BASED = (1<<6), NES_IWARP_SQ_FMR_WQE_PAGE_SIZE_4K = (0<<7), NES_IWARP_SQ_FMR_WQE_PAGE_SIZE_2M = (1<<7), NES_IWARP_SQ_FMR_WQE_RIGHTS_ENABLE_LOCAL_READ = (1<<16),
  NES_IWARP_SQ_FMR_WQE_RIGHTS_ENABLE_LOCAL_WRITE = (1<<17), NES_IWARP_SQ_FMR_WQE_RIGHTS_ENABLE_REMOTE_READ = (1<<18), NES_IWARP_SQ_FMR_WQE_RIGHTS_ENABLE_REMOTE_WRITE = (1<<19), NES_IWARP_SQ_FMR_WQE_RIGHTS_ENABLE_WINDOW_BIND = (1<<20)
}
 
enum  nes_iwarp_sq_locinv_wqe_word_idx { NES_IWARP_SQ_LOCINV_WQE_INV_STAG_IDX = 6 }
 
enum  nes_iwarp_rq_wqe_word_idx {
  NES_IWARP_RQ_WQE_TOTAL_PAYLOAD_IDX = 1, NES_IWARP_RQ_WQE_COMP_CTX_LOW_IDX = 2, NES_IWARP_RQ_WQE_COMP_CTX_HIGH_IDX = 3, NES_IWARP_RQ_WQE_COMP_SCRATCH_LOW_IDX = 4,
  NES_IWARP_RQ_WQE_COMP_SCRATCH_HIGH_IDX = 5, NES_IWARP_RQ_WQE_FRAG0_LOW_IDX = 8, NES_IWARP_RQ_WQE_FRAG0_HIGH_IDX = 9, NES_IWARP_RQ_WQE_LENGTH0_IDX = 10,
  NES_IWARP_RQ_WQE_STAG0_IDX = 11, NES_IWARP_RQ_WQE_FRAG1_LOW_IDX = 12, NES_IWARP_RQ_WQE_FRAG1_HIGH_IDX = 13, NES_IWARP_RQ_WQE_LENGTH1_IDX = 14,
  NES_IWARP_RQ_WQE_STAG1_IDX = 15, NES_IWARP_RQ_WQE_FRAG2_LOW_IDX = 16, NES_IWARP_RQ_WQE_FRAG2_HIGH_IDX = 17, NES_IWARP_RQ_WQE_LENGTH2_IDX = 18,
  NES_IWARP_RQ_WQE_STAG2_IDX = 19, NES_IWARP_RQ_WQE_FRAG3_LOW_IDX = 20, NES_IWARP_RQ_WQE_FRAG3_HIGH_IDX = 21, NES_IWARP_RQ_WQE_LENGTH3_IDX = 22,
  NES_IWARP_RQ_WQE_STAG3_IDX = 23
}
 
enum  nes_nic_sq_wqe_bits {
  NES_NIC_SQ_WQE_PHDR_CS_READY = (1<<21), NES_NIC_SQ_WQE_LSO_ENABLE = (1<<22), NES_NIC_SQ_WQE_TAGVALUE_ENABLE = (1<<23), NES_NIC_SQ_WQE_DISABLE_CHKSUM = (1<<30),
  NES_NIC_SQ_WQE_COMPLETION = (1<<31)
}
 
enum  nes_nic_cqe_word_idx { NES_NIC_CQE_ACCQP_ID_IDX = 0, NES_NIC_CQE_HASH_RCVNXT = 1, NES_NIC_CQE_TAG_PKT_TYPE_IDX = 2, NES_NIC_CQE_MISC_IDX = 3 }
 
enum  nes_nic_ev_bits {
  NES_NIC_ERRV_BITS_MODE = (1<<0), NES_NIC_ERRV_BITS_IPV4_CSUM_ERR = (1<<1), NES_NIC_ERRV_BITS_TCPUDP_CSUM_ERR = (1<<2), NES_NIC_ERRV_BITS_WQE_OVERRUN = (1<<3),
  NES_NIC_ERRV_BITS_IPH_ERR = (1<<4)
}
 
enum  nes_nic_cqe_bits {
  NES_NIC_CQE_ERRV_MASK = (0xff<<NES_NIC_CQE_ERRV_SHIFT), NES_NIC_CQE_SQ = (1<<24), NES_NIC_CQE_ACCQP_PORT = (1<<28), NES_NIC_CQE_ACCQP_VALID = (1<<29),
  NES_NIC_CQE_TAG_VALID = (1<<30), NES_NIC_CQE_VALID = (1<<31)
}
 
enum  nes_aeqe_word_idx { NES_AEQE_COMP_CTXT_LOW_IDX = 0, NES_AEQE_COMP_CTXT_HIGH_IDX = 1, NES_AEQE_COMP_QP_CQ_ID_IDX = 2, NES_AEQE_MISC_IDX = 3 }
 
enum  nes_aeqe_bits {
  NES_AEQE_QP = (1<<16), NES_AEQE_CQ = (1<<17), NES_AEQE_SQ = (1<<18), NES_AEQE_INBOUND_RDMA = (1<<19),
  NES_AEQE_IWARP_STATE_MASK = (7<<20), NES_AEQE_TCP_STATE_MASK = (0xf<<24), NES_AEQE_Q2_DATA_WRITTEN = (0x3<<28), NES_AEQE_VALID = (1<<31)
}
 
enum  nes_aeqe_iwarp_state {
  NES_AEQE_IWARP_STATE_NON_EXISTANT = 0, NES_AEQE_IWARP_STATE_IDLE = 1, NES_AEQE_IWARP_STATE_RTS = 2, NES_AEQE_IWARP_STATE_CLOSING = 3,
  NES_AEQE_IWARP_STATE_TERMINATE = 5, NES_AEQE_IWARP_STATE_ERROR = 6
}
 
enum  nes_aeqe_tcp_state {
  NES_AEQE_TCP_STATE_NON_EXISTANT = 0, NES_AEQE_TCP_STATE_CLOSED = 1, NES_AEQE_TCP_STATE_LISTEN = 2, NES_AEQE_TCP_STATE_SYN_SENT = 3,
  NES_AEQE_TCP_STATE_SYN_RCVD = 4, NES_AEQE_TCP_STATE_ESTABLISHED = 5, NES_AEQE_TCP_STATE_CLOSE_WAIT = 6, NES_AEQE_TCP_STATE_FIN_WAIT_1 = 7,
  NES_AEQE_TCP_STATE_CLOSING = 8, NES_AEQE_TCP_STATE_LAST_ACK = 9, NES_AEQE_TCP_STATE_FIN_WAIT_2 = 10, NES_AEQE_TCP_STATE_TIME_WAIT = 11
}
 
enum  nes_aeqe_aeid {
  NES_AEQE_AEID_AMP_UNALLOCATED_STAG = 0x0102, NES_AEQE_AEID_AMP_INVALID_STAG = 0x0103, NES_AEQE_AEID_AMP_BAD_QP = 0x0104, NES_AEQE_AEID_AMP_BAD_PD = 0x0105,
  NES_AEQE_AEID_AMP_BAD_STAG_KEY = 0x0106, NES_AEQE_AEID_AMP_BAD_STAG_INDEX = 0x0107, NES_AEQE_AEID_AMP_BOUNDS_VIOLATION = 0x0108, NES_AEQE_AEID_AMP_RIGHTS_VIOLATION = 0x0109,
  NES_AEQE_AEID_AMP_TO_WRAP = 0x010a, NES_AEQE_AEID_AMP_FASTREG_SHARED = 0x010b, NES_AEQE_AEID_AMP_FASTREG_VALID_STAG = 0x010c, NES_AEQE_AEID_AMP_FASTREG_MW_STAG = 0x010d,
  NES_AEQE_AEID_AMP_FASTREG_INVALID_RIGHTS = 0x010e, NES_AEQE_AEID_AMP_FASTREG_PBL_TABLE_OVERFLOW = 0x010f, NES_AEQE_AEID_AMP_FASTREG_INVALID_LENGTH = 0x0110, NES_AEQE_AEID_AMP_INVALIDATE_SHARED = 0x0111,
  NES_AEQE_AEID_AMP_INVALIDATE_NO_REMOTE_ACCESS_RIGHTS = 0x0112, NES_AEQE_AEID_AMP_INVALIDATE_MR_WITH_BOUND_WINDOWS = 0x0113, NES_AEQE_AEID_AMP_MWBIND_VALID_STAG = 0x0114, NES_AEQE_AEID_AMP_MWBIND_OF_MR_STAG = 0x0115,
  NES_AEQE_AEID_AMP_MWBIND_TO_ZERO_BASED_STAG = 0x0116, NES_AEQE_AEID_AMP_MWBIND_TO_MW_STAG = 0x0117, NES_AEQE_AEID_AMP_MWBIND_INVALID_RIGHTS = 0x0118, NES_AEQE_AEID_AMP_MWBIND_INVALID_BOUNDS = 0x0119,
  NES_AEQE_AEID_AMP_MWBIND_TO_INVALID_PARENT = 0x011a, NES_AEQE_AEID_AMP_MWBIND_BIND_DISABLED = 0x011b, NES_AEQE_AEID_BAD_CLOSE = 0x0201, NES_AEQE_AEID_RDMAP_ROE_BAD_LLP_CLOSE = 0x0202,
  NES_AEQE_AEID_CQ_OPERATION_ERROR = 0x0203, NES_AEQE_AEID_PRIV_OPERATION_DENIED = 0x0204, NES_AEQE_AEID_RDMA_READ_WHILE_ORD_ZERO = 0x0205, NES_AEQE_AEID_STAG_ZERO_INVALID = 0x0206,
  NES_AEQE_AEID_DDP_INVALID_MSN_GAP_IN_MSN = 0x0301, NES_AEQE_AEID_DDP_INVALID_MSN_RANGE_IS_NOT_VALID = 0x0302, NES_AEQE_AEID_DDP_UBE_DDP_MESSAGE_TOO_LONG_FOR_AVAILABLE_BUFFER = 0x0303, NES_AEQE_AEID_DDP_UBE_INVALID_DDP_VERSION = 0x0304,
  NES_AEQE_AEID_DDP_UBE_INVALID_MO = 0x0305, NES_AEQE_AEID_DDP_UBE_INVALID_MSN_NO_BUFFER_AVAILABLE = 0x0306, NES_AEQE_AEID_DDP_UBE_INVALID_QN = 0x0307, NES_AEQE_AEID_DDP_NO_L_BIT = 0x0308,
  NES_AEQE_AEID_RDMAP_ROE_INVALID_RDMAP_VERSION = 0x0311, NES_AEQE_AEID_RDMAP_ROE_UNEXPECTED_OPCODE = 0x0312, NES_AEQE_AEID_ROE_INVALID_RDMA_READ_REQUEST = 0x0313, NES_AEQE_AEID_ROE_INVALID_RDMA_WRITE_OR_READ_RESP = 0x0314,
  NES_AEQE_AEID_INVALID_ARP_ENTRY = 0x0401, NES_AEQE_AEID_INVALID_TCP_OPTION_RCVD = 0x0402, NES_AEQE_AEID_STALE_ARP_ENTRY = 0x0403, NES_AEQE_AEID_LLP_CLOSE_COMPLETE = 0x0501,
  NES_AEQE_AEID_LLP_CONNECTION_RESET = 0x0502, NES_AEQE_AEID_LLP_FIN_RECEIVED = 0x0503, NES_AEQE_AEID_LLP_RECEIVED_MARKER_AND_LENGTH_FIELDS_DONT_MATCH = 0x0504, NES_AEQE_AEID_LLP_RECEIVED_MPA_CRC_ERROR = 0x0505,
  NES_AEQE_AEID_LLP_SEGMENT_TOO_LARGE = 0x0506, NES_AEQE_AEID_LLP_SEGMENT_TOO_SMALL = 0x0507, NES_AEQE_AEID_LLP_SYN_RECEIVED = 0x0508, NES_AEQE_AEID_LLP_TERMINATE_RECEIVED = 0x0509,
  NES_AEQE_AEID_LLP_TOO_MANY_RETRIES = 0x050a, NES_AEQE_AEID_LLP_TOO_MANY_KEEPALIVE_RETRIES = 0x050b, NES_AEQE_AEID_RESET_SENT = 0x0601, NES_AEQE_AEID_TERMINATE_SENT = 0x0602,
  NES_AEQE_AEID_DDP_LCE_LOCAL_CATASTROPHIC = 0x0700
}
 
enum  nes_iwarp_sq_opcodes {
  NES_IWARP_SQ_WQE_WRPDU = (1<<15), NES_IWARP_SQ_WQE_PSH = (1<<21), NES_IWARP_SQ_WQE_STREAMING = (1<<23), NES_IWARP_SQ_WQE_IMM_DATA = (1<<28),
  NES_IWARP_SQ_WQE_READ_FENCE = (1<<29), NES_IWARP_SQ_WQE_LOCAL_FENCE = (1<<30), NES_IWARP_SQ_WQE_SIGNALED_COMPL = (1<<31)
}
 
enum  nes_iwarp_sq_wqe_bits {
  NES_IWARP_SQ_OP_RDMAW = 0, NES_IWARP_SQ_OP_RDMAR = 1, NES_IWARP_SQ_OP_SEND = 3, NES_IWARP_SQ_OP_SENDINV = 4,
  NES_IWARP_SQ_OP_SENDSE = 5, NES_IWARP_SQ_OP_SENDSEINV = 6, NES_IWARP_SQ_OP_BIND = 8, NES_IWARP_SQ_OP_FAST_REG = 9,
  NES_IWARP_SQ_OP_LOCINV = 10, NES_IWARP_SQ_OP_RDMAR_LOCINV = 11, NES_IWARP_SQ_OP_NOP = 12
}
 
enum  nes_iwarp_cqe_major_code { NES_IWARP_CQE_MAJOR_FLUSH = 1, NES_IWARP_CQE_MAJOR_DRV = 0x8000 }
 
enum  nes_iwarp_cqe_minor_code { NES_IWARP_CQE_MINOR_FLUSH = 1 }
 
enum  nes_hdrct_flags { DDP_LEN_FLAG = 0x80, DDP_HDR_FLAG = 0x40, RDMA_HDR_FLAG = 0x20 }
 
enum  nes_term_layers { LAYER_RDMA = 0, LAYER_DDP = 1, LAYER_MPA = 2 }
 
enum  nes_term_error_types {
  RDMAP_CATASTROPHIC = 0, RDMAP_REMOTE_PROT = 1, RDMAP_REMOTE_OP = 2, DDP_CATASTROPHIC = 0,
  DDP_TAGGED_BUFFER = 1, DDP_UNTAGGED_BUFFER = 2, DDP_LLP = 3
}
 
enum  nes_term_rdma_errors {
  RDMAP_INV_STAG = 0x00, RDMAP_INV_BOUNDS = 0x01, RDMAP_ACCESS = 0x02, RDMAP_UNASSOC_STAG = 0x03,
  RDMAP_TO_WRAP = 0x04, RDMAP_INV_RDMAP_VER = 0x05, RDMAP_UNEXPECTED_OP = 0x06, RDMAP_CATASTROPHIC_LOCAL = 0x07,
  RDMAP_CATASTROPHIC_GLOBAL = 0x08, RDMAP_CANT_INV_STAG = 0x09, RDMAP_UNSPECIFIED = 0xff
}
 
enum  nes_term_ddp_errors {
  DDP_CATASTROPHIC_LOCAL = 0x00, DDP_TAGGED_INV_STAG = 0x00, DDP_TAGGED_BOUNDS = 0x01, DDP_TAGGED_UNASSOC_STAG = 0x02,
  DDP_TAGGED_TO_WRAP = 0x03, DDP_TAGGED_INV_DDP_VER = 0x04, DDP_UNTAGGED_INV_QN = 0x01, DDP_UNTAGGED_INV_MSN_NO_BUF = 0x02,
  DDP_UNTAGGED_INV_MSN_RANGE = 0x03, DDP_UNTAGGED_INV_MO = 0x04, DDP_UNTAGGED_INV_TOO_LONG = 0x05, DDP_UNTAGGED_INV_DDP_VER = 0x06
}
 
enum  nes_term_mpa_errors { MPA_CLOSED = 0x01, MPA_CRC = 0x02, MPA_MARKER = 0x03, MPA_REQ_RSP = 0x04 }
 

Macro Definition Documentation

#define BAD_FRAME_OFFSET   64

Definition at line 1385 of file nes_hw.h.

#define CQE_MAJOR_DRV   0x8000

Definition at line 1386 of file nes_hw.h.

#define DEFAULT_JUMBO_NES_QL_HIGH   128

Definition at line 1023 of file nes_hw.h.

#define DEFAULT_JUMBO_NES_QL_LOW   12

Definition at line 1021 of file nes_hw.h.

#define DEFAULT_JUMBO_NES_QL_TARGET   40

Definition at line 1022 of file nes_hw.h.

#define DEFAULT_NES_QL_HIGH   256

Definition at line 1018 of file nes_hw.h.

#define DEFAULT_NES_QL_LOW   16

Definition at line 1019 of file nes_hw.h.

#define DEFAULT_NES_QL_TARGET   64

Definition at line 1020 of file nes_hw.h.

#define IWARP_OPCODE_READREQ   1

Definition at line 1371 of file nes_hw.h.

#define IWARP_OPCODE_READRSP   2

Definition at line 1372 of file nes_hw.h.

#define IWARP_OPCODE_SEND   3

Definition at line 1373 of file nes_hw.h.

#define IWARP_OPCODE_SEND_INV   4

Definition at line 1374 of file nes_hw.h.

#define IWARP_OPCODE_SEND_SE   5

Definition at line 1375 of file nes_hw.h.

#define IWARP_OPCODE_SEND_SE_INV   6

Definition at line 1376 of file nes_hw.h.

#define IWARP_OPCODE_TERM   7

Definition at line 1377 of file nes_hw.h.

#define IWARP_OPCODE_WRITE   0

Definition at line 1370 of file nes_hw.h.

#define NES_4K_PBL_CHUNK_SIZE   4096

Definition at line 1196 of file nes_hw.h.

#define NES_A0   3

Definition at line 48 of file nes_hw.h.

#define NES_AEQE_IWARP_STATE_SHIFT   20

Definition at line 679 of file nes_hw.h.

#define NES_AEQE_Q2_DATA_ETHERNET   (1<<28)

Definition at line 681 of file nes_hw.h.

#define NES_AEQE_Q2_DATA_MPA   (1<<29)

Definition at line 682 of file nes_hw.h.

#define NES_AEQE_TCP_STATE_SHIFT   24

Definition at line 680 of file nes_hw.h.

#define NES_ARP_ADD   1

Definition at line 1002 of file nes_hw.h.

#define NES_ARP_DELETE   2

Definition at line 1003 of file nes_hw.h.

#define NES_ARP_RESOLVE   3

Definition at line 1004 of file nes_hw.h.

#define NES_CCQ_SIZE   128

Definition at line 830 of file nes_hw.h.

#define NES_CQP_APBVT_ADD   0x00008000

Definition at line 999 of file nes_hw.h.

#define NES_CQP_APBVT_NIC_SHIFT   16

Definition at line 1000 of file nes_hw.h.

#define NES_CQP_ARP_AEQ_INDEX_MASK   0x000f0000

Definition at line 996 of file nes_hw.h.

#define NES_CQP_ARP_AEQ_INDEX_SHIFT   16

Definition at line 997 of file nes_hw.h.

#define NES_CQP_OP_IWARP_STATE_SHIFT   28

Definition at line 263 of file nes_hw.h.

#define NES_CQP_OP_LOGICAL_PORT_SHIFT   26

Definition at line 262 of file nes_hw.h.

#define NES_CQP_OP_TERMLEN_SHIFT   28

Definition at line 264 of file nes_hw.h.

#define NES_CQP_OPCODE_MASK   0x3f

Definition at line 53 of file nes_hw.h.

#define NES_CQP_SQ_SIZE   128

Definition at line 829 of file nes_hw.h.

#define NES_DISABLE_PAU   0x07000000

Definition at line 51 of file nes_hw.h.

#define NES_EEPROM_READ_REQUEST   (1<<16)

Definition at line 805 of file nes_hw.h.

#define NES_ENABLE_PAU   0x07000001

Definition at line 50 of file nes_hw.h.

#define NES_EVENT_DELAY   msecs_to_jiffies(100)

Definition at line 1221 of file nes_hw.h.

#define NES_FIRST_FRAG_SIZE   128

Definition at line 906 of file nes_hw.h.

#define NES_IDX_MAC_TX_CONFIG_ENABLE_PAUSE   1

Definition at line 196 of file nes_hw.h.

#define NES_IDX_MPP_DEBUG_PORT_DISABLE_PAUSE   (1 << 17)

Definition at line 197 of file nes_hw.h.

#define NES_IWARP_SQ_FMR_WQE_MR_LENGTH_HIGH_MASK   0xFF;

Definition at line 580 of file nes_hw.h.

#define NES_LINK_RECHECK_DELAY   msecs_to_jiffies(50)

Definition at line 1389 of file nes_hw.h.

#define NES_LINK_RECHECK_MAX   60

Definition at line 1390 of file nes_hw.h.

#define NES_LRO_MAX_AGGR   64

Definition at line 1053 of file nes_hw.h.

#define NES_MAC_ADDR_VALID   (1<<20)

Definition at line 806 of file nes_hw.h.

#define NES_MAC_SW_IDLE   0

Definition at line 1006 of file nes_hw.h.

#define NES_MAC_SW_INTERRUPT   1

Definition at line 1007 of file nes_hw.h.

#define NES_MAC_SW_MH   2

Definition at line 1008 of file nes_hw.h.

#define NES_MAX_LINK_CHECK   200

Definition at line 1051 of file nes_hw.h.

#define NES_MAX_LINK_INTERRUPTS   128

Definition at line 1050 of file nes_hw.h.

#define NES_MAX_LRO_DESCRIPTORS   32

Definition at line 1052 of file nes_hw.h.

#define NES_MGT_CTX_SIZE   ((NES_NIC_CTX_RQ_SIZE_32) | (NES_NIC_CTX_SQ_SIZE_32))

Definition at line 1028 of file nes_hw.h.

#define NES_MGT_QP_COUNT   4

Definition at line 1030 of file nes_hw.h.

#define NES_MGT_QP_OFFSET   36

Definition at line 1029 of file nes_hw.h.

#define NES_MGT_WQ_COUNT   32

Definition at line 1027 of file nes_hw.h.

#define NES_MULTICAST_PF_MAX   8

Definition at line 47 of file nes_hw.h.

#define NES_NIC_BACK_STORE   0x00038000

Definition at line 833 of file nes_hw.h.

#define NES_NIC_CQ_DOWNWARD_TREND   16

Definition at line 1024 of file nes_hw.h.

#define NES_NIC_CQE_ERRV_SHIFT   16

Definition at line 643 of file nes_hw.h.

#define NES_NIC_CTX_SIZE   ((NES_NIC_CTX_RQ_SIZE_512) | (NES_NIC_CTX_SQ_SIZE_512))

Definition at line 832 of file nes_hw.h.

#define NES_NIC_FAST_TIMER   96

Definition at line 1015 of file nes_hw.h.

#define NES_NIC_FAST_TIMER_HIGH   1000

Definition at line 1017 of file nes_hw.h.

#define NES_NIC_FAST_TIMER_LOW   40

Definition at line 1016 of file nes_hw.h.

#define NES_NIC_WQ_SIZE   512

Definition at line 831 of file nes_hw.h.

#define NES_PAU_COUNTER   10

Definition at line 52 of file nes_hw.h.

#define NES_PFT_SIZE   48

Definition at line 1025 of file nes_hw.h.

#define NES_PHY_TYPE_1G   2

Definition at line 39 of file nes_hw.h.

#define NES_PHY_TYPE_ARGUS   4

Definition at line 40 of file nes_hw.h.

#define NES_PHY_TYPE_CX4   1

Definition at line 38 of file nes_hw.h.

#define NES_PHY_TYPE_GLADIUS   7

Definition at line 43 of file nes_hw.h.

#define NES_PHY_TYPE_KR   9

Definition at line 45 of file nes_hw.h.

#define NES_PHY_TYPE_PUMA_10G   6

Definition at line 42 of file nes_hw.h.

#define NES_PHY_TYPE_PUMA_1G   5

Definition at line 41 of file nes_hw.h.

#define NES_PHY_TYPE_SFP_D   8

Definition at line 44 of file nes_hw.h.

#define NES_PKT_TYPE_APBVT_BITS   0xC112

Definition at line 625 of file nes_hw.h.

#define NES_PKT_TYPE_APBVT_MASK   0xff3e

Definition at line 626 of file nes_hw.h.

#define NES_PKT_TYPE_IPV4_BITS   0x0010

Definition at line 637 of file nes_hw.h.

#define NES_PKT_TYPE_IPV4_MASK   0x3f30

Definition at line 638 of file nes_hw.h.

#define NES_PKT_TYPE_OTHER_BITS   0x0000

Definition at line 640 of file nes_hw.h.

#define NES_PKT_TYPE_OTHER_MASK   0x0030

Definition at line 641 of file nes_hw.h.

#define NES_PKT_TYPE_PVALID_BITS   0x10000000

Definition at line 628 of file nes_hw.h.

#define NES_PKT_TYPE_PVALID_MASK   0x30000000

Definition at line 629 of file nes_hw.h.

#define NES_PKT_TYPE_TCPV4_BITS   0x0110

Definition at line 631 of file nes_hw.h.

#define NES_PKT_TYPE_TCPV4_MASK   0x3f30

Definition at line 632 of file nes_hw.h.

#define NES_PKT_TYPE_UDPV4_BITS   0x0210

Definition at line 634 of file nes_hw.h.

#define NES_PKT_TYPE_UDPV4_MASK   0x3f30

Definition at line 635 of file nes_hw.h.

#define NES_TIMER_ENABLE_LIMIT   4

Definition at line 1049 of file nes_hw.h.

#define NES_TIMER_INT_LIMIT   2

Definition at line 1047 of file nes_hw.h.

#define NES_TIMER_INT_LIMIT_DYNAMIC   10

Definition at line 1048 of file nes_hw.h.

#define RDMA_OPCODE_MASK   0x0f

Definition at line 1383 of file nes_hw.h.

#define RDMA_READ_REQ_OPCODE   1

Definition at line 1384 of file nes_hw.h.

#define TERM_DDP_LEN_TAGGED   14

Definition at line 1380 of file nes_hw.h.

#define TERM_DDP_LEN_UNTAGGED   18

Definition at line 1381 of file nes_hw.h.

#define TERM_RDMA_LEN   28

Definition at line 1382 of file nes_hw.h.

Enumeration Type Documentation

Enumerator:
NES_IDX_CREATE_CQP_LOW 
NES_IDX_CREATE_CQP_HIGH 
NES_IDX_QP_CONTROL 
NES_IDX_FLM_CONTROL 
NES_IDX_INT_CPU_STATUS 
NES_IDX_GPR_TRIGGER 
NES_IDX_GPIO_CONTROL 
NES_IDX_GPIO_DATA 
NES_IDX_GPR2 
NES_IDX_TCP_CONFIG0 
NES_IDX_TCP_TIMER_CONFIG 
NES_IDX_TCP_NOW 
NES_IDX_QP_MAX_CFG_SIZES 
NES_IDX_QP_CTX_SIZE 
NES_IDX_TCP_TIMER_SIZE0 
NES_IDX_TCP_TIMER_SIZE1 
NES_IDX_ARP_CACHE_SIZE 
NES_IDX_CQ_CTX_SIZE 
NES_IDX_MRT_SIZE 
NES_IDX_PBL_REGION_SIZE 
NES_IDX_IRRQ_COUNT 
NES_IDX_RX_WINDOW_BUFFER_PAGE_TABLE_SIZE 
NES_IDX_RX_WINDOW_BUFFER_SIZE 
NES_IDX_DST_IP_ADDR 
NES_IDX_PCIX_DIAG 
NES_IDX_MPP_DEBUG 
NES_IDX_PORT_RX_DISCARDS 
NES_IDX_PORT_TX_DISCARDS 
NES_IDX_MPP_LB_DEBUG 
NES_IDX_DENALI_CTL_22 
NES_IDX_MAC_TX_CONTROL 
NES_IDX_MAC_TX_CONFIG 
NES_IDX_MAC_TX_PAUSE_QUANTA 
NES_IDX_MAC_RX_CONTROL 
NES_IDX_MAC_RX_CONFIG 
NES_IDX_MAC_EXACT_MATCH_BOTTOM 
NES_IDX_MAC_MDIO_CONTROL 
NES_IDX_MAC_TX_OCTETS_LOW 
NES_IDX_MAC_TX_OCTETS_HIGH 
NES_IDX_MAC_TX_FRAMES_LOW 
NES_IDX_MAC_TX_FRAMES_HIGH 
NES_IDX_MAC_TX_PAUSE_FRAMES 
NES_IDX_MAC_TX_ERRORS 
NES_IDX_MAC_RX_OCTETS_LOW 
NES_IDX_MAC_RX_OCTETS_HIGH 
NES_IDX_MAC_RX_FRAMES_LOW 
NES_IDX_MAC_RX_FRAMES_HIGH 
NES_IDX_MAC_RX_BC_FRAMES_LOW 
NES_IDX_MAC_RX_MC_FRAMES_HIGH 
NES_IDX_MAC_RX_PAUSE_FRAMES 
NES_IDX_MAC_RX_SHORT_FRAMES 
NES_IDX_MAC_RX_OVERSIZED_FRAMES 
NES_IDX_MAC_RX_JABBER_FRAMES 
NES_IDX_MAC_RX_CRC_ERR_FRAMES 
NES_IDX_MAC_RX_LENGTH_ERR_FRAMES 
NES_IDX_MAC_RX_SYMBOL_ERR_FRAMES 
NES_IDX_MAC_INT_STATUS 
NES_IDX_MAC_INT_MASK 
NES_IDX_PHY_PCS_CONTROL_STATUS0 
NES_IDX_PHY_PCS_CONTROL_STATUS1 
NES_IDX_ETH_SERDES_COMMON_CONTROL0 
NES_IDX_ETH_SERDES_COMMON_CONTROL1 
NES_IDX_ETH_SERDES_COMMON_STATUS0 
NES_IDX_ETH_SERDES_COMMON_STATUS1 
NES_IDX_ETH_SERDES_TX_EMP0 
NES_IDX_ETH_SERDES_TX_EMP1 
NES_IDX_ETH_SERDES_TX_DRIVE0 
NES_IDX_ETH_SERDES_TX_DRIVE1 
NES_IDX_ETH_SERDES_RX_MODE0 
NES_IDX_ETH_SERDES_RX_MODE1 
NES_IDX_ETH_SERDES_RX_SIGDET0 
NES_IDX_ETH_SERDES_RX_SIGDET1 
NES_IDX_ETH_SERDES_BYPASS0 
NES_IDX_ETH_SERDES_BYPASS1 
NES_IDX_ETH_SERDES_LOOPBACK_CONTROL0 
NES_IDX_ETH_SERDES_LOOPBACK_CONTROL1 
NES_IDX_ETH_SERDES_RX_EQ_CONTROL0 
NES_IDX_ETH_SERDES_RX_EQ_CONTROL1 
NES_IDX_ETH_SERDES_RX_EQ_STATUS0 
NES_IDX_ETH_SERDES_RX_EQ_STATUS1 
NES_IDX_ETH_SERDES_CDR_RESET0 
NES_IDX_ETH_SERDES_CDR_RESET1 
NES_IDX_ETH_SERDES_CDR_CONTROL0 
NES_IDX_ETH_SERDES_CDR_CONTROL1 
NES_IDX_ETH_SERDES_TX_HIGHZ_LANE_MODE0 
NES_IDX_ETH_SERDES_TX_HIGHZ_LANE_MODE1 
NES_IDX_ENDNODE0_NSTAT_RX_DISCARD 
NES_IDX_ENDNODE0_NSTAT_RX_OCTETS_LO 
NES_IDX_ENDNODE0_NSTAT_RX_OCTETS_HI 
NES_IDX_ENDNODE0_NSTAT_RX_FRAMES_LO 
NES_IDX_ENDNODE0_NSTAT_RX_FRAMES_HI 
NES_IDX_ENDNODE0_NSTAT_TX_OCTETS_LO 
NES_IDX_ENDNODE0_NSTAT_TX_OCTETS_HI 
NES_IDX_ENDNODE0_NSTAT_TX_FRAMES_LO 
NES_IDX_ENDNODE0_NSTAT_TX_FRAMES_HI 
NES_IDX_WQM_CONFIG0 
NES_IDX_WQM_CONFIG1 
NES_IDX_CM_CONFIG 
NES_IDX_NIC_LOGPORT_TO_PHYPORT 
NES_IDX_NIC_PHYPORT_TO_USW 
NES_IDX_NIC_ACTIVE 
NES_IDX_NIC_UNICAST_ALL 
NES_IDX_NIC_MULTICAST_ALL 
NES_IDX_NIC_MULTICAST_ENABLE 
NES_IDX_NIC_BROADCAST_ON 
NES_IDX_USED_CHUNKS_TX 
NES_IDX_TX_POOL_SIZE 
NES_IDX_QUAD_HASH_TABLE_SIZE 
NES_IDX_PERFECT_FILTER_LOW 
NES_IDX_PERFECT_FILTER_HIGH 
NES_IDX_IPV4_TCP_REXMITS 
NES_IDX_DEBUG_ERROR_CONTROL_STATUS 
NES_IDX_DEBUG_ERROR_MASKS0 
NES_IDX_DEBUG_ERROR_MASKS1 
NES_IDX_DEBUG_ERROR_MASKS2 
NES_IDX_DEBUG_ERROR_MASKS3 
NES_IDX_DEBUG_ERROR_MASKS4 
NES_IDX_DEBUG_ERROR_MASKS5 

Definition at line 75 of file nes_hw.h.

Enumerator:
NES_AEQE_AEID_AMP_UNALLOCATED_STAG 
NES_AEQE_AEID_AMP_INVALID_STAG 
NES_AEQE_AEID_AMP_BAD_QP 
NES_AEQE_AEID_AMP_BAD_PD 
NES_AEQE_AEID_AMP_BAD_STAG_KEY 
NES_AEQE_AEID_AMP_BAD_STAG_INDEX 
NES_AEQE_AEID_AMP_BOUNDS_VIOLATION 
NES_AEQE_AEID_AMP_RIGHTS_VIOLATION 
NES_AEQE_AEID_AMP_TO_WRAP 
NES_AEQE_AEID_AMP_FASTREG_SHARED 
NES_AEQE_AEID_AMP_FASTREG_VALID_STAG 
NES_AEQE_AEID_AMP_FASTREG_MW_STAG 
NES_AEQE_AEID_AMP_FASTREG_INVALID_RIGHTS 
NES_AEQE_AEID_AMP_FASTREG_PBL_TABLE_OVERFLOW 
NES_AEQE_AEID_AMP_FASTREG_INVALID_LENGTH 
NES_AEQE_AEID_AMP_INVALIDATE_SHARED 
NES_AEQE_AEID_AMP_INVALIDATE_NO_REMOTE_ACCESS_RIGHTS 
NES_AEQE_AEID_AMP_INVALIDATE_MR_WITH_BOUND_WINDOWS 
NES_AEQE_AEID_AMP_MWBIND_VALID_STAG 
NES_AEQE_AEID_AMP_MWBIND_OF_MR_STAG 
NES_AEQE_AEID_AMP_MWBIND_TO_ZERO_BASED_STAG 
NES_AEQE_AEID_AMP_MWBIND_TO_MW_STAG 
NES_AEQE_AEID_AMP_MWBIND_INVALID_RIGHTS 
NES_AEQE_AEID_AMP_MWBIND_INVALID_BOUNDS 
NES_AEQE_AEID_AMP_MWBIND_TO_INVALID_PARENT 
NES_AEQE_AEID_AMP_MWBIND_BIND_DISABLED 
NES_AEQE_AEID_BAD_CLOSE 
NES_AEQE_AEID_RDMAP_ROE_BAD_LLP_CLOSE 
NES_AEQE_AEID_CQ_OPERATION_ERROR 
NES_AEQE_AEID_PRIV_OPERATION_DENIED 
NES_AEQE_AEID_RDMA_READ_WHILE_ORD_ZERO 
NES_AEQE_AEID_STAG_ZERO_INVALID 
NES_AEQE_AEID_DDP_INVALID_MSN_GAP_IN_MSN 
NES_AEQE_AEID_DDP_INVALID_MSN_RANGE_IS_NOT_VALID 
NES_AEQE_AEID_DDP_UBE_DDP_MESSAGE_TOO_LONG_FOR_AVAILABLE_BUFFER 
NES_AEQE_AEID_DDP_UBE_INVALID_DDP_VERSION 
NES_AEQE_AEID_DDP_UBE_INVALID_MO 
NES_AEQE_AEID_DDP_UBE_INVALID_MSN_NO_BUFFER_AVAILABLE 
NES_AEQE_AEID_DDP_UBE_INVALID_QN 
NES_AEQE_AEID_DDP_NO_L_BIT 
NES_AEQE_AEID_RDMAP_ROE_INVALID_RDMAP_VERSION 
NES_AEQE_AEID_RDMAP_ROE_UNEXPECTED_OPCODE 
NES_AEQE_AEID_ROE_INVALID_RDMA_READ_REQUEST 
NES_AEQE_AEID_ROE_INVALID_RDMA_WRITE_OR_READ_RESP 
NES_AEQE_AEID_INVALID_ARP_ENTRY 
NES_AEQE_AEID_INVALID_TCP_OPTION_RCVD 
NES_AEQE_AEID_STALE_ARP_ENTRY 
NES_AEQE_AEID_LLP_CLOSE_COMPLETE 
NES_AEQE_AEID_LLP_CONNECTION_RESET 
NES_AEQE_AEID_LLP_FIN_RECEIVED 
NES_AEQE_AEID_LLP_RECEIVED_MARKER_AND_LENGTH_FIELDS_DONT_MATCH 
NES_AEQE_AEID_LLP_RECEIVED_MPA_CRC_ERROR 
NES_AEQE_AEID_LLP_SEGMENT_TOO_LARGE 
NES_AEQE_AEID_LLP_SEGMENT_TOO_SMALL 
NES_AEQE_AEID_LLP_SYN_RECEIVED 
NES_AEQE_AEID_LLP_TERMINATE_RECEIVED 
NES_AEQE_AEID_LLP_TOO_MANY_RETRIES 
NES_AEQE_AEID_LLP_TOO_MANY_KEEPALIVE_RETRIES 
NES_AEQE_AEID_RESET_SENT 
NES_AEQE_AEID_TERMINATE_SENT 
NES_AEQE_AEID_DDP_LCE_LOCAL_CATASTROPHIC 

Definition at line 708 of file nes_hw.h.

Enumerator:
NES_AEQE_QP 
NES_AEQE_CQ 
NES_AEQE_SQ 
NES_AEQE_INBOUND_RDMA 
NES_AEQE_IWARP_STATE_MASK 
NES_AEQE_TCP_STATE_MASK 
NES_AEQE_Q2_DATA_WRITTEN 
NES_AEQE_VALID 

Definition at line 668 of file nes_hw.h.

Enumerator:
NES_AEQE_IWARP_STATE_NON_EXISTANT 
NES_AEQE_IWARP_STATE_IDLE 
NES_AEQE_IWARP_STATE_RTS 
NES_AEQE_IWARP_STATE_CLOSING 
NES_AEQE_IWARP_STATE_TERMINATE 
NES_AEQE_IWARP_STATE_ERROR 

Definition at line 684 of file nes_hw.h.

Enumerator:
NES_AEQE_TCP_STATE_NON_EXISTANT 
NES_AEQE_TCP_STATE_CLOSED 
NES_AEQE_TCP_STATE_LISTEN 
NES_AEQE_TCP_STATE_SYN_SENT 
NES_AEQE_TCP_STATE_SYN_RCVD 
NES_AEQE_TCP_STATE_ESTABLISHED 
NES_AEQE_TCP_STATE_CLOSE_WAIT 
NES_AEQE_TCP_STATE_FIN_WAIT_1 
NES_AEQE_TCP_STATE_CLOSING 
NES_AEQE_TCP_STATE_LAST_ACK 
NES_AEQE_TCP_STATE_FIN_WAIT_2 
NES_AEQE_TCP_STATE_TIME_WAIT 

Definition at line 693 of file nes_hw.h.

Enumerator:
NES_AEQE_COMP_CTXT_LOW_IDX 
NES_AEQE_COMP_CTXT_HIGH_IDX 
NES_AEQE_COMP_QP_CQ_ID_IDX 
NES_AEQE_MISC_IDX 

Definition at line 661 of file nes_hw.h.

Enumerator:
NES_CEQE_VALID 

Definition at line 418 of file nes_hw.h.

Enumerator:
NES_CEQE_CQ_CTX_LOW_IDX 
NES_CEQE_CQ_CTX_HIGH_IDX 

Definition at line 413 of file nes_hw.h.

Enumerator:
NES_CQE_ALLOC_INC_SELECT 
NES_CQE_ALLOC_NOTIFY_NEXT 
NES_CQE_ALLOC_NOTIFY_SE 
NES_CQE_ALLOC_RESET 

Definition at line 479 of file nes_hw.h.

Enumerator:
NES_CQE_STAG_VALID 
NES_CQE_ERROR 
NES_CQE_SQ 
NES_CQE_SE 
NES_CQE_PSH 
NES_CQE_FIN 
NES_CQE_VALID 

Definition at line 392 of file nes_hw.h.

Enumerator:
NES_CQE_PAYLOAD_LENGTH_IDX 
NES_CQE_COMP_COMP_CTX_LOW_IDX 
NES_CQE_COMP_COMP_CTX_HIGH_IDX 
NES_CQE_INV_STAG_IDX 
NES_CQE_QP_ID_IDX 
NES_CQE_ERROR_CODE_IDX 
NES_CQE_OPCODE_IDX 

Definition at line 403 of file nes_hw.h.

Enumerator:
NES_CQP_AEQ_4KB_CHUNK 
NES_CQP_AEQ_VIRT 

Definition at line 357 of file nes_hw.h.

Enumerator:
NES_CQP_AEQ_WQE_ELEMENT_COUNT_IDX 
NES_CQP_AEQ_WQE_PBL_LOW_IDX 
NES_CQP_AEQ_WQE_PBL_HIGH_IDX 

Definition at line 351 of file nes_hw.h.

Enumerator:
NES_CQP_ARP_VALID 
NES_CQP_ARP_PERM 

Definition at line 381 of file nes_hw.h.

Enumerator:
NES_CQP_ARP_WQE_MAC_ADDR_LOW_IDX 
NES_CQP_ARP_WQE_MAC_HIGH_IDX 
NES_CQP_ARP_WQE_REACHABILITY_MAX_IDX 

Definition at line 369 of file nes_hw.h.

Enumerator:
NES_CQP_CEQ_4KB_CHUNK 
NES_CQP_CEQ_VIRT 

Definition at line 346 of file nes_hw.h.

Enumerator:
NES_CQP_CEQ_WQE_ELEMENT_COUNT_IDX 
NES_CQP_CEQ_WQE_PBL_LOW_IDX 
NES_CQP_CEQ_WQE_PBL_HIGH_IDX 

Definition at line 340 of file nes_hw.h.

Enumerator:
NES_CQP_CQ_CEQE_MASK 
NES_CQP_CQ_CEQ_VALID 
NES_CQP_CQ_RESIZE 
NES_CQP_CQ_CHK_OVERFLOW 
NES_CQP_CQ_4KB_CHUNK 
NES_CQP_CQ_VIRT 

Definition at line 317 of file nes_hw.h.

Enumerator:
NES_CQP_CQ_WQE_PBL_LOW_IDX 
NES_CQP_CQ_WQE_PBL_HIGH_IDX 
NES_CQP_CQ_WQE_CQ_CONTEXT_LOW_IDX 
NES_CQP_CQ_WQE_CQ_CONTEXT_HIGH_IDX 
NES_CQP_CQ_WQE_DOORBELL_INDEX_HIGH_IDX 

Definition at line 242 of file nes_hw.h.

Enumerator:
NES_CQP_FLUSH_SQ 
NES_CQP_FLUSH_RQ 
NES_CQP_FLUSH_MAJ_MIN 

Definition at line 386 of file nes_hw.h.

Enumerator:
NES_CQP_LMI_WQE_LMI_OFFSET_IDX 
NES_CQP_LMI_WQE_FRAG_LOW_IDX 
NES_CQP_LMI_WQE_FRAG_HIGH_IDX 
NES_CQP_LMI_WQE_FRAG_LEN_IDX 

Definition at line 362 of file nes_hw.h.

Enumerator:
NES_CQP_CREATE_QP 
NES_CQP_MODIFY_QP 
NES_CQP_DESTROY_QP 
NES_CQP_CREATE_CQ 
NES_CQP_MODIFY_CQ 
NES_CQP_DESTROY_CQ 
NES_CQP_ALLOCATE_STAG 
NES_CQP_REGISTER_STAG 
NES_CQP_QUERY_STAG 
NES_CQP_REGISTER_SHARED_STAG 
NES_CQP_DEALLOCATE_STAG 
NES_CQP_MANAGE_ARP_CACHE 
NES_CQP_DOWNLOAD_SEGMENT 
NES_CQP_SUSPEND_QPS 
NES_CQP_UPLOAD_CONTEXT 
NES_CQP_CREATE_CEQ 
NES_CQP_DESTROY_CEQ 
NES_CQP_CREATE_AEQ 
NES_CQP_DESTROY_AEQ 
NES_CQP_LMI_ACCESS 
NES_CQP_FLUSH_WQES 
NES_CQP_MANAGE_APBVT 
NES_CQP_MANAGE_QUAD_HASH 

Definition at line 199 of file nes_hw.h.

Enumerator:
NES_CQP_QP_ARP_VALID 
NES_CQP_QP_WINBUF_VALID 
NES_CQP_QP_CONTEXT_VALID 
NES_CQP_QP_ORD_VALID 
NES_CQP_QP_WINBUF_DATAIND_EN 
NES_CQP_QP_VIRT_WQS 
NES_CQP_QP_DEL_HTE 
NES_CQP_QP_CQS_VALID 
NES_CQP_QP_TYPE_TSA 
NES_CQP_QP_TYPE_IWARP 
NES_CQP_QP_TYPE_CQP 
NES_CQP_QP_TYPE_NIC 
NES_CQP_QP_MSS_CHG 
NES_CQP_QP_STATIC_RESOURCES 
NES_CQP_QP_IGNORE_MW_BOUND 
NES_CQP_QP_VWQ_USE_LMI 
NES_CQP_QP_IWARP_STATE_IDLE 
NES_CQP_QP_IWARP_STATE_RTS 
NES_CQP_QP_IWARP_STATE_CLOSING 
NES_CQP_QP_IWARP_STATE_TERMINATE 
NES_CQP_QP_IWARP_STATE_ERROR 
NES_CQP_QP_IWARP_STATE_MASK 
NES_CQP_QP_TERM_DONT_SEND_FIN 
NES_CQP_QP_TERM_DONT_SEND_TERM_MSG 
NES_CQP_QP_RESET 

Definition at line 266 of file nes_hw.h.

Enumerator:
NES_CQP_QP_WQE_CONTEXT_LOW_IDX 
NES_CQP_QP_WQE_CONTEXT_HIGH_IDX 
NES_CQP_QP_WQE_FLUSH_SQ_CODE 
NES_CQP_QP_WQE_FLUSH_RQ_CODE 
NES_CQP_QP_WQE_NEW_MSS_IDX 

Definition at line 294 of file nes_hw.h.

Enumerator:
NES_CQP_STAG_VA_TO 
NES_CQP_STAG_DEALLOC_PBLS 
NES_CQP_STAG_PBL_BLK_SIZE 
NES_CQP_STAG_MR 
NES_CQP_STAG_RIGHTS_LOCAL_READ 
NES_CQP_STAG_RIGHTS_LOCAL_WRITE 
NES_CQP_STAG_RIGHTS_REMOTE_READ 
NES_CQP_STAG_RIGHTS_REMOTE_WRITE 
NES_CQP_STAG_RIGHTS_WINDOW_BIND 
NES_CQP_STAG_REM_ACC_EN 
NES_CQP_STAG_LEAVE_PENDING 

Definition at line 326 of file nes_hw.h.

Enumerator:
NES_CQP_STAG_WQE_PBL_BLK_COUNT_IDX 
NES_CQP_STAG_WQE_LEN_HIGH_PD_IDX 
NES_CQP_STAG_WQE_LEN_LOW_IDX 
NES_CQP_STAG_WQE_STAG_IDX 
NES_CQP_STAG_WQE_VA_LOW_IDX 
NES_CQP_STAG_WQE_VA_HIGH_IDX 
NES_CQP_STAG_WQE_PA_LOW_IDX 
NES_CQP_STAG_WQE_PA_HIGH_IDX 
NES_CQP_STAG_WQE_PBL_LEN_IDX 

Definition at line 250 of file nes_hw.h.

Enumerator:
NES_CQP_UPLOAD_WQE_CTXT_LOW_IDX 
NES_CQP_UPLOAD_WQE_CTXT_HIGH_IDX 
NES_CQP_UPLOAD_WQE_HTE_IDX 

Definition at line 375 of file nes_hw.h.

Enumerator:
NES_CQP_WQE_DL_OPCODE_IDX 
NES_CQP_WQE_DL_COMP_CTX_LOW_IDX 
NES_CQP_WQE_DL_COMP_CTX_HIGH_IDX 
NES_CQP_WQE_DL_LENGTH_0_TOTAL_IDX 

Definition at line 234 of file nes_hw.h.

Enumerator:
NES_CQP_WQE_OPCODE_IDX 
NES_CQP_WQE_ID_IDX 
NES_CQP_WQE_COMP_CTX_LOW_IDX 
NES_CQP_WQE_COMP_CTX_HIGH_IDX 
NES_CQP_WQE_COMP_SCRATCH_LOW_IDX 
NES_CQP_WQE_COMP_SCRATCH_HIGH_IDX 

Definition at line 225 of file nes_hw.h.

Enumerator:
DDP_LEN_FLAG 
DDP_HDR_FLAG 
RDMA_HDR_FLAG 

Definition at line 1304 of file nes_hw.h.

Enumerator:
NES_INT_CEQ0 
NES_INT_CEQ1 
NES_INT_CEQ2 
NES_INT_CEQ3 
NES_INT_CEQ4 
NES_INT_CEQ5 
NES_INT_CEQ6 
NES_INT_CEQ7 
NES_INT_CEQ8 
NES_INT_CEQ9 
NES_INT_CEQ10 
NES_INT_CEQ11 
NES_INT_CEQ12 
NES_INT_CEQ13 
NES_INT_CEQ14 
NES_INT_CEQ15 
NES_INT_AEQ0 
NES_INT_AEQ1 
NES_INT_AEQ2 
NES_INT_AEQ3 
NES_INT_AEQ4 
NES_INT_AEQ5 
NES_INT_AEQ6 
NES_INT_AEQ7 
NES_INT_MAC0 
NES_INT_MAC1 
NES_INT_MAC2 
NES_INT_MAC3 
NES_INT_TSW 
NES_INT_TIMER 
NES_INT_INTF 

Definition at line 422 of file nes_hw.h.

Enumerator:
NES_INTF_INT_PCIERR 
NES_INTF_PERIODIC_TIMER 
NES_INTF_ONE_SHOT_TIMER 
NES_INTF_INT_CRITERR 
NES_INTF_INT_AEQ0_OFLOW 
NES_INTF_INT_AEQ1_OFLOW 
NES_INTF_INT_AEQ2_OFLOW 
NES_INTF_INT_AEQ3_OFLOW 
NES_INTF_INT_AEQ4_OFLOW 
NES_INTF_INT_AEQ5_OFLOW 
NES_INTF_INT_AEQ6_OFLOW 
NES_INTF_INT_AEQ7_OFLOW 
NES_INTF_INT_AEQ_OFLOW 

Definition at line 456 of file nes_hw.h.

Enumerator:
NES_IWARP_CQE_MAJOR_FLUSH 
NES_IWARP_CQE_MAJOR_DRV 

Definition at line 796 of file nes_hw.h.

Enumerator:
NES_IWARP_CQE_MINOR_FLUSH 

Definition at line 801 of file nes_hw.h.

Enumerator:
NES_IWARP_RQ_WQE_TOTAL_PAYLOAD_IDX 
NES_IWARP_RQ_WQE_COMP_CTX_LOW_IDX 
NES_IWARP_RQ_WQE_COMP_CTX_HIGH_IDX 
NES_IWARP_RQ_WQE_COMP_SCRATCH_LOW_IDX 
NES_IWARP_RQ_WQE_COMP_SCRATCH_HIGH_IDX 
NES_IWARP_RQ_WQE_FRAG0_LOW_IDX 
NES_IWARP_RQ_WQE_FRAG0_HIGH_IDX 
NES_IWARP_RQ_WQE_LENGTH0_IDX 
NES_IWARP_RQ_WQE_STAG0_IDX 
NES_IWARP_RQ_WQE_FRAG1_LOW_IDX 
NES_IWARP_RQ_WQE_FRAG1_HIGH_IDX 
NES_IWARP_RQ_WQE_LENGTH1_IDX 
NES_IWARP_RQ_WQE_STAG1_IDX 
NES_IWARP_RQ_WQE_FRAG2_LOW_IDX 
NES_IWARP_RQ_WQE_FRAG2_HIGH_IDX 
NES_IWARP_RQ_WQE_LENGTH2_IDX 
NES_IWARP_RQ_WQE_STAG2_IDX 
NES_IWARP_RQ_WQE_FRAG3_LOW_IDX 
NES_IWARP_RQ_WQE_FRAG3_HIGH_IDX 
NES_IWARP_RQ_WQE_LENGTH3_IDX 
NES_IWARP_RQ_WQE_STAG3_IDX 

Definition at line 586 of file nes_hw.h.

Enumerator:
NES_IWARP_SQ_BIND_WQE_MR_IDX 
NES_IWARP_SQ_BIND_WQE_MW_IDX 
NES_IWARP_SQ_BIND_WQE_LENGTH_LOW_IDX 
NES_IWARP_SQ_BIND_WQE_LENGTH_HIGH_IDX 
NES_IWARP_SQ_BIND_WQE_VA_FBO_LOW_IDX 
NES_IWARP_SQ_BIND_WQE_VA_FBO_HIGH_IDX 

Definition at line 549 of file nes_hw.h.

Enumerator:
NES_IWARP_SQ_FMR_WQE_ZERO_BASED 
NES_IWARP_SQ_FMR_WQE_PAGE_SIZE_4K 
NES_IWARP_SQ_FMR_WQE_PAGE_SIZE_2M 
NES_IWARP_SQ_FMR_WQE_RIGHTS_ENABLE_LOCAL_READ 
NES_IWARP_SQ_FMR_WQE_RIGHTS_ENABLE_LOCAL_WRITE 
NES_IWARP_SQ_FMR_WQE_RIGHTS_ENABLE_REMOTE_READ 
NES_IWARP_SQ_FMR_WQE_RIGHTS_ENABLE_REMOTE_WRITE 
NES_IWARP_SQ_FMR_WQE_RIGHTS_ENABLE_WINDOW_BIND 

Definition at line 569 of file nes_hw.h.

Enumerator:
NES_IWARP_SQ_FMR_WQE_MR_STAG_IDX 
NES_IWARP_SQ_FMR_WQE_LENGTH_LOW_IDX 
NES_IWARP_SQ_FMR_WQE_LENGTH_HIGH_IDX 
NES_IWARP_SQ_FMR_WQE_VA_FBO_LOW_IDX 
NES_IWARP_SQ_FMR_WQE_VA_FBO_HIGH_IDX 
NES_IWARP_SQ_FMR_WQE_PBL_ADDR_LOW_IDX 
NES_IWARP_SQ_FMR_WQE_PBL_ADDR_HIGH_IDX 
NES_IWARP_SQ_FMR_WQE_PBL_LENGTH_IDX 

Definition at line 558 of file nes_hw.h.

Enumerator:
NES_IWARP_SQ_LOCINV_WQE_INV_STAG_IDX 

Definition at line 582 of file nes_hw.h.

Enumerator:
NES_IWARP_SQ_WQE_WRPDU 
NES_IWARP_SQ_WQE_PSH 
NES_IWARP_SQ_WQE_STREAMING 
NES_IWARP_SQ_WQE_IMM_DATA 
NES_IWARP_SQ_WQE_READ_FENCE 
NES_IWARP_SQ_WQE_LOCAL_FENCE 
NES_IWARP_SQ_WQE_SIGNALED_COMPL 

Definition at line 772 of file nes_hw.h.

Enumerator:
NES_IWARP_SQ_OP_RDMAW 
NES_IWARP_SQ_OP_RDMAR 
NES_IWARP_SQ_OP_SEND 
NES_IWARP_SQ_OP_SENDINV 
NES_IWARP_SQ_OP_SENDSE 
NES_IWARP_SQ_OP_SENDSEINV 
NES_IWARP_SQ_OP_BIND 
NES_IWARP_SQ_OP_FAST_REG 
NES_IWARP_SQ_OP_LOCINV 
NES_IWARP_SQ_OP_RDMAR_LOCINV 
NES_IWARP_SQ_OP_NOP 

Definition at line 782 of file nes_hw.h.

Enumerator:
NES_IWARP_SQ_WQE_MISC_IDX 
NES_IWARP_SQ_WQE_TOTAL_PAYLOAD_IDX 
NES_IWARP_SQ_WQE_COMP_CTX_LOW_IDX 
NES_IWARP_SQ_WQE_COMP_CTX_HIGH_IDX 
NES_IWARP_SQ_WQE_COMP_SCRATCH_LOW_IDX 
NES_IWARP_SQ_WQE_COMP_SCRATCH_HIGH_IDX 
NES_IWARP_SQ_WQE_INV_STAG_LOW_IDX 
NES_IWARP_SQ_WQE_RDMA_TO_LOW_IDX 
NES_IWARP_SQ_WQE_RDMA_TO_HIGH_IDX 
NES_IWARP_SQ_WQE_RDMA_LENGTH_IDX 
NES_IWARP_SQ_WQE_RDMA_STAG_IDX 
NES_IWARP_SQ_WQE_IMM_DATA_START_IDX 
NES_IWARP_SQ_WQE_FRAG0_LOW_IDX 
NES_IWARP_SQ_WQE_FRAG0_HIGH_IDX 
NES_IWARP_SQ_WQE_LENGTH0_IDX 
NES_IWARP_SQ_WQE_STAG0_IDX 
NES_IWARP_SQ_WQE_FRAG1_LOW_IDX 
NES_IWARP_SQ_WQE_FRAG1_HIGH_IDX 
NES_IWARP_SQ_WQE_LENGTH1_IDX 
NES_IWARP_SQ_WQE_STAG1_IDX 
NES_IWARP_SQ_WQE_FRAG2_LOW_IDX 
NES_IWARP_SQ_WQE_FRAG2_HIGH_IDX 
NES_IWARP_SQ_WQE_LENGTH2_IDX 
NES_IWARP_SQ_WQE_STAG2_IDX 
NES_IWARP_SQ_WQE_FRAG3_LOW_IDX 
NES_IWARP_SQ_WQE_FRAG3_HIGH_IDX 
NES_IWARP_SQ_WQE_LENGTH3_IDX 
NES_IWARP_SQ_WQE_STAG3_IDX 

Definition at line 518 of file nes_hw.h.

Enumerator:
NES_MAC_INT_LINK_STAT_CHG 
NES_MAC_INT_XGMII_EXT 
NES_MAC_INT_TX_UNDERFLOW 
NES_MAC_INT_TX_ERROR 

Definition at line 472 of file nes_hw.h.

Enumerator:
NES_NIC_CQE_ERRV_MASK 
NES_NIC_CQE_SQ 
NES_NIC_CQE_ACCQP_PORT 
NES_NIC_CQE_ACCQP_VALID 
NES_NIC_CQE_TAG_VALID 
NES_NIC_CQE_VALID 

Definition at line 652 of file nes_hw.h.

Enumerator:
NES_NIC_CQE_ACCQP_ID_IDX 
NES_NIC_CQE_HASH_RCVNXT 
NES_NIC_CQE_TAG_PKT_TYPE_IDX 
NES_NIC_CQE_MISC_IDX 

Definition at line 618 of file nes_hw.h.

Enumerator:
NES_NIC_CTX_RQ_SIZE_32 
NES_NIC_CTX_RQ_SIZE_512 
NES_NIC_CTX_SQ_SIZE_32 
NES_NIC_CTX_SQ_SIZE_512 

Definition at line 302 of file nes_hw.h.

Enumerator:
NES_NIC_ERRV_BITS_MODE 
NES_NIC_ERRV_BITS_IPV4_CSUM_ERR 
NES_NIC_ERRV_BITS_TCPUDP_CSUM_ERR 
NES_NIC_ERRV_BITS_WQE_OVERRUN 
NES_NIC_ERRV_BITS_IPH_ERR 

Definition at line 644 of file nes_hw.h.

Enumerator:
NES_NIC_CTX_MISC_IDX 
NES_NIC_CTX_SQ_LOW_IDX 
NES_NIC_CTX_SQ_HIGH_IDX 
NES_NIC_CTX_RQ_LOW_IDX 
NES_NIC_CTX_RQ_HIGH_IDX 

Definition at line 309 of file nes_hw.h.

Enumerator:
NES_NIC_RQ_WQE_LENGTH_1_0_IDX 
NES_NIC_RQ_WQE_LENGTH_3_2_IDX 
NES_NIC_RQ_WQE_FRAG0_LOW_IDX 
NES_NIC_RQ_WQE_FRAG0_HIGH_IDX 
NES_NIC_RQ_WQE_FRAG1_LOW_IDX 
NES_NIC_RQ_WQE_FRAG1_HIGH_IDX 
NES_NIC_RQ_WQE_FRAG2_LOW_IDX 
NES_NIC_RQ_WQE_FRAG2_HIGH_IDX 
NES_NIC_RQ_WQE_FRAG3_LOW_IDX 
NES_NIC_RQ_WQE_FRAG3_HIGH_IDX 

Definition at line 486 of file nes_hw.h.

Enumerator:
NES_NIC_SQ_WQE_PHDR_CS_READY 
NES_NIC_SQ_WQE_LSO_ENABLE 
NES_NIC_SQ_WQE_TAGVALUE_ENABLE 
NES_NIC_SQ_WQE_DISABLE_CHKSUM 
NES_NIC_SQ_WQE_COMPLETION 

Definition at line 610 of file nes_hw.h.

Enumerator:
NES_NIC_SQ_WQE_MISC_IDX 
NES_NIC_SQ_WQE_TOTAL_LENGTH_IDX 
NES_NIC_SQ_WQE_LSO_INFO_IDX 
NES_NIC_SQ_WQE_LENGTH_0_TAG_IDX 
NES_NIC_SQ_WQE_LENGTH_2_1_IDX 
NES_NIC_SQ_WQE_LENGTH_4_3_IDX 
NES_NIC_SQ_WQE_FRAG0_LOW_IDX 
NES_NIC_SQ_WQE_FRAG0_HIGH_IDX 
NES_NIC_SQ_WQE_FRAG1_LOW_IDX 
NES_NIC_SQ_WQE_FRAG1_HIGH_IDX 
NES_NIC_SQ_WQE_FRAG2_LOW_IDX 
NES_NIC_SQ_WQE_FRAG2_HIGH_IDX 
NES_NIC_SQ_WQE_FRAG3_LOW_IDX 
NES_NIC_SQ_WQE_FRAG3_HIGH_IDX 
NES_NIC_SQ_WQE_FRAG4_LOW_IDX 
NES_NIC_SQ_WQE_FRAG4_HIGH_IDX 

Definition at line 499 of file nes_hw.h.

Enumerator:
DDP_CATASTROPHIC_LOCAL 
DDP_TAGGED_INV_STAG 
DDP_TAGGED_BOUNDS 
DDP_TAGGED_UNASSOC_STAG 
DDP_TAGGED_TO_WRAP 
DDP_TAGGED_INV_DDP_VER 
DDP_UNTAGGED_INV_QN 
DDP_UNTAGGED_INV_MSN_NO_BUF 
DDP_UNTAGGED_INV_MSN_RANGE 
DDP_UNTAGGED_INV_MO 
DDP_UNTAGGED_INV_TOO_LONG 
DDP_UNTAGGED_INV_DDP_VER 

Definition at line 1340 of file nes_hw.h.

Enumerator:
RDMAP_CATASTROPHIC 
RDMAP_REMOTE_PROT 
RDMAP_REMOTE_OP 
DDP_CATASTROPHIC 
DDP_TAGGED_BUFFER 
DDP_UNTAGGED_BUFFER 
DDP_LLP 

Definition at line 1316 of file nes_hw.h.

Enumerator:
LAYER_RDMA 
LAYER_DDP 
LAYER_MPA 

Definition at line 1310 of file nes_hw.h.

Enumerator:
MPA_CLOSED 
MPA_CRC 
MPA_MARKER 
MPA_REQ_RSP 

Definition at line 1355 of file nes_hw.h.

Enumerator:
RDMAP_INV_STAG 
RDMAP_INV_BOUNDS 
RDMAP_ACCESS 
RDMAP_UNASSOC_STAG 
RDMAP_TO_WRAP 
RDMAP_INV_RDMAP_VER 
RDMAP_UNEXPECTED_OP 
RDMAP_CATASTROPHIC_LOCAL 
RDMAP_CATASTROPHIC_GLOBAL 
RDMAP_CANT_INV_STAG 
RDMAP_UNSPECIFIED 

Definition at line 1326 of file nes_hw.h.

enum pci_regs
Enumerator:
C2_HISR 
C2_DISR 
C2_HIMR 
C2_DIMR 
C2_NISR0 
C2_NISR1 
C2_NIMR0 
C2_NIMR1 
C2_IDIS 
NES_INT_STAT 
NES_INT_MASK 
NES_INT_PENDING 
NES_INTF_INT_STAT 
NES_INTF_INT_MASK 
NES_TIMER_STAT 
NES_PERIODIC_CONTROL 
NES_ONE_SHOT_CONTROL 
NES_EEPROM_COMMAND 
NES_EEPROM_DATA 
NES_FLASH_COMMAND 
NES_FLASH_DATA 
NES_SOFTWARE_RESET 
NES_CQ_ACK 
NES_WQE_ALLOC 
NES_CQE_ALLOC 
NES_AEQ_ALLOC 

Definition at line 55 of file nes_hw.h.