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

Go to the source code of this file.

Data Structures

union  opcode_tid
 
struct  tcp_options
 
struct  rss_header
 
struct  work_request_hdr
 
struct  cpl_pass_open_req
 
struct  cpl_pass_open_rpl
 
struct  cpl_pass_establish
 
struct  cpl_pass_accept_req
 
struct  cpl_pass_accept_rpl
 
struct  cpl_act_open_req
 
struct  cpl_act_open_rpl
 
struct  cpl_act_establish
 
struct  cpl_get_tcb
 
struct  cpl_get_tcb_rpl
 
struct  cpl_set_tcb
 
struct  cpl_set_tcb_field
 
struct  cpl_set_tcb_rpl
 
struct  cpl_pcmd
 
struct  cpl_pcmd_reply
 
struct  cpl_close_con_req
 
struct  cpl_close_con_rpl
 
struct  cpl_close_listserv_req
 
struct  cpl_close_listserv_rpl
 
struct  cpl_abort_req_rss
 
struct  cpl_abort_req
 
struct  cpl_abort_rpl_rss
 
struct  cpl_abort_rpl
 
struct  cpl_peer_close
 
struct  tx_data_wr
 
struct  cpl_tx_data
 
struct  cpl_tx_data_ack
 
struct  cpl_wr_ack
 
struct  cpl_rdma_ec_status
 
struct  mngt_pktsched_wr
 
struct  cpl_iscsi_hdr
 
struct  cpl_rx_data
 
struct  cpl_rx_data_ack
 
struct  cpl_rx_urg_notify
 
struct  cpl_rx_ddp_complete
 
struct  cpl_rx_data_ddp
 
struct  cpl_tx_pkt
 
struct  cpl_tx_pkt_lso
 
struct  cpl_trace_pkt
 
struct  cpl_rx_pkt
 
struct  cpl_l2t_write_req
 
struct  cpl_l2t_write_rpl
 
struct  cpl_l2t_read_req
 
struct  cpl_l2t_read_rpl
 
struct  cpl_smt_write_req
 
struct  cpl_smt_write_rpl
 
struct  cpl_smt_read_req
 
struct  cpl_smt_read_rpl
 
struct  cpl_rte_delete_req
 
struct  cpl_rte_delete_rpl
 
struct  cpl_rte_write_req
 
struct  cpl_rte_write_rpl
 
struct  cpl_rte_read_req
 
struct  cpl_rte_read_rpl
 
struct  cpl_tid_release
 
struct  cpl_barrier
 
struct  cpl_rdma_read_req
 
struct  cpl_rdma_terminate
 
struct  ulp_mem_io
 

Macros

#define S_OPCODE   24
 
#define V_OPCODE(x)   ((x) << S_OPCODE)
 
#define G_OPCODE(x)   (((x) >> S_OPCODE) & 0xFF)
 
#define G_TID(x)   ((x) & 0xFFFFFF)
 
#define S_QNUM   0
 
#define G_QNUM(x)   (((x) >> S_QNUM) & 0xFFFF)
 
#define S_HASHTYPE   22
 
#define M_HASHTYPE   0x3
 
#define G_HASHTYPE(x)   (((x) >> S_HASHTYPE) & M_HASHTYPE)
 
#define MK_OPCODE_TID(opcode, tid)   (V_OPCODE(opcode) | (tid))
 
#define OPCODE_TID(cmd)   ((cmd)->ot.opcode_tid)
 
#define GET_TID(cmd)   (G_TID(ntohl(OPCODE_TID(cmd))))
 
#define S_WR_SGE_CREDITS   0
 
#define M_WR_SGE_CREDITS   0xFF
 
#define V_WR_SGE_CREDITS(x)   ((x) << S_WR_SGE_CREDITS)
 
#define G_WR_SGE_CREDITS(x)   (((x) >> S_WR_SGE_CREDITS) & M_WR_SGE_CREDITS)
 
#define S_WR_SGLSFLT   8
 
#define M_WR_SGLSFLT   0xFF
 
#define V_WR_SGLSFLT(x)   ((x) << S_WR_SGLSFLT)
 
#define G_WR_SGLSFLT(x)   (((x) >> S_WR_SGLSFLT) & M_WR_SGLSFLT)
 
#define S_WR_BCNTLFLT   16
 
#define M_WR_BCNTLFLT   0xF
 
#define V_WR_BCNTLFLT(x)   ((x) << S_WR_BCNTLFLT)
 
#define G_WR_BCNTLFLT(x)   (((x) >> S_WR_BCNTLFLT) & M_WR_BCNTLFLT)
 
#define S_WR_DATATYPE   20
 
#define V_WR_DATATYPE(x)   ((x) << S_WR_DATATYPE)
 
#define F_WR_DATATYPE   V_WR_DATATYPE(1U)
 
#define S_WR_COMPL   21
 
#define V_WR_COMPL(x)   ((x) << S_WR_COMPL)
 
#define F_WR_COMPL   V_WR_COMPL(1U)
 
#define S_WR_EOP   22
 
#define V_WR_EOP(x)   ((x) << S_WR_EOP)
 
#define F_WR_EOP   V_WR_EOP(1U)
 
#define S_WR_SOP   23
 
#define V_WR_SOP(x)   ((x) << S_WR_SOP)
 
#define F_WR_SOP   V_WR_SOP(1U)
 
#define S_WR_OP   24
 
#define M_WR_OP   0xFF
 
#define V_WR_OP(x)   ((x) << S_WR_OP)
 
#define G_WR_OP(x)   (((x) >> S_WR_OP) & M_WR_OP)
 
#define S_WR_LEN   0
 
#define M_WR_LEN   0xFF
 
#define V_WR_LEN(x)   ((x) << S_WR_LEN)
 
#define G_WR_LEN(x)   (((x) >> S_WR_LEN) & M_WR_LEN)
 
#define S_WR_TID   8
 
#define M_WR_TID   0xFFFFF
 
#define V_WR_TID(x)   ((x) << S_WR_TID)
 
#define G_WR_TID(x)   (((x) >> S_WR_TID) & M_WR_TID)
 
#define S_WR_CR_FLUSH   30
 
#define V_WR_CR_FLUSH(x)   ((x) << S_WR_CR_FLUSH)
 
#define F_WR_CR_FLUSH   V_WR_CR_FLUSH(1U)
 
#define S_WR_GEN   31
 
#define V_WR_GEN(x)   ((x) << S_WR_GEN)
 
#define F_WR_GEN   V_WR_GEN(1U)
 
#define WR_HDR   struct work_request_hdr wr
 
#define RSS_HDR
 
#define S_CPL_STATUS   0
 
#define M_CPL_STATUS   0xFF
 
#define V_CPL_STATUS(x)   ((x) << S_CPL_STATUS)
 
#define G_CPL_STATUS(x)   (((x) >> S_CPL_STATUS) & M_CPL_STATUS)
 
#define S_INJECT_TIMER   6
 
#define V_INJECT_TIMER(x)   ((x) << S_INJECT_TIMER)
 
#define F_INJECT_TIMER   V_INJECT_TIMER(1U)
 
#define S_NO_OFFLOAD   7
 
#define V_NO_OFFLOAD(x)   ((x) << S_NO_OFFLOAD)
 
#define F_NO_OFFLOAD   V_NO_OFFLOAD(1U)
 
#define S_ULP_MODE   8
 
#define M_ULP_MODE   0xF
 
#define V_ULP_MODE(x)   ((x) << S_ULP_MODE)
 
#define G_ULP_MODE(x)   (((x) >> S_ULP_MODE) & M_ULP_MODE)
 
#define S_RCV_BUFSIZ   12
 
#define M_RCV_BUFSIZ   0x3FFF
 
#define V_RCV_BUFSIZ(x)   ((x) << S_RCV_BUFSIZ)
 
#define G_RCV_BUFSIZ(x)   (((x) >> S_RCV_BUFSIZ) & M_RCV_BUFSIZ)
 
#define S_TOS   26
 
#define M_TOS   0x3F
 
#define V_TOS(x)   ((x) << S_TOS)
 
#define G_TOS(x)   (((x) >> S_TOS) & M_TOS)
 
#define S_DELACK   0
 
#define V_DELACK(x)   ((x) << S_DELACK)
 
#define F_DELACK   V_DELACK(1U)
 
#define S_NO_CONG   1
 
#define V_NO_CONG(x)   ((x) << S_NO_CONG)
 
#define F_NO_CONG   V_NO_CONG(1U)
 
#define S_SRC_MAC_SEL   2
 
#define M_SRC_MAC_SEL   0x3
 
#define V_SRC_MAC_SEL(x)   ((x) << S_SRC_MAC_SEL)
 
#define G_SRC_MAC_SEL(x)   (((x) >> S_SRC_MAC_SEL) & M_SRC_MAC_SEL)
 
#define S_L2T_IDX   4
 
#define M_L2T_IDX   0x7FF
 
#define V_L2T_IDX(x)   ((x) << S_L2T_IDX)
 
#define G_L2T_IDX(x)   (((x) >> S_L2T_IDX) & M_L2T_IDX)
 
#define S_TX_CHANNEL   15
 
#define V_TX_CHANNEL(x)   ((x) << S_TX_CHANNEL)
 
#define F_TX_CHANNEL   V_TX_CHANNEL(1U)
 
#define S_TCAM_BYPASS   16
 
#define V_TCAM_BYPASS(x)   ((x) << S_TCAM_BYPASS)
 
#define F_TCAM_BYPASS   V_TCAM_BYPASS(1U)
 
#define S_NAGLE   17
 
#define V_NAGLE(x)   ((x) << S_NAGLE)
 
#define F_NAGLE   V_NAGLE(1U)
 
#define S_WND_SCALE   18
 
#define M_WND_SCALE   0xF
 
#define V_WND_SCALE(x)   ((x) << S_WND_SCALE)
 
#define G_WND_SCALE(x)   (((x) >> S_WND_SCALE) & M_WND_SCALE)
 
#define S_KEEP_ALIVE   22
 
#define V_KEEP_ALIVE(x)   ((x) << S_KEEP_ALIVE)
 
#define F_KEEP_ALIVE   V_KEEP_ALIVE(1U)
 
#define S_MAX_RETRANS   23
 
#define M_MAX_RETRANS   0xF
 
#define V_MAX_RETRANS(x)   ((x) << S_MAX_RETRANS)
 
#define G_MAX_RETRANS(x)   (((x) >> S_MAX_RETRANS) & M_MAX_RETRANS)
 
#define S_MAX_RETRANS_OVERRIDE   27
 
#define V_MAX_RETRANS_OVERRIDE(x)   ((x) << S_MAX_RETRANS_OVERRIDE)
 
#define F_MAX_RETRANS_OVERRIDE   V_MAX_RETRANS_OVERRIDE(1U)
 
#define S_MSS_IDX   28
 
#define M_MSS_IDX   0xF
 
#define V_MSS_IDX(x)   ((x) << S_MSS_IDX)
 
#define G_MSS_IDX(x)   (((x) >> S_MSS_IDX) & M_MSS_IDX)
 
#define S_RSS_ENABLE   0
 
#define V_RSS_ENABLE(x)   ((x) << S_RSS_ENABLE)
 
#define F_RSS_ENABLE   V_RSS_ENABLE(1U)
 
#define S_RSS_MASK_LEN   1
 
#define M_RSS_MASK_LEN   0x7
 
#define V_RSS_MASK_LEN(x)   ((x) << S_RSS_MASK_LEN)
 
#define G_RSS_MASK_LEN(x)   (((x) >> S_RSS_MASK_LEN) & M_RSS_MASK_LEN)
 
#define S_CPU_IDX   4
 
#define M_CPU_IDX   0x3F
 
#define V_CPU_IDX(x)   ((x) << S_CPU_IDX)
 
#define G_CPU_IDX(x)   (((x) >> S_CPU_IDX) & M_CPU_IDX)
 
#define S_MAC_MATCH_VALID   18
 
#define V_MAC_MATCH_VALID(x)   ((x) << S_MAC_MATCH_VALID)
 
#define F_MAC_MATCH_VALID   V_MAC_MATCH_VALID(1U)
 
#define S_CONN_POLICY   19
 
#define M_CONN_POLICY   0x3
 
#define V_CONN_POLICY(x)   ((x) << S_CONN_POLICY)
 
#define G_CONN_POLICY(x)   (((x) >> S_CONN_POLICY) & M_CONN_POLICY)
 
#define S_SYN_DEFENSE   21
 
#define V_SYN_DEFENSE(x)   ((x) << S_SYN_DEFENSE)
 
#define F_SYN_DEFENSE   V_SYN_DEFENSE(1U)
 
#define S_VLAN_PRI   22
 
#define M_VLAN_PRI   0x3
 
#define V_VLAN_PRI(x)   ((x) << S_VLAN_PRI)
 
#define G_VLAN_PRI(x)   (((x) >> S_VLAN_PRI) & M_VLAN_PRI)
 
#define S_VLAN_PRI_VALID   24
 
#define V_VLAN_PRI_VALID(x)   ((x) << S_VLAN_PRI_VALID)
 
#define F_VLAN_PRI_VALID   V_VLAN_PRI_VALID(1U)
 
#define S_PKT_TYPE   25
 
#define M_PKT_TYPE   0x3
 
#define V_PKT_TYPE(x)   ((x) << S_PKT_TYPE)
 
#define G_PKT_TYPE(x)   (((x) >> S_PKT_TYPE) & M_PKT_TYPE)
 
#define S_MAC_MATCH   27
 
#define M_MAC_MATCH   0x1F
 
#define V_MAC_MATCH(x)   ((x) << S_MAC_MATCH)
 
#define G_MAC_MATCH(x)   (((x) >> S_MAC_MATCH) & M_MAC_MATCH)
 
#define S_CPU_INDEX   0
 
#define M_CPU_INDEX   0x7F
 
#define V_CPU_INDEX(x)   ((x) << S_CPU_INDEX)
 
#define G_CPU_INDEX(x)   (((x) >> S_CPU_INDEX) & M_CPU_INDEX)
 
#define S_CPU_INDEX_VALID   7
 
#define V_CPU_INDEX_VALID(x)   ((x) << S_CPU_INDEX_VALID)
 
#define F_CPU_INDEX_VALID   V_CPU_INDEX_VALID(1U)
 
#define S_RX_COALESCE   8
 
#define M_RX_COALESCE   0x3
 
#define V_RX_COALESCE(x)   ((x) << S_RX_COALESCE)
 
#define G_RX_COALESCE(x)   (((x) >> S_RX_COALESCE) & M_RX_COALESCE)
 
#define S_RX_COALESCE_VALID   10
 
#define V_RX_COALESCE_VALID(x)   ((x) << S_RX_COALESCE_VALID)
 
#define F_RX_COALESCE_VALID   V_RX_COALESCE_VALID(1U)
 
#define S_CONG_CONTROL_FLAVOR   11
 
#define M_CONG_CONTROL_FLAVOR   0x3
 
#define V_CONG_CONTROL_FLAVOR(x)   ((x) << S_CONG_CONTROL_FLAVOR)
 
#define G_CONG_CONTROL_FLAVOR(x)   (((x) >> S_CONG_CONTROL_FLAVOR) & M_CONG_CONTROL_FLAVOR)
 
#define S_PACING_FLAVOR   13
 
#define M_PACING_FLAVOR   0x3
 
#define V_PACING_FLAVOR(x)   ((x) << S_PACING_FLAVOR)
 
#define G_PACING_FLAVOR(x)   (((x) >> S_PACING_FLAVOR) & M_PACING_FLAVOR)
 
#define S_FLAVORS_VALID   15
 
#define V_FLAVORS_VALID(x)   ((x) << S_FLAVORS_VALID)
 
#define F_FLAVORS_VALID   V_FLAVORS_VALID(1U)
 
#define S_RX_FC_DISABLE   16
 
#define V_RX_FC_DISABLE(x)   ((x) << S_RX_FC_DISABLE)
 
#define F_RX_FC_DISABLE   V_RX_FC_DISABLE(1U)
 
#define S_RX_FC_VALID   17
 
#define V_RX_FC_VALID(x)   ((x) << S_RX_FC_VALID)
 
#define F_RX_FC_VALID   V_RX_FC_VALID(1U)
 
#define S_PASS_OPEN_TID   0
 
#define M_PASS_OPEN_TID   0xFFFFFF
 
#define V_PASS_OPEN_TID(x)   ((x) << S_PASS_OPEN_TID)
 
#define G_PASS_OPEN_TID(x)   (((x) >> S_PASS_OPEN_TID) & M_PASS_OPEN_TID)
 
#define S_PASS_OPEN_TOS   24
 
#define M_PASS_OPEN_TOS   0xFF
 
#define V_PASS_OPEN_TOS(x)   ((x) << S_PASS_OPEN_TOS)
 
#define G_PASS_OPEN_TOS(x)   (((x) >> S_PASS_OPEN_TOS) & M_PASS_OPEN_TOS)
 
#define S_L2T_IDX16   5
 
#define M_L2T_IDX16   0x7FF
 
#define V_L2T_IDX16(x)   ((x) << S_L2T_IDX16)
 
#define G_L2T_IDX16(x)   (((x) >> S_L2T_IDX16) & M_L2T_IDX16)
 
#define G_TCPOPT_WSCALE_OK(x)   (((x) >> 5) & 1)
 
#define G_TCPOPT_SACK(x)   (((x) >> 6) & 1)
 
#define G_TCPOPT_TSTAMP(x)   (((x) >> 7) & 1)
 
#define G_TCPOPT_SND_WSCALE(x)   (((x) >> 8) & 0xf)
 
#define G_TCPOPT_MSS(x)   (((x) >> 12) & 0xf)
 
#define S_AOPEN_VLAN_PRI   9
 
#define M_AOPEN_VLAN_PRI   0x3
 
#define V_AOPEN_VLAN_PRI(x)   ((x) << S_AOPEN_VLAN_PRI)
 
#define G_AOPEN_VLAN_PRI(x)   (((x) >> S_AOPEN_VLAN_PRI) & M_AOPEN_VLAN_PRI)
 
#define S_AOPEN_VLAN_PRI_VALID   11
 
#define V_AOPEN_VLAN_PRI_VALID(x)   ((x) << S_AOPEN_VLAN_PRI_VALID)
 
#define F_AOPEN_VLAN_PRI_VALID   V_AOPEN_VLAN_PRI_VALID(1U)
 
#define S_AOPEN_PKT_TYPE   12
 
#define M_AOPEN_PKT_TYPE   0x3
 
#define V_AOPEN_PKT_TYPE(x)   ((x) << S_AOPEN_PKT_TYPE)
 
#define G_AOPEN_PKT_TYPE(x)   (((x) >> S_AOPEN_PKT_TYPE) & M_AOPEN_PKT_TYPE)
 
#define S_AOPEN_MAC_MATCH   14
 
#define M_AOPEN_MAC_MATCH   0x1F
 
#define V_AOPEN_MAC_MATCH(x)   ((x) << S_AOPEN_MAC_MATCH)
 
#define G_AOPEN_MAC_MATCH(x)   (((x) >> S_AOPEN_MAC_MATCH) & M_AOPEN_MAC_MATCH)
 
#define S_AOPEN_MAC_MATCH_VALID   19
 
#define V_AOPEN_MAC_MATCH_VALID(x)   ((x) << S_AOPEN_MAC_MATCH_VALID)
 
#define F_AOPEN_MAC_MATCH_VALID   V_AOPEN_MAC_MATCH_VALID(1U)
 
#define S_AOPEN_IFF_VLAN   20
 
#define M_AOPEN_IFF_VLAN   0xFFF
 
#define V_AOPEN_IFF_VLAN(x)   ((x) << S_AOPEN_IFF_VLAN)
 
#define G_AOPEN_IFF_VLAN(x)   (((x) >> S_AOPEN_IFF_VLAN) & M_AOPEN_IFF_VLAN)
 
#define S_NO_REPLY   7
 
#define V_NO_REPLY(x)   ((x) << S_NO_REPLY)
 
#define F_NO_REPLY   V_NO_REPLY(1U)
 
#define S_TX_ACK_PAGES   21
 
#define M_TX_ACK_PAGES   0x7
 
#define V_TX_ACK_PAGES(x)   ((x) << S_TX_ACK_PAGES)
 
#define G_TX_ACK_PAGES(x)   (((x) >> S_TX_ACK_PAGES) & M_TX_ACK_PAGES)
 
#define S_TX_PORT   0
 
#define M_TX_PORT   0x7
 
#define V_TX_PORT(x)   ((x) << S_TX_PORT)
 
#define G_TX_PORT(x)   (((x) >> S_TX_PORT) & M_TX_PORT)
 
#define S_TX_MSS   4
 
#define M_TX_MSS   0xF
 
#define V_TX_MSS(x)   ((x) << S_TX_MSS)
 
#define G_TX_MSS(x)   (((x) >> S_TX_MSS) & M_TX_MSS)
 
#define S_TX_QOS   8
 
#define M_TX_QOS   0xFF
 
#define V_TX_QOS(x)   ((x) << S_TX_QOS)
 
#define G_TX_QOS(x)   (((x) >> S_TX_QOS) & M_TX_QOS)
 
#define S_TX_SNDBUF   16
 
#define M_TX_SNDBUF   0xFFFF
 
#define V_TX_SNDBUF(x)   ((x) << S_TX_SNDBUF)
 
#define G_TX_SNDBUF(x)   (((x) >> S_TX_SNDBUF) & M_TX_SNDBUF)
 
#define S_TX_ULP_SUBMODE   6
 
#define M_TX_ULP_SUBMODE   0xF
 
#define V_TX_ULP_SUBMODE(x)   ((x) << S_TX_ULP_SUBMODE)
 
#define G_TX_ULP_SUBMODE(x)   (((x) >> S_TX_ULP_SUBMODE) & M_TX_ULP_SUBMODE)
 
#define S_TX_ULP_MODE   10
 
#define M_TX_ULP_MODE   0xF
 
#define V_TX_ULP_MODE(x)   ((x) << S_TX_ULP_MODE)
 
#define G_TX_ULP_MODE(x)   (((x) >> S_TX_ULP_MODE) & M_TX_ULP_MODE)
 
#define S_TX_SHOVE   14
 
#define V_TX_SHOVE(x)   ((x) << S_TX_SHOVE)
 
#define F_TX_SHOVE   V_TX_SHOVE(1U)
 
#define S_TX_MORE   15
 
#define V_TX_MORE(x)   ((x) << S_TX_MORE)
 
#define F_TX_MORE   V_TX_MORE(1U)
 
#define S_TX_CPU_IDX   0
 
#define M_TX_CPU_IDX   0x3F
 
#define V_TX_CPU_IDX(x)   ((x) << S_TX_CPU_IDX)
 
#define G_TX_CPU_IDX(x)   (((x) >> S_TX_CPU_IDX) & M_TX_CPU_IDX)
 
#define S_TX_URG   16
 
#define V_TX_URG(x)   ((x) << S_TX_URG)
 
#define F_TX_URG   V_TX_URG(1U)
 
#define S_TX_CLOSE   17
 
#define V_TX_CLOSE(x)   ((x) << S_TX_CLOSE)
 
#define F_TX_CLOSE   V_TX_CLOSE(1U)
 
#define S_TX_INIT   18
 
#define V_TX_INIT(x)   ((x) << S_TX_INIT)
 
#define F_TX_INIT   V_TX_INIT(1U)
 
#define S_TX_IMM_ACK   19
 
#define V_TX_IMM_ACK(x)   ((x) << S_TX_IMM_ACK)
 
#define F_TX_IMM_ACK   V_TX_IMM_ACK(1U)
 
#define S_TX_IMM_DMA   20
 
#define V_TX_IMM_DMA(x)   ((x) << S_TX_IMM_DMA)
 
#define F_TX_IMM_DMA   V_TX_IMM_DMA(1U)
 
#define S_ISCSI_PDU_LEN   0
 
#define M_ISCSI_PDU_LEN   0x7FFF
 
#define V_ISCSI_PDU_LEN(x)   ((x) << S_ISCSI_PDU_LEN)
 
#define G_ISCSI_PDU_LEN(x)   (((x) >> S_ISCSI_PDU_LEN) & M_ISCSI_PDU_LEN)
 
#define S_ISCSI_DDP   15
 
#define V_ISCSI_DDP(x)   ((x) << S_ISCSI_DDP)
 
#define F_ISCSI_DDP   V_ISCSI_DDP(1U)
 
#define S_RX_CREDITS   0
 
#define M_RX_CREDITS   0x7FFFFFF
 
#define V_RX_CREDITS(x)   ((x) << S_RX_CREDITS)
 
#define G_RX_CREDITS(x)   (((x) >> S_RX_CREDITS) & M_RX_CREDITS)
 
#define S_RX_MODULATE   27
 
#define V_RX_MODULATE(x)   ((x) << S_RX_MODULATE)
 
#define F_RX_MODULATE   V_RX_MODULATE(1U)
 
#define S_RX_FORCE_ACK   28
 
#define V_RX_FORCE_ACK(x)   ((x) << S_RX_FORCE_ACK)
 
#define F_RX_FORCE_ACK   V_RX_FORCE_ACK(1U)
 
#define S_RX_DACK_MODE   29
 
#define M_RX_DACK_MODE   0x3
 
#define V_RX_DACK_MODE(x)   ((x) << S_RX_DACK_MODE)
 
#define G_RX_DACK_MODE(x)   (((x) >> S_RX_DACK_MODE) & M_RX_DACK_MODE)
 
#define S_RX_DACK_CHANGE   31
 
#define V_RX_DACK_CHANGE(x)   ((x) << S_RX_DACK_CHANGE)
 
#define F_RX_DACK_CHANGE   V_RX_DACK_CHANGE(1U)
 
#define S_DDP_STATUS   0
 
#define M_DDP_STATUS   0xFF
 
#define V_DDP_STATUS(x)   ((x) << S_DDP_STATUS)
 
#define G_DDP_STATUS(x)   (((x) >> S_DDP_STATUS) & M_DDP_STATUS)
 
#define S_DDP_VALID   15
 
#define M_DDP_VALID   0x1FFFF
 
#define V_DDP_VALID(x)   ((x) << S_DDP_VALID)
 
#define G_DDP_VALID(x)   (((x) >> S_DDP_VALID) & M_DDP_VALID)
 
#define S_DDP_PPOD_MISMATCH   15
 
#define V_DDP_PPOD_MISMATCH(x)   ((x) << S_DDP_PPOD_MISMATCH)
 
#define F_DDP_PPOD_MISMATCH   V_DDP_PPOD_MISMATCH(1U)
 
#define S_DDP_PDU   16
 
#define V_DDP_PDU(x)   ((x) << S_DDP_PDU)
 
#define F_DDP_PDU   V_DDP_PDU(1U)
 
#define S_DDP_LLIMIT_ERR   17
 
#define V_DDP_LLIMIT_ERR(x)   ((x) << S_DDP_LLIMIT_ERR)
 
#define F_DDP_LLIMIT_ERR   V_DDP_LLIMIT_ERR(1U)
 
#define S_DDP_PPOD_PARITY_ERR   18
 
#define V_DDP_PPOD_PARITY_ERR(x)   ((x) << S_DDP_PPOD_PARITY_ERR)
 
#define F_DDP_PPOD_PARITY_ERR   V_DDP_PPOD_PARITY_ERR(1U)
 
#define S_DDP_PADDING_ERR   19
 
#define V_DDP_PADDING_ERR(x)   ((x) << S_DDP_PADDING_ERR)
 
#define F_DDP_PADDING_ERR   V_DDP_PADDING_ERR(1U)
 
#define S_DDP_HDRCRC_ERR   20
 
#define V_DDP_HDRCRC_ERR(x)   ((x) << S_DDP_HDRCRC_ERR)
 
#define F_DDP_HDRCRC_ERR   V_DDP_HDRCRC_ERR(1U)
 
#define S_DDP_DATACRC_ERR   21
 
#define V_DDP_DATACRC_ERR(x)   ((x) << S_DDP_DATACRC_ERR)
 
#define F_DDP_DATACRC_ERR   V_DDP_DATACRC_ERR(1U)
 
#define S_DDP_INVALID_TAG   22
 
#define V_DDP_INVALID_TAG(x)   ((x) << S_DDP_INVALID_TAG)
 
#define F_DDP_INVALID_TAG   V_DDP_INVALID_TAG(1U)
 
#define S_DDP_ULIMIT_ERR   23
 
#define V_DDP_ULIMIT_ERR(x)   ((x) << S_DDP_ULIMIT_ERR)
 
#define F_DDP_ULIMIT_ERR   V_DDP_ULIMIT_ERR(1U)
 
#define S_DDP_OFFSET_ERR   24
 
#define V_DDP_OFFSET_ERR(x)   ((x) << S_DDP_OFFSET_ERR)
 
#define F_DDP_OFFSET_ERR   V_DDP_OFFSET_ERR(1U)
 
#define S_DDP_COLOR_ERR   25
 
#define V_DDP_COLOR_ERR(x)   ((x) << S_DDP_COLOR_ERR)
 
#define F_DDP_COLOR_ERR   V_DDP_COLOR_ERR(1U)
 
#define S_DDP_TID_MISMATCH   26
 
#define V_DDP_TID_MISMATCH(x)   ((x) << S_DDP_TID_MISMATCH)
 
#define F_DDP_TID_MISMATCH   V_DDP_TID_MISMATCH(1U)
 
#define S_DDP_INVALID_PPOD   27
 
#define V_DDP_INVALID_PPOD(x)   ((x) << S_DDP_INVALID_PPOD)
 
#define F_DDP_INVALID_PPOD   V_DDP_INVALID_PPOD(1U)
 
#define S_DDP_ULP_MODE   28
 
#define M_DDP_ULP_MODE   0xF
 
#define V_DDP_ULP_MODE(x)   ((x) << S_DDP_ULP_MODE)
 
#define G_DDP_ULP_MODE(x)   (((x) >> S_DDP_ULP_MODE) & M_DDP_ULP_MODE)
 
#define S_DDP_OFFSET   0
 
#define M_DDP_OFFSET   0x3FFFFF
 
#define V_DDP_OFFSET(x)   ((x) << S_DDP_OFFSET)
 
#define G_DDP_OFFSET(x)   (((x) >> S_DDP_OFFSET) & M_DDP_OFFSET)
 
#define S_DDP_URG   24
 
#define V_DDP_URG(x)   ((x) << S_DDP_URG)
 
#define F_DDP_URG   V_DDP_URG(1U)
 
#define S_DDP_PSH   25
 
#define V_DDP_PSH(x)   ((x) << S_DDP_PSH)
 
#define F_DDP_PSH   V_DDP_PSH(1U)
 
#define S_DDP_BUF_COMPLETE   26
 
#define V_DDP_BUF_COMPLETE(x)   ((x) << S_DDP_BUF_COMPLETE)
 
#define F_DDP_BUF_COMPLETE   V_DDP_BUF_COMPLETE(1U)
 
#define S_DDP_BUF_TIMED_OUT   27
 
#define V_DDP_BUF_TIMED_OUT(x)   ((x) << S_DDP_BUF_TIMED_OUT)
 
#define F_DDP_BUF_TIMED_OUT   V_DDP_BUF_TIMED_OUT(1U)
 
#define S_DDP_BUF_IDX   28
 
#define V_DDP_BUF_IDX(x)   ((x) << S_DDP_BUF_IDX)
 
#define F_DDP_BUF_IDX   V_DDP_BUF_IDX(1U)
 
#define S_TXPKT_VLAN   0
 
#define M_TXPKT_VLAN   0xFFFF
 
#define V_TXPKT_VLAN(x)   ((x) << S_TXPKT_VLAN)
 
#define G_TXPKT_VLAN(x)   (((x) >> S_TXPKT_VLAN) & M_TXPKT_VLAN)
 
#define S_TXPKT_INTF   16
 
#define M_TXPKT_INTF   0xF
 
#define V_TXPKT_INTF(x)   ((x) << S_TXPKT_INTF)
 
#define G_TXPKT_INTF(x)   (((x) >> S_TXPKT_INTF) & M_TXPKT_INTF)
 
#define S_TXPKT_IPCSUM_DIS   20
 
#define V_TXPKT_IPCSUM_DIS(x)   ((x) << S_TXPKT_IPCSUM_DIS)
 
#define F_TXPKT_IPCSUM_DIS   V_TXPKT_IPCSUM_DIS(1U)
 
#define S_TXPKT_L4CSUM_DIS   21
 
#define V_TXPKT_L4CSUM_DIS(x)   ((x) << S_TXPKT_L4CSUM_DIS)
 
#define F_TXPKT_L4CSUM_DIS   V_TXPKT_L4CSUM_DIS(1U)
 
#define S_TXPKT_VLAN_VLD   22
 
#define V_TXPKT_VLAN_VLD(x)   ((x) << S_TXPKT_VLAN_VLD)
 
#define F_TXPKT_VLAN_VLD   V_TXPKT_VLAN_VLD(1U)
 
#define S_TXPKT_LOOPBACK   23
 
#define V_TXPKT_LOOPBACK(x)   ((x) << S_TXPKT_LOOPBACK)
 
#define F_TXPKT_LOOPBACK   V_TXPKT_LOOPBACK(1U)
 
#define S_TXPKT_OPCODE   24
 
#define M_TXPKT_OPCODE   0xFF
 
#define V_TXPKT_OPCODE(x)   ((x) << S_TXPKT_OPCODE)
 
#define G_TXPKT_OPCODE(x)   (((x) >> S_TXPKT_OPCODE) & M_TXPKT_OPCODE)
 
#define S_LSO_MSS   0
 
#define M_LSO_MSS   0x3FFF
 
#define V_LSO_MSS(x)   ((x) << S_LSO_MSS)
 
#define G_LSO_MSS(x)   (((x) >> S_LSO_MSS) & M_LSO_MSS)
 
#define S_LSO_ETH_TYPE   14
 
#define M_LSO_ETH_TYPE   0x3
 
#define V_LSO_ETH_TYPE(x)   ((x) << S_LSO_ETH_TYPE)
 
#define G_LSO_ETH_TYPE(x)   (((x) >> S_LSO_ETH_TYPE) & M_LSO_ETH_TYPE)
 
#define S_LSO_TCPHDR_WORDS   16
 
#define M_LSO_TCPHDR_WORDS   0xF
 
#define V_LSO_TCPHDR_WORDS(x)   ((x) << S_LSO_TCPHDR_WORDS)
 
#define G_LSO_TCPHDR_WORDS(x)   (((x) >> S_LSO_TCPHDR_WORDS) & M_LSO_TCPHDR_WORDS)
 
#define S_LSO_IPHDR_WORDS   20
 
#define M_LSO_IPHDR_WORDS   0xF
 
#define V_LSO_IPHDR_WORDS(x)   ((x) << S_LSO_IPHDR_WORDS)
 
#define G_LSO_IPHDR_WORDS(x)   (((x) >> S_LSO_IPHDR_WORDS) & M_LSO_IPHDR_WORDS)
 
#define S_LSO_IPV6   24
 
#define V_LSO_IPV6(x)   ((x) << S_LSO_IPV6)
 
#define F_LSO_IPV6   V_LSO_IPV6(1U)
 
#define S_L2T_W_IDX   0
 
#define M_L2T_W_IDX   0x7FF
 
#define V_L2T_W_IDX(x)   ((x) << S_L2T_W_IDX)
 
#define G_L2T_W_IDX(x)   (((x) >> S_L2T_W_IDX) & M_L2T_W_IDX)
 
#define S_L2T_W_VLAN   11
 
#define M_L2T_W_VLAN   0xFFF
 
#define V_L2T_W_VLAN(x)   ((x) << S_L2T_W_VLAN)
 
#define G_L2T_W_VLAN(x)   (((x) >> S_L2T_W_VLAN) & M_L2T_W_VLAN)
 
#define S_L2T_W_IFF   23
 
#define M_L2T_W_IFF   0xF
 
#define V_L2T_W_IFF(x)   ((x) << S_L2T_W_IFF)
 
#define G_L2T_W_IFF(x)   (((x) >> S_L2T_W_IFF) & M_L2T_W_IFF)
 
#define S_L2T_W_PRIO   27
 
#define M_L2T_W_PRIO   0x7
 
#define V_L2T_W_PRIO(x)   ((x) << S_L2T_W_PRIO)
 
#define G_L2T_W_PRIO(x)   (((x) >> S_L2T_W_PRIO) & M_L2T_W_PRIO)
 
#define S_L2T_R_PRIO   0
 
#define M_L2T_R_PRIO   0x7
 
#define V_L2T_R_PRIO(x)   ((x) << S_L2T_R_PRIO)
 
#define G_L2T_R_PRIO(x)   (((x) >> S_L2T_R_PRIO) & M_L2T_R_PRIO)
 
#define S_L2T_R_VLAN   8
 
#define M_L2T_R_VLAN   0xFFF
 
#define V_L2T_R_VLAN(x)   ((x) << S_L2T_R_VLAN)
 
#define G_L2T_R_VLAN(x)   (((x) >> S_L2T_R_VLAN) & M_L2T_R_VLAN)
 
#define S_L2T_R_IFF   20
 
#define M_L2T_R_IFF   0xF
 
#define V_L2T_R_IFF(x)   ((x) << S_L2T_R_IFF)
 
#define G_L2T_R_IFF(x)   (((x) >> S_L2T_R_IFF) & M_L2T_R_IFF)
 
#define S_L2T_STATUS   24
 
#define M_L2T_STATUS   0xFF
 
#define V_L2T_STATUS(x)   ((x) << S_L2T_STATUS)
 
#define G_L2T_STATUS(x)   (((x) >> S_L2T_STATUS) & M_L2T_STATUS)
 
#define S_RTE_REQ_LUT_IX   8
 
#define M_RTE_REQ_LUT_IX   0x7FF
 
#define V_RTE_REQ_LUT_IX(x)   ((x) << S_RTE_REQ_LUT_IX)
 
#define G_RTE_REQ_LUT_IX(x)   (((x) >> S_RTE_REQ_LUT_IX) & M_RTE_REQ_LUT_IX)
 
#define S_RTE_REQ_LUT_BASE   19
 
#define M_RTE_REQ_LUT_BASE   0x7FF
 
#define V_RTE_REQ_LUT_BASE(x)   ((x) << S_RTE_REQ_LUT_BASE)
 
#define G_RTE_REQ_LUT_BASE(x)   (((x) >> S_RTE_REQ_LUT_BASE) & M_RTE_REQ_LUT_BASE)
 
#define S_RTE_READ_REQ_SELECT   31
 
#define V_RTE_READ_REQ_SELECT(x)   ((x) << S_RTE_READ_REQ_SELECT)
 
#define F_RTE_READ_REQ_SELECT   V_RTE_READ_REQ_SELECT(1U)
 
#define S_RTE_WRITE_REQ_LUT_IX   10
 
#define M_RTE_WRITE_REQ_LUT_IX   0x7FF
 
#define V_RTE_WRITE_REQ_LUT_IX(x)   ((x) << S_RTE_WRITE_REQ_LUT_IX)
 
#define G_RTE_WRITE_REQ_LUT_IX(x)   (((x) >> S_RTE_WRITE_REQ_LUT_IX) & M_RTE_WRITE_REQ_LUT_IX)
 
#define S_RTE_WRITE_REQ_LUT_BASE   21
 
#define M_RTE_WRITE_REQ_LUT_BASE   0x7FF
 
#define V_RTE_WRITE_REQ_LUT_BASE(x)   ((x) << S_RTE_WRITE_REQ_LUT_BASE)
 
#define G_RTE_WRITE_REQ_LUT_BASE(x)   (((x) >> S_RTE_WRITE_REQ_LUT_BASE) & M_RTE_WRITE_REQ_LUT_BASE)
 
#define S_FLIT_CNT   0
 
#define M_FLIT_CNT   0xFF
 
#define V_FLIT_CNT(x)   ((x) << S_FLIT_CNT)
 
#define G_FLIT_CNT(x)   (((x) >> S_FLIT_CNT) & M_FLIT_CNT)
 
#define S_TERM_TID   8
 
#define M_TERM_TID   0xFFFFF
 
#define V_TERM_TID(x)   ((x) << S_TERM_TID)
 
#define G_TERM_TID(x)   (((x) >> S_TERM_TID) & M_TERM_TID)
 
#define S_ULPTX_CMD   28
 
#define M_ULPTX_CMD   0xF
 
#define V_ULPTX_CMD(x)   ((x) << S_ULPTX_CMD)
 
#define S_ULPTX_NFLITS   0
 
#define M_ULPTX_NFLITS   0xFF
 
#define V_ULPTX_NFLITS(x)   ((x) << S_ULPTX_NFLITS)
 
#define S_ULP_MEMIO_ADDR   0
 
#define M_ULP_MEMIO_ADDR   0x7FFFFFF
 
#define V_ULP_MEMIO_ADDR(x)   ((x) << S_ULP_MEMIO_ADDR)
 
#define S_ULP_MEMIO_LOCK   27
 
#define V_ULP_MEMIO_LOCK(x)   ((x) << S_ULP_MEMIO_LOCK)
 
#define F_ULP_MEMIO_LOCK   V_ULP_MEMIO_LOCK(1U)
 
#define S_ULP_MEMIO_DATA_LEN   28
 
#define M_ULP_MEMIO_DATA_LEN   0xF
 
#define V_ULP_MEMIO_DATA_LEN(x)   ((x) << S_ULP_MEMIO_DATA_LEN)
 

Enumerations

enum  CPL_opcode {
  CPL_PASS_OPEN_REQ = 0x1, CPL_PASS_OPEN_RPL = 0x2, CPL_PASS_ESTABLISH = 0x3, CPL_PASS_ACCEPT_REQ = 0xE,
  CPL_PASS_ACCEPT_RPL = 0x4, CPL_ACT_OPEN_REQ = 0x5, CPL_ACT_OPEN_RPL = 0x6, CPL_CLOSE_CON_REQ = 0x7,
  CPL_CLOSE_CON_RPL = 0x8, CPL_CLOSE_LISTSRV_REQ = 0x9, CPL_CLOSE_LISTSRV_RPL = 0xA, CPL_ABORT_REQ = 0xB,
  CPL_ABORT_RPL = 0xC, CPL_PEER_CLOSE = 0xD, CPL_ACT_ESTABLISH = 0x17, CPL_GET_TCB = 0x24,
  CPL_GET_TCB_RPL = 0x25, CPL_SET_TCB = 0x26, CPL_SET_TCB_FIELD = 0x27, CPL_SET_TCB_RPL = 0x28,
  CPL_PCMD = 0x29, CPL_PCMD_READ = 0x31, CPL_PCMD_READ_RPL = 0x32, CPL_RX_DATA = 0xA0,
  CPL_RX_DATA_DDP = 0xA1, CPL_RX_DATA_ACK = 0xA3, CPL_RX_PKT = 0xAD, CPL_RX_ISCSI_HDR = 0xAF,
  CPL_TX_DATA_ACK = 0xB0, CPL_TX_DATA = 0xB1, CPL_TX_PKT = 0xB2, CPL_TX_PKT_LSO = 0xB6,
  CPL_RTE_DELETE_REQ = 0xC0, CPL_RTE_DELETE_RPL = 0xC1, CPL_RTE_WRITE_REQ = 0xC2, CPL_RTE_WRITE_RPL = 0xD3,
  CPL_RTE_READ_REQ = 0xC3, CPL_RTE_READ_RPL = 0xC4, CPL_L2T_WRITE_REQ = 0xC5, CPL_L2T_WRITE_RPL = 0xD4,
  CPL_L2T_READ_REQ = 0xC6, CPL_L2T_READ_RPL = 0xC7, CPL_SMT_WRITE_REQ = 0xC8, CPL_SMT_WRITE_RPL = 0xD5,
  CPL_SMT_READ_REQ = 0xC9, CPL_SMT_READ_RPL = 0xCA, CPL_ARP_MISS_REQ = 0xCD, CPL_ARP_MISS_RPL = 0xCE,
  CPL_MIGRATE_C2T_REQ = 0xDC, CPL_MIGRATE_C2T_RPL = 0xDD, CPL_ERROR = 0xD7, CPL_MSS_CHANGE = 0xE1,
  CPL_PASS_OPEN_REQ = 0x1, CPL_PASS_ACCEPT_RPL = 0x2, CPL_ACT_OPEN_REQ = 0x3, CPL_SET_TCB = 0x4,
  CPL_SET_TCB_FIELD = 0x5, CPL_GET_TCB = 0x6, CPL_PCMD = 0x7, CPL_CLOSE_CON_REQ = 0x8,
  CPL_CLOSE_LISTSRV_REQ = 0x9, CPL_ABORT_REQ = 0xA, CPL_ABORT_RPL = 0xB, CPL_TX_DATA = 0xC,
  CPL_RX_DATA_ACK = 0xD, CPL_TX_PKT = 0xE, CPL_RTE_DELETE_REQ = 0xF, CPL_RTE_WRITE_REQ = 0x10,
  CPL_RTE_READ_REQ = 0x11, CPL_L2T_WRITE_REQ = 0x12, CPL_L2T_READ_REQ = 0x13, CPL_SMT_WRITE_REQ = 0x14,
  CPL_SMT_READ_REQ = 0x15, CPL_TX_PKT_LSO = 0x16, CPL_PCMD_READ = 0x17, CPL_BARRIER = 0x18,
  CPL_TID_RELEASE = 0x1A, CPL_CLOSE_LISTSRV_RPL = 0x20, CPL_ERROR = 0x21, CPL_GET_TCB_RPL = 0x22,
  CPL_L2T_WRITE_RPL = 0x23, CPL_PCMD_READ_RPL = 0x24, CPL_PCMD_RPL = 0x25, CPL_PEER_CLOSE = 0x26,
  CPL_RTE_DELETE_RPL = 0x27, CPL_RTE_WRITE_RPL = 0x28, CPL_RX_DDP_COMPLETE = 0x29, CPL_RX_PHYS_ADDR = 0x2A,
  CPL_RX_PKT = 0x2B, CPL_RX_URG_NOTIFY = 0x2C, CPL_SET_TCB_RPL = 0x2D, CPL_SMT_WRITE_RPL = 0x2E,
  CPL_TX_DATA_ACK = 0x2F, CPL_ABORT_REQ_RSS = 0x30, CPL_ABORT_RPL_RSS = 0x31, CPL_CLOSE_CON_RPL = 0x32,
  CPL_ISCSI_HDR = 0x33, CPL_L2T_READ_RPL = 0x34, CPL_RDMA_CQE = 0x35, CPL_RDMA_CQE_READ_RSP = 0x36,
  CPL_RDMA_CQE_ERR = 0x37, CPL_RTE_READ_RPL = 0x38, CPL_RX_DATA = 0x39, CPL_ACT_OPEN_RPL = 0x40,
  CPL_PASS_OPEN_RPL = 0x41, CPL_RX_DATA_DDP = 0x42, CPL_SMT_READ_RPL = 0x43, CPL_ACT_ESTABLISH = 0x50,
  CPL_PASS_ESTABLISH = 0x51, CPL_PASS_ACCEPT_REQ = 0x70, CPL_ASYNC_NOTIF = 0x80, CPL_TX_DMA_ACK = 0xA0,
  CPL_RDMA_READ_REQ = 0xA1, CPL_RDMA_TERMINATE = 0xA2, CPL_TRACE_PKT = 0xA3, CPL_RDMA_EC_STATUS = 0xA5,
  NUM_CPL_CMDS
}
 
enum  CPL_error {
  CPL_ERR_NONE = 0, CPL_ERR_TCAM_PARITY = 1, CPL_ERR_TCAM_FULL = 3, CPL_ERR_CONN_RESET = 20,
  CPL_ERR_CONN_EXIST = 22, CPL_ERR_ARP_MISS = 23, CPL_ERR_BAD_SYN = 24, CPL_ERR_CONN_TIMEDOUT = 30,
  CPL_ERR_XMIT_TIMEDOUT = 31, CPL_ERR_PERSIST_TIMEDOUT = 32, CPL_ERR_FINWAIT2_TIMEDOUT = 33, CPL_ERR_KEEPALIVE_TIMEDOUT = 34,
  CPL_ERR_ABORT_FAILED = 42, CPL_ERR_GENERAL = 99, CPL_ERR_NONE = 0, CPL_ERR_TCAM_PARITY = 1,
  CPL_ERR_TCAM_FULL = 3, CPL_ERR_CONN_RESET = 20, CPL_ERR_CONN_EXIST = 22, CPL_ERR_ARP_MISS = 23,
  CPL_ERR_BAD_SYN = 24, CPL_ERR_CONN_TIMEDOUT = 30, CPL_ERR_XMIT_TIMEDOUT = 31, CPL_ERR_PERSIST_TIMEDOUT = 32,
  CPL_ERR_FINWAIT2_TIMEDOUT = 33, CPL_ERR_KEEPALIVE_TIMEDOUT = 34, CPL_ERR_RTX_NEG_ADVICE = 35, CPL_ERR_PERSIST_NEG_ADVICE = 36,
  CPL_ERR_ABORT_FAILED = 42, CPL_ERR_GENERAL = 99, CPL_ERR_NONE = 0, CPL_ERR_TCAM_FULL = 3,
  CPL_ERR_BAD_LENGTH = 15, CPL_ERR_BAD_ROUTE = 18, CPL_ERR_CONN_RESET = 20, CPL_ERR_CONN_EXIST_SYNRECV = 21,
  CPL_ERR_CONN_EXIST = 22, CPL_ERR_ARP_MISS = 23, CPL_ERR_BAD_SYN = 24, CPL_ERR_CONN_TIMEDOUT = 30,
  CPL_ERR_XMIT_TIMEDOUT = 31, CPL_ERR_PERSIST_TIMEDOUT = 32, CPL_ERR_FINWAIT2_TIMEDOUT = 33, CPL_ERR_KEEPALIVE_TIMEDOUT = 34,
  CPL_ERR_RTX_NEG_ADVICE = 35, CPL_ERR_PERSIST_NEG_ADVICE = 36, CPL_ERR_ABORT_FAILED = 42, CPL_ERR_IWARP_FLM = 50
}
 
enum  { CPL_CONN_POLICY_AUTO = 0, CPL_CONN_POLICY_ASK = 1, CPL_CONN_POLICY_DENY = 3 }
 
enum  { ULP_MODE_NONE = 0, ULP_MODE_ISCSI = 2, ULP_MODE_RDMA = 4, ULP_MODE_TCPDDP = 5 }
 
enum  { ULP_CRC_HEADER = 1 << 0, ULP_CRC_DATA = 1 << 1 }
 
enum  { CPL_PASS_OPEN_ACCEPT, CPL_PASS_OPEN_REJECT }
 
enum  { CPL_ABORT_SEND_RST = 0, CPL_ABORT_NO_RST, CPL_ABORT_POST_CLOSE_REQ = 2 }
 
enum  { CPL_ETH_II, CPL_ETH_II_VLAN, CPL_ETH_802_3, CPL_ETH_802_3_VLAN }
 
enum  { CONG_ALG_RENO, CONG_ALG_TAHOE, CONG_ALG_NEWRENO, CONG_ALG_HIGHSPEED }
 
enum  { RSS_HASH_NONE = 0, RSS_HASH_2_TUPLE = 1, RSS_HASH_4_TUPLE = 2, RSS_HASH_TCPV6 = 3 }
 
enum  { ULP_MEM_READ = 2, ULP_MEM_WRITE = 3, ULP_TXPKT = 4 }
 

Macro Definition Documentation

#define F_AOPEN_MAC_MATCH_VALID   V_AOPEN_MAC_MATCH_VALID(1U)

Definition at line 610 of file t3_cpl.h.

#define F_AOPEN_VLAN_PRI_VALID   V_AOPEN_VLAN_PRI_VALID(1U)

Definition at line 596 of file t3_cpl.h.

#define F_CPU_INDEX_VALID   V_CPU_INDEX_VALID(1U)

Definition at line 445 of file t3_cpl.h.

#define F_DDP_BUF_COMPLETE   V_DDP_BUF_COMPLETE(1U)

Definition at line 1073 of file t3_cpl.h.

#define F_DDP_BUF_IDX   V_DDP_BUF_IDX(1U)

Definition at line 1081 of file t3_cpl.h.

#define F_DDP_BUF_TIMED_OUT   V_DDP_BUF_TIMED_OUT(1U)

Definition at line 1077 of file t3_cpl.h.

#define F_DDP_COLOR_ERR   V_DDP_COLOR_ERR(1U)

Definition at line 1042 of file t3_cpl.h.

#define F_DDP_DATACRC_ERR   V_DDP_DATACRC_ERR(1U)

Definition at line 1026 of file t3_cpl.h.

#define F_DDP_HDRCRC_ERR   V_DDP_HDRCRC_ERR(1U)

Definition at line 1022 of file t3_cpl.h.

#define F_DDP_INVALID_PPOD   V_DDP_INVALID_PPOD(1U)

Definition at line 1050 of file t3_cpl.h.

#define F_DDP_INVALID_TAG   V_DDP_INVALID_TAG(1U)

Definition at line 1030 of file t3_cpl.h.

#define F_DDP_LLIMIT_ERR   V_DDP_LLIMIT_ERR(1U)

Definition at line 1010 of file t3_cpl.h.

#define F_DDP_OFFSET_ERR   V_DDP_OFFSET_ERR(1U)

Definition at line 1038 of file t3_cpl.h.

#define F_DDP_PADDING_ERR   V_DDP_PADDING_ERR(1U)

Definition at line 1018 of file t3_cpl.h.

#define F_DDP_PDU   V_DDP_PDU(1U)

Definition at line 1006 of file t3_cpl.h.

#define F_DDP_PPOD_MISMATCH   V_DDP_PPOD_MISMATCH(1U)

Definition at line 1002 of file t3_cpl.h.

#define F_DDP_PPOD_PARITY_ERR   V_DDP_PPOD_PARITY_ERR(1U)

Definition at line 1014 of file t3_cpl.h.

#define F_DDP_PSH   V_DDP_PSH(1U)

Definition at line 1069 of file t3_cpl.h.

#define F_DDP_TID_MISMATCH   V_DDP_TID_MISMATCH(1U)

Definition at line 1046 of file t3_cpl.h.

#define F_DDP_ULIMIT_ERR   V_DDP_ULIMIT_ERR(1U)

Definition at line 1034 of file t3_cpl.h.

#define F_DDP_URG   V_DDP_URG(1U)

Definition at line 1065 of file t3_cpl.h.

#define F_DELACK   V_DELACK(1U)

Definition at line 339 of file t3_cpl.h.

#define F_FLAVORS_VALID   V_FLAVORS_VALID(1U)

Definition at line 468 of file t3_cpl.h.

#define F_INJECT_TIMER   V_INJECT_TIMER(1U)

Definition at line 315 of file t3_cpl.h.

#define F_ISCSI_DDP   V_ISCSI_DDP(1U)

Definition at line 915 of file t3_cpl.h.

#define F_KEEP_ALIVE   V_KEEP_ALIVE(1U)

Definition at line 374 of file t3_cpl.h.

#define F_LSO_IPV6   V_LSO_IPV6(1U)

Definition at line 1153 of file t3_cpl.h.

#define F_MAC_MATCH_VALID   V_MAC_MATCH_VALID(1U)

Definition at line 407 of file t3_cpl.h.

#define F_MAX_RETRANS_OVERRIDE   V_MAX_RETRANS_OVERRIDE(1U)

Definition at line 383 of file t3_cpl.h.

#define F_NAGLE   V_NAGLE(1U)

Definition at line 365 of file t3_cpl.h.

#define F_NO_CONG   V_NO_CONG(1U)

Definition at line 343 of file t3_cpl.h.

#define F_NO_OFFLOAD   V_NO_OFFLOAD(1U)

Definition at line 319 of file t3_cpl.h.

#define F_NO_REPLY   V_NO_REPLY(1U)

Definition at line 666 of file t3_cpl.h.

#define F_RSS_ENABLE   V_RSS_ENABLE(1U)

Definition at line 393 of file t3_cpl.h.

#define F_RTE_READ_REQ_SELECT   V_RTE_READ_REQ_SELECT(1U)

Definition at line 1352 of file t3_cpl.h.

#define F_RX_COALESCE_VALID   V_RX_COALESCE_VALID(1U)

Definition at line 454 of file t3_cpl.h.

#define F_RX_DACK_CHANGE   V_RX_DACK_CHANGE(1U)

Definition at line 964 of file t3_cpl.h.

#define F_RX_FC_DISABLE   V_RX_FC_DISABLE(1U)

Definition at line 472 of file t3_cpl.h.

#define F_RX_FC_VALID   V_RX_FC_VALID(1U)

Definition at line 476 of file t3_cpl.h.

#define F_RX_FORCE_ACK   V_RX_FORCE_ACK(1U)

Definition at line 955 of file t3_cpl.h.

#define F_RX_MODULATE   V_RX_MODULATE(1U)

Definition at line 951 of file t3_cpl.h.

#define F_SYN_DEFENSE   V_SYN_DEFENSE(1U)

Definition at line 416 of file t3_cpl.h.

#define F_TCAM_BYPASS   V_TCAM_BYPASS(1U)

Definition at line 361 of file t3_cpl.h.

#define F_TX_CHANNEL   V_TX_CHANNEL(1U)

Definition at line 357 of file t3_cpl.h.

#define F_TX_CLOSE   V_TX_CLOSE(1U)

Definition at line 851 of file t3_cpl.h.

#define F_TX_IMM_ACK   V_TX_IMM_ACK(1U)

Definition at line 859 of file t3_cpl.h.

#define F_TX_IMM_DMA   V_TX_IMM_DMA(1U)

Definition at line 863 of file t3_cpl.h.

#define F_TX_INIT   V_TX_INIT(1U)

Definition at line 855 of file t3_cpl.h.

#define F_TX_MORE   V_TX_MORE(1U)

Definition at line 837 of file t3_cpl.h.

#define F_TX_SHOVE   V_TX_SHOVE(1U)

Definition at line 833 of file t3_cpl.h.

#define F_TX_URG   V_TX_URG(1U)

Definition at line 847 of file t3_cpl.h.

#define F_TXPKT_IPCSUM_DIS   V_TXPKT_IPCSUM_DIS(1U)

Definition at line 1111 of file t3_cpl.h.

#define F_TXPKT_L4CSUM_DIS   V_TXPKT_L4CSUM_DIS(1U)

Definition at line 1115 of file t3_cpl.h.

#define F_TXPKT_LOOPBACK   V_TXPKT_LOOPBACK(1U)

Definition at line 1123 of file t3_cpl.h.

#define F_TXPKT_VLAN_VLD   V_TXPKT_VLAN_VLD(1U)

Definition at line 1119 of file t3_cpl.h.

#define F_ULP_MEMIO_LOCK   V_ULP_MEMIO_LOCK(1U)

Definition at line 1488 of file t3_cpl.h.

#define F_VLAN_PRI_VALID   V_VLAN_PRI_VALID(1U)

Definition at line 425 of file t3_cpl.h.

#define F_WR_COMPL   V_WR_COMPL(1U)

Definition at line 266 of file t3_cpl.h.

#define F_WR_CR_FLUSH   V_WR_CR_FLUSH(1U)

Definition at line 294 of file t3_cpl.h.

#define F_WR_DATATYPE   V_WR_DATATYPE(1U)

Definition at line 262 of file t3_cpl.h.

#define F_WR_EOP   V_WR_EOP(1U)

Definition at line 270 of file t3_cpl.h.

#define F_WR_GEN   V_WR_GEN(1U)

Definition at line 298 of file t3_cpl.h.

#define F_WR_SOP   V_WR_SOP(1U)

Definition at line 274 of file t3_cpl.h.

#define G_AOPEN_IFF_VLAN (   x)    (((x) >> S_AOPEN_IFF_VLAN) & M_AOPEN_IFF_VLAN)

Definition at line 615 of file t3_cpl.h.

#define G_AOPEN_MAC_MATCH (   x)    (((x) >> S_AOPEN_MAC_MATCH) & M_AOPEN_MAC_MATCH)

Definition at line 606 of file t3_cpl.h.

#define G_AOPEN_PKT_TYPE (   x)    (((x) >> S_AOPEN_PKT_TYPE) & M_AOPEN_PKT_TYPE)

Definition at line 601 of file t3_cpl.h.

#define G_AOPEN_VLAN_PRI (   x)    (((x) >> S_AOPEN_VLAN_PRI) & M_AOPEN_VLAN_PRI)

Definition at line 592 of file t3_cpl.h.

#define G_CONG_CONTROL_FLAVOR (   x)    (((x) >> S_CONG_CONTROL_FLAVOR) & M_CONG_CONTROL_FLAVOR)

Definition at line 459 of file t3_cpl.h.

#define G_CONN_POLICY (   x)    (((x) >> S_CONN_POLICY) & M_CONN_POLICY)

Definition at line 412 of file t3_cpl.h.

#define G_CPL_STATUS (   x)    (((x) >> S_CPL_STATUS) & M_CPL_STATUS)

Definition at line 311 of file t3_cpl.h.

#define G_CPU_IDX (   x)    (((x) >> S_CPU_IDX) & M_CPU_IDX)

Definition at line 403 of file t3_cpl.h.

#define G_CPU_INDEX (   x)    (((x) >> S_CPU_INDEX) & M_CPU_INDEX)

Definition at line 441 of file t3_cpl.h.

#define G_DDP_OFFSET (   x)    (((x) >> S_DDP_OFFSET) & M_DDP_OFFSET)

Definition at line 1061 of file t3_cpl.h.

#define G_DDP_STATUS (   x)    (((x) >> S_DDP_STATUS) & M_DDP_STATUS)

Definition at line 993 of file t3_cpl.h.

#define G_DDP_ULP_MODE (   x)    (((x) >> S_DDP_ULP_MODE) & M_DDP_ULP_MODE)

Definition at line 1055 of file t3_cpl.h.

#define G_DDP_VALID (   x)    (((x) >> S_DDP_VALID) & M_DDP_VALID)

Definition at line 998 of file t3_cpl.h.

#define G_FLIT_CNT (   x)    (((x) >> S_FLIT_CNT) & M_FLIT_CNT)

Definition at line 1458 of file t3_cpl.h.

#define G_HASHTYPE (   x)    (((x) >> S_HASHTYPE) & M_HASHTYPE)

Definition at line 199 of file t3_cpl.h.

#define G_ISCSI_PDU_LEN (   x)    (((x) >> S_ISCSI_PDU_LEN) & M_ISCSI_PDU_LEN)

Definition at line 911 of file t3_cpl.h.

#define G_L2T_IDX (   x)    (((x) >> S_L2T_IDX) & M_L2T_IDX)

Definition at line 353 of file t3_cpl.h.

#define G_L2T_IDX16 (   x)    (((x) >> S_L2T_IDX16) & M_L2T_IDX16)

Definition at line 529 of file t3_cpl.h.

#define G_L2T_R_IFF (   x)    (((x) >> S_L2T_R_IFF) & M_L2T_R_IFF)

Definition at line 1271 of file t3_cpl.h.

#define G_L2T_R_PRIO (   x)    (((x) >> S_L2T_R_PRIO) & M_L2T_R_PRIO)

Definition at line 1261 of file t3_cpl.h.

#define G_L2T_R_VLAN (   x)    (((x) >> S_L2T_R_VLAN) & M_L2T_R_VLAN)

Definition at line 1266 of file t3_cpl.h.

#define G_L2T_STATUS (   x)    (((x) >> S_L2T_STATUS) & M_L2T_STATUS)

Definition at line 1276 of file t3_cpl.h.

#define G_L2T_W_IDX (   x)    (((x) >> S_L2T_W_IDX) & M_L2T_W_IDX)

Definition at line 1220 of file t3_cpl.h.

#define G_L2T_W_IFF (   x)    (((x) >> S_L2T_W_IFF) & M_L2T_W_IFF)

Definition at line 1230 of file t3_cpl.h.

#define G_L2T_W_PRIO (   x)    (((x) >> S_L2T_W_PRIO) & M_L2T_W_PRIO)

Definition at line 1235 of file t3_cpl.h.

#define G_L2T_W_VLAN (   x)    (((x) >> S_L2T_W_VLAN) & M_L2T_W_VLAN)

Definition at line 1225 of file t3_cpl.h.

#define G_LSO_ETH_TYPE (   x)    (((x) >> S_LSO_ETH_TYPE) & M_LSO_ETH_TYPE)

Definition at line 1139 of file t3_cpl.h.

#define G_LSO_IPHDR_WORDS (   x)    (((x) >> S_LSO_IPHDR_WORDS) & M_LSO_IPHDR_WORDS)

Definition at line 1149 of file t3_cpl.h.

#define G_LSO_MSS (   x)    (((x) >> S_LSO_MSS) & M_LSO_MSS)

Definition at line 1134 of file t3_cpl.h.

#define G_LSO_TCPHDR_WORDS (   x)    (((x) >> S_LSO_TCPHDR_WORDS) & M_LSO_TCPHDR_WORDS)

Definition at line 1144 of file t3_cpl.h.

#define G_MAC_MATCH (   x)    (((x) >> S_MAC_MATCH) & M_MAC_MATCH)

Definition at line 435 of file t3_cpl.h.

#define G_MAX_RETRANS (   x)    (((x) >> S_MAX_RETRANS) & M_MAX_RETRANS)

Definition at line 379 of file t3_cpl.h.

#define G_MSS_IDX (   x)    (((x) >> S_MSS_IDX) & M_MSS_IDX)

Definition at line 388 of file t3_cpl.h.

#define G_OPCODE (   x)    (((x) >> S_OPCODE) & 0xFF)

Definition at line 191 of file t3_cpl.h.

#define G_PACING_FLAVOR (   x)    (((x) >> S_PACING_FLAVOR) & M_PACING_FLAVOR)

Definition at line 464 of file t3_cpl.h.

#define G_PASS_OPEN_TID (   x)    (((x) >> S_PASS_OPEN_TID) & M_PASS_OPEN_TID)

Definition at line 518 of file t3_cpl.h.

#define G_PASS_OPEN_TOS (   x)    (((x) >> S_PASS_OPEN_TOS) & M_PASS_OPEN_TOS)

Definition at line 523 of file t3_cpl.h.

#define G_PKT_TYPE (   x)    (((x) >> S_PKT_TYPE) & M_PKT_TYPE)

Definition at line 430 of file t3_cpl.h.

#define G_QNUM (   x)    (((x) >> S_QNUM) & 0xFFFF)

Definition at line 195 of file t3_cpl.h.

#define G_RCV_BUFSIZ (   x)    (((x) >> S_RCV_BUFSIZ) & M_RCV_BUFSIZ)

Definition at line 329 of file t3_cpl.h.

#define G_RSS_MASK_LEN (   x)    (((x) >> S_RSS_MASK_LEN) & M_RSS_MASK_LEN)

Definition at line 398 of file t3_cpl.h.

#define G_RTE_REQ_LUT_BASE (   x)    (((x) >> S_RTE_REQ_LUT_BASE) & M_RTE_REQ_LUT_BASE)

Definition at line 1348 of file t3_cpl.h.

#define G_RTE_REQ_LUT_IX (   x)    (((x) >> S_RTE_REQ_LUT_IX) & M_RTE_REQ_LUT_IX)

Definition at line 1343 of file t3_cpl.h.

#define G_RTE_WRITE_REQ_LUT_BASE (   x)    (((x) >> S_RTE_WRITE_REQ_LUT_BASE) & M_RTE_WRITE_REQ_LUT_BASE)

Definition at line 1389 of file t3_cpl.h.

#define G_RTE_WRITE_REQ_LUT_IX (   x)    (((x) >> S_RTE_WRITE_REQ_LUT_IX) & M_RTE_WRITE_REQ_LUT_IX)

Definition at line 1384 of file t3_cpl.h.

#define G_RX_COALESCE (   x)    (((x) >> S_RX_COALESCE) & M_RX_COALESCE)

Definition at line 450 of file t3_cpl.h.

#define G_RX_CREDITS (   x)    (((x) >> S_RX_CREDITS) & M_RX_CREDITS)

Definition at line 947 of file t3_cpl.h.

#define G_RX_DACK_MODE (   x)    (((x) >> S_RX_DACK_MODE) & M_RX_DACK_MODE)

Definition at line 960 of file t3_cpl.h.

#define G_SRC_MAC_SEL (   x)    (((x) >> S_SRC_MAC_SEL) & M_SRC_MAC_SEL)

Definition at line 348 of file t3_cpl.h.

#define G_TCPOPT_MSS (   x)    (((x) >> 12) & 0xf)

Definition at line 536 of file t3_cpl.h.

#define G_TCPOPT_SACK (   x)    (((x) >> 6) & 1)

Definition at line 533 of file t3_cpl.h.

#define G_TCPOPT_SND_WSCALE (   x)    (((x) >> 8) & 0xf)

Definition at line 535 of file t3_cpl.h.

#define G_TCPOPT_TSTAMP (   x)    (((x) >> 7) & 1)

Definition at line 534 of file t3_cpl.h.

#define G_TCPOPT_WSCALE_OK (   x)    (((x) >> 5) & 1)

Definition at line 532 of file t3_cpl.h.

#define G_TERM_TID (   x)    (((x) >> S_TERM_TID) & M_TERM_TID)

Definition at line 1463 of file t3_cpl.h.

#define G_TID (   x)    ((x) & 0xFFFFFF)

Definition at line 192 of file t3_cpl.h.

#define G_TOS (   x)    (((x) >> S_TOS) & M_TOS)

Definition at line 334 of file t3_cpl.h.

#define G_TX_ACK_PAGES (   x)    (((x) >> S_TX_ACK_PAGES) & M_TX_ACK_PAGES)

Definition at line 789 of file t3_cpl.h.

#define G_TX_CPU_IDX (   x)    (((x) >> S_TX_CPU_IDX) & M_TX_CPU_IDX)

Definition at line 843 of file t3_cpl.h.

#define G_TX_MSS (   x)    (((x) >> S_TX_MSS) & M_TX_MSS)

Definition at line 800 of file t3_cpl.h.

#define G_TX_PORT (   x)    (((x) >> S_TX_PORT) & M_TX_PORT)

Definition at line 795 of file t3_cpl.h.

#define G_TX_QOS (   x)    (((x) >> S_TX_QOS) & M_TX_QOS)

Definition at line 805 of file t3_cpl.h.

#define G_TX_SNDBUF (   x)    (((x) >> S_TX_SNDBUF) & M_TX_SNDBUF)

Definition at line 810 of file t3_cpl.h.

#define G_TX_ULP_MODE (   x)    (((x) >> S_TX_ULP_MODE) & M_TX_ULP_MODE)

Definition at line 829 of file t3_cpl.h.

#define G_TX_ULP_SUBMODE (   x)    (((x) >> S_TX_ULP_SUBMODE) & M_TX_ULP_SUBMODE)

Definition at line 824 of file t3_cpl.h.

#define G_TXPKT_INTF (   x)    (((x) >> S_TXPKT_INTF) & M_TXPKT_INTF)

Definition at line 1107 of file t3_cpl.h.

#define G_TXPKT_OPCODE (   x)    (((x) >> S_TXPKT_OPCODE) & M_TXPKT_OPCODE)

Definition at line 1128 of file t3_cpl.h.

#define G_TXPKT_VLAN (   x)    (((x) >> S_TXPKT_VLAN) & M_TXPKT_VLAN)

Definition at line 1102 of file t3_cpl.h.

#define G_ULP_MODE (   x)    (((x) >> S_ULP_MODE) & M_ULP_MODE)

Definition at line 324 of file t3_cpl.h.

#define G_VLAN_PRI (   x)    (((x) >> S_VLAN_PRI) & M_VLAN_PRI)

Definition at line 421 of file t3_cpl.h.

#define G_WND_SCALE (   x)    (((x) >> S_WND_SCALE) & M_WND_SCALE)

Definition at line 370 of file t3_cpl.h.

#define G_WR_BCNTLFLT (   x)    (((x) >> S_WR_BCNTLFLT) & M_WR_BCNTLFLT)

Definition at line 258 of file t3_cpl.h.

#define G_WR_LEN (   x)    (((x) >> S_WR_LEN) & M_WR_LEN)

Definition at line 285 of file t3_cpl.h.

#define G_WR_OP (   x)    (((x) >> S_WR_OP) & M_WR_OP)

Definition at line 279 of file t3_cpl.h.

#define G_WR_SGE_CREDITS (   x)    (((x) >> S_WR_SGE_CREDITS) & M_WR_SGE_CREDITS)

Definition at line 248 of file t3_cpl.h.

#define G_WR_SGLSFLT (   x)    (((x) >> S_WR_SGLSFLT) & M_WR_SGLSFLT)

Definition at line 253 of file t3_cpl.h.

#define G_WR_TID (   x)    (((x) >> S_WR_TID) & M_WR_TID)

Definition at line 290 of file t3_cpl.h.

#define GET_TID (   cmd)    (G_TID(ntohl(OPCODE_TID(cmd))))

Definition at line 207 of file t3_cpl.h.

#define M_AOPEN_IFF_VLAN   0xFFF

Definition at line 613 of file t3_cpl.h.

#define M_AOPEN_MAC_MATCH   0x1F

Definition at line 604 of file t3_cpl.h.

#define M_AOPEN_PKT_TYPE   0x3

Definition at line 599 of file t3_cpl.h.

#define M_AOPEN_VLAN_PRI   0x3

Definition at line 590 of file t3_cpl.h.

#define M_CONG_CONTROL_FLAVOR   0x3

Definition at line 457 of file t3_cpl.h.

#define M_CONN_POLICY   0x3

Definition at line 410 of file t3_cpl.h.

#define M_CPL_STATUS   0xFF

Definition at line 309 of file t3_cpl.h.

#define M_CPU_IDX   0x3F

Definition at line 401 of file t3_cpl.h.

#define M_CPU_INDEX   0x7F

Definition at line 439 of file t3_cpl.h.

#define M_DDP_OFFSET   0x3FFFFF

Definition at line 1059 of file t3_cpl.h.

#define M_DDP_STATUS   0xFF

Definition at line 991 of file t3_cpl.h.

#define M_DDP_ULP_MODE   0xF

Definition at line 1053 of file t3_cpl.h.

#define M_DDP_VALID   0x1FFFF

Definition at line 996 of file t3_cpl.h.

#define M_FLIT_CNT   0xFF

Definition at line 1456 of file t3_cpl.h.

#define M_HASHTYPE   0x3

Definition at line 198 of file t3_cpl.h.

#define M_ISCSI_PDU_LEN   0x7FFF

Definition at line 909 of file t3_cpl.h.

#define M_L2T_IDX   0x7FF

Definition at line 351 of file t3_cpl.h.

#define M_L2T_IDX16   0x7FF

Definition at line 527 of file t3_cpl.h.

#define M_L2T_R_IFF   0xF

Definition at line 1269 of file t3_cpl.h.

#define M_L2T_R_PRIO   0x7

Definition at line 1259 of file t3_cpl.h.

#define M_L2T_R_VLAN   0xFFF

Definition at line 1264 of file t3_cpl.h.

#define M_L2T_STATUS   0xFF

Definition at line 1274 of file t3_cpl.h.

#define M_L2T_W_IDX   0x7FF

Definition at line 1218 of file t3_cpl.h.

#define M_L2T_W_IFF   0xF

Definition at line 1228 of file t3_cpl.h.

#define M_L2T_W_PRIO   0x7

Definition at line 1233 of file t3_cpl.h.

#define M_L2T_W_VLAN   0xFFF

Definition at line 1223 of file t3_cpl.h.

#define M_LSO_ETH_TYPE   0x3

Definition at line 1137 of file t3_cpl.h.

#define M_LSO_IPHDR_WORDS   0xF

Definition at line 1147 of file t3_cpl.h.

#define M_LSO_MSS   0x3FFF

Definition at line 1132 of file t3_cpl.h.

#define M_LSO_TCPHDR_WORDS   0xF

Definition at line 1142 of file t3_cpl.h.

#define M_MAC_MATCH   0x1F

Definition at line 433 of file t3_cpl.h.

#define M_MAX_RETRANS   0xF

Definition at line 377 of file t3_cpl.h.

#define M_MSS_IDX   0xF

Definition at line 386 of file t3_cpl.h.

#define M_PACING_FLAVOR   0x3

Definition at line 462 of file t3_cpl.h.

#define M_PASS_OPEN_TID   0xFFFFFF

Definition at line 516 of file t3_cpl.h.

#define M_PASS_OPEN_TOS   0xFF

Definition at line 521 of file t3_cpl.h.

#define M_PKT_TYPE   0x3

Definition at line 428 of file t3_cpl.h.

#define M_RCV_BUFSIZ   0x3FFF

Definition at line 327 of file t3_cpl.h.

#define M_RSS_MASK_LEN   0x7

Definition at line 396 of file t3_cpl.h.

#define M_RTE_REQ_LUT_BASE   0x7FF

Definition at line 1346 of file t3_cpl.h.

#define M_RTE_REQ_LUT_IX   0x7FF

Definition at line 1341 of file t3_cpl.h.

#define M_RTE_WRITE_REQ_LUT_BASE   0x7FF

Definition at line 1387 of file t3_cpl.h.

#define M_RTE_WRITE_REQ_LUT_IX   0x7FF

Definition at line 1382 of file t3_cpl.h.

#define M_RX_COALESCE   0x3

Definition at line 448 of file t3_cpl.h.

#define M_RX_CREDITS   0x7FFFFFF

Definition at line 945 of file t3_cpl.h.

#define M_RX_DACK_MODE   0x3

Definition at line 958 of file t3_cpl.h.

#define M_SRC_MAC_SEL   0x3

Definition at line 346 of file t3_cpl.h.

#define M_TERM_TID   0xFFFFF

Definition at line 1461 of file t3_cpl.h.

#define M_TOS   0x3F

Definition at line 332 of file t3_cpl.h.

#define M_TX_ACK_PAGES   0x7

Definition at line 787 of file t3_cpl.h.

#define M_TX_CPU_IDX   0x3F

Definition at line 841 of file t3_cpl.h.

#define M_TX_MSS   0xF

Definition at line 798 of file t3_cpl.h.

#define M_TX_PORT   0x7

Definition at line 793 of file t3_cpl.h.

#define M_TX_QOS   0xFF

Definition at line 803 of file t3_cpl.h.

#define M_TX_SNDBUF   0xFFFF

Definition at line 808 of file t3_cpl.h.

#define M_TX_ULP_MODE   0xF

Definition at line 827 of file t3_cpl.h.

#define M_TX_ULP_SUBMODE   0xF

Definition at line 822 of file t3_cpl.h.

#define M_TXPKT_INTF   0xF

Definition at line 1105 of file t3_cpl.h.

#define M_TXPKT_OPCODE   0xFF

Definition at line 1126 of file t3_cpl.h.

#define M_TXPKT_VLAN   0xFFFF

Definition at line 1100 of file t3_cpl.h.

#define M_ULP_MEMIO_ADDR   0x7FFFFFF

Definition at line 1484 of file t3_cpl.h.

#define M_ULP_MEMIO_DATA_LEN   0xF

Definition at line 1492 of file t3_cpl.h.

#define M_ULP_MODE   0xF

Definition at line 322 of file t3_cpl.h.

#define M_ULPTX_CMD   0xF

Definition at line 1469 of file t3_cpl.h.

#define M_ULPTX_NFLITS   0xFF

Definition at line 1473 of file t3_cpl.h.

#define M_VLAN_PRI   0x3

Definition at line 419 of file t3_cpl.h.

#define M_WND_SCALE   0xF

Definition at line 368 of file t3_cpl.h.

#define M_WR_BCNTLFLT   0xF

Definition at line 256 of file t3_cpl.h.

#define M_WR_LEN   0xFF

Definition at line 283 of file t3_cpl.h.

#define M_WR_OP   0xFF

Definition at line 277 of file t3_cpl.h.

#define M_WR_SGE_CREDITS   0xFF

Definition at line 246 of file t3_cpl.h.

#define M_WR_SGLSFLT   0xFF

Definition at line 251 of file t3_cpl.h.

#define M_WR_TID   0xFFFFF

Definition at line 288 of file t3_cpl.h.

#define MK_OPCODE_TID (   opcode,
  tid 
)    (V_OPCODE(opcode) | (tid))

Definition at line 202 of file t3_cpl.h.

#define OPCODE_TID (   cmd)    ((cmd)->ot.opcode_tid)

Definition at line 204 of file t3_cpl.h.

#define RSS_HDR

Definition at line 301 of file t3_cpl.h.

#define S_AOPEN_IFF_VLAN   20

Definition at line 612 of file t3_cpl.h.

#define S_AOPEN_MAC_MATCH   14

Definition at line 603 of file t3_cpl.h.

#define S_AOPEN_MAC_MATCH_VALID   19

Definition at line 608 of file t3_cpl.h.

#define S_AOPEN_PKT_TYPE   12

Definition at line 598 of file t3_cpl.h.

#define S_AOPEN_VLAN_PRI   9

Definition at line 589 of file t3_cpl.h.

#define S_AOPEN_VLAN_PRI_VALID   11

Definition at line 594 of file t3_cpl.h.

#define S_CONG_CONTROL_FLAVOR   11

Definition at line 456 of file t3_cpl.h.

#define S_CONN_POLICY   19

Definition at line 409 of file t3_cpl.h.

#define S_CPL_STATUS   0

Definition at line 308 of file t3_cpl.h.

#define S_CPU_IDX   4

Definition at line 400 of file t3_cpl.h.

#define S_CPU_INDEX   0

Definition at line 438 of file t3_cpl.h.

#define S_CPU_INDEX_VALID   7

Definition at line 443 of file t3_cpl.h.

#define S_DDP_BUF_COMPLETE   26

Definition at line 1071 of file t3_cpl.h.

#define S_DDP_BUF_IDX   28

Definition at line 1079 of file t3_cpl.h.

#define S_DDP_BUF_TIMED_OUT   27

Definition at line 1075 of file t3_cpl.h.

#define S_DDP_COLOR_ERR   25

Definition at line 1040 of file t3_cpl.h.

#define S_DDP_DATACRC_ERR   21

Definition at line 1024 of file t3_cpl.h.

#define S_DDP_HDRCRC_ERR   20

Definition at line 1020 of file t3_cpl.h.

#define S_DDP_INVALID_PPOD   27

Definition at line 1048 of file t3_cpl.h.

#define S_DDP_INVALID_TAG   22

Definition at line 1028 of file t3_cpl.h.

#define S_DDP_LLIMIT_ERR   17

Definition at line 1008 of file t3_cpl.h.

#define S_DDP_OFFSET   0

Definition at line 1058 of file t3_cpl.h.

#define S_DDP_OFFSET_ERR   24

Definition at line 1036 of file t3_cpl.h.

#define S_DDP_PADDING_ERR   19

Definition at line 1016 of file t3_cpl.h.

#define S_DDP_PDU   16

Definition at line 1004 of file t3_cpl.h.

#define S_DDP_PPOD_MISMATCH   15

Definition at line 1000 of file t3_cpl.h.

#define S_DDP_PPOD_PARITY_ERR   18

Definition at line 1012 of file t3_cpl.h.

#define S_DDP_PSH   25

Definition at line 1067 of file t3_cpl.h.

#define S_DDP_STATUS   0

Definition at line 990 of file t3_cpl.h.

#define S_DDP_TID_MISMATCH   26

Definition at line 1044 of file t3_cpl.h.

#define S_DDP_ULIMIT_ERR   23

Definition at line 1032 of file t3_cpl.h.

#define S_DDP_ULP_MODE   28

Definition at line 1052 of file t3_cpl.h.

#define S_DDP_URG   24

Definition at line 1063 of file t3_cpl.h.

#define S_DDP_VALID   15

Definition at line 995 of file t3_cpl.h.

#define S_DELACK   0

Definition at line 337 of file t3_cpl.h.

#define S_FLAVORS_VALID   15

Definition at line 466 of file t3_cpl.h.

#define S_FLIT_CNT   0

Definition at line 1455 of file t3_cpl.h.

#define S_HASHTYPE   22

Definition at line 197 of file t3_cpl.h.

#define S_INJECT_TIMER   6

Definition at line 313 of file t3_cpl.h.

#define S_ISCSI_DDP   15

Definition at line 913 of file t3_cpl.h.

#define S_ISCSI_PDU_LEN   0

Definition at line 908 of file t3_cpl.h.

#define S_KEEP_ALIVE   22

Definition at line 372 of file t3_cpl.h.

#define S_L2T_IDX   4

Definition at line 350 of file t3_cpl.h.

#define S_L2T_IDX16   5

Definition at line 526 of file t3_cpl.h.

#define S_L2T_R_IFF   20

Definition at line 1268 of file t3_cpl.h.

#define S_L2T_R_PRIO   0

Definition at line 1258 of file t3_cpl.h.

#define S_L2T_R_VLAN   8

Definition at line 1263 of file t3_cpl.h.

#define S_L2T_STATUS   24

Definition at line 1273 of file t3_cpl.h.

#define S_L2T_W_IDX   0

Definition at line 1217 of file t3_cpl.h.

#define S_L2T_W_IFF   23

Definition at line 1227 of file t3_cpl.h.

#define S_L2T_W_PRIO   27

Definition at line 1232 of file t3_cpl.h.

#define S_L2T_W_VLAN   11

Definition at line 1222 of file t3_cpl.h.

#define S_LSO_ETH_TYPE   14

Definition at line 1136 of file t3_cpl.h.

#define S_LSO_IPHDR_WORDS   20

Definition at line 1146 of file t3_cpl.h.

#define S_LSO_IPV6   24

Definition at line 1151 of file t3_cpl.h.

#define S_LSO_MSS   0

Definition at line 1131 of file t3_cpl.h.

#define S_LSO_TCPHDR_WORDS   16

Definition at line 1141 of file t3_cpl.h.

#define S_MAC_MATCH   27

Definition at line 432 of file t3_cpl.h.

#define S_MAC_MATCH_VALID   18

Definition at line 405 of file t3_cpl.h.

#define S_MAX_RETRANS   23

Definition at line 376 of file t3_cpl.h.

#define S_MAX_RETRANS_OVERRIDE   27

Definition at line 381 of file t3_cpl.h.

#define S_MSS_IDX   28

Definition at line 385 of file t3_cpl.h.

#define S_NAGLE   17

Definition at line 363 of file t3_cpl.h.

#define S_NO_CONG   1

Definition at line 341 of file t3_cpl.h.

#define S_NO_OFFLOAD   7

Definition at line 317 of file t3_cpl.h.

#define S_NO_REPLY   7

Definition at line 664 of file t3_cpl.h.

#define S_OPCODE   24

Definition at line 189 of file t3_cpl.h.

#define S_PACING_FLAVOR   13

Definition at line 461 of file t3_cpl.h.

#define S_PASS_OPEN_TID   0

Definition at line 515 of file t3_cpl.h.

#define S_PASS_OPEN_TOS   24

Definition at line 520 of file t3_cpl.h.

#define S_PKT_TYPE   25

Definition at line 427 of file t3_cpl.h.

#define S_QNUM   0

Definition at line 194 of file t3_cpl.h.

#define S_RCV_BUFSIZ   12

Definition at line 326 of file t3_cpl.h.

#define S_RSS_ENABLE   0

Definition at line 391 of file t3_cpl.h.

#define S_RSS_MASK_LEN   1

Definition at line 395 of file t3_cpl.h.

#define S_RTE_READ_REQ_SELECT   31

Definition at line 1350 of file t3_cpl.h.

#define S_RTE_REQ_LUT_BASE   19

Definition at line 1345 of file t3_cpl.h.

#define S_RTE_REQ_LUT_IX   8

Definition at line 1340 of file t3_cpl.h.

#define S_RTE_WRITE_REQ_LUT_BASE   21

Definition at line 1386 of file t3_cpl.h.

#define S_RTE_WRITE_REQ_LUT_IX   10

Definition at line 1381 of file t3_cpl.h.

#define S_RX_COALESCE   8

Definition at line 447 of file t3_cpl.h.

#define S_RX_COALESCE_VALID   10

Definition at line 452 of file t3_cpl.h.

#define S_RX_CREDITS   0

Definition at line 944 of file t3_cpl.h.

#define S_RX_DACK_CHANGE   31

Definition at line 962 of file t3_cpl.h.

#define S_RX_DACK_MODE   29

Definition at line 957 of file t3_cpl.h.

#define S_RX_FC_DISABLE   16

Definition at line 470 of file t3_cpl.h.

#define S_RX_FC_VALID   17

Definition at line 474 of file t3_cpl.h.

#define S_RX_FORCE_ACK   28

Definition at line 953 of file t3_cpl.h.

#define S_RX_MODULATE   27

Definition at line 949 of file t3_cpl.h.

#define S_SRC_MAC_SEL   2

Definition at line 345 of file t3_cpl.h.

#define S_SYN_DEFENSE   21

Definition at line 414 of file t3_cpl.h.

#define S_TCAM_BYPASS   16

Definition at line 359 of file t3_cpl.h.

#define S_TERM_TID   8

Definition at line 1460 of file t3_cpl.h.

#define S_TOS   26

Definition at line 331 of file t3_cpl.h.

#define S_TX_ACK_PAGES   21

Definition at line 786 of file t3_cpl.h.

#define S_TX_CHANNEL   15

Definition at line 355 of file t3_cpl.h.

#define S_TX_CLOSE   17

Definition at line 849 of file t3_cpl.h.

#define S_TX_CPU_IDX   0

Definition at line 840 of file t3_cpl.h.

#define S_TX_IMM_ACK   19

Definition at line 857 of file t3_cpl.h.

#define S_TX_IMM_DMA   20

Definition at line 861 of file t3_cpl.h.

#define S_TX_INIT   18

Definition at line 853 of file t3_cpl.h.

#define S_TX_MORE   15

Definition at line 835 of file t3_cpl.h.

#define S_TX_MSS   4

Definition at line 797 of file t3_cpl.h.

#define S_TX_PORT   0

Definition at line 792 of file t3_cpl.h.

#define S_TX_QOS   8

Definition at line 802 of file t3_cpl.h.

#define S_TX_SHOVE   14

Definition at line 831 of file t3_cpl.h.

#define S_TX_SNDBUF   16

Definition at line 807 of file t3_cpl.h.

#define S_TX_ULP_MODE   10

Definition at line 826 of file t3_cpl.h.

#define S_TX_ULP_SUBMODE   6

Definition at line 821 of file t3_cpl.h.

#define S_TX_URG   16

Definition at line 845 of file t3_cpl.h.

#define S_TXPKT_INTF   16

Definition at line 1104 of file t3_cpl.h.

#define S_TXPKT_IPCSUM_DIS   20

Definition at line 1109 of file t3_cpl.h.

#define S_TXPKT_L4CSUM_DIS   21

Definition at line 1113 of file t3_cpl.h.

#define S_TXPKT_LOOPBACK   23

Definition at line 1121 of file t3_cpl.h.

#define S_TXPKT_OPCODE   24

Definition at line 1125 of file t3_cpl.h.

#define S_TXPKT_VLAN   0

Definition at line 1099 of file t3_cpl.h.

#define S_TXPKT_VLAN_VLD   22

Definition at line 1117 of file t3_cpl.h.

#define S_ULP_MEMIO_ADDR   0

Definition at line 1483 of file t3_cpl.h.

#define S_ULP_MEMIO_DATA_LEN   28

Definition at line 1491 of file t3_cpl.h.

#define S_ULP_MEMIO_LOCK   27

Definition at line 1486 of file t3_cpl.h.

#define S_ULP_MODE   8

Definition at line 321 of file t3_cpl.h.

#define S_ULPTX_CMD   28

Definition at line 1468 of file t3_cpl.h.

#define S_ULPTX_NFLITS   0

Definition at line 1472 of file t3_cpl.h.

#define S_VLAN_PRI   22

Definition at line 418 of file t3_cpl.h.

#define S_VLAN_PRI_VALID   24

Definition at line 423 of file t3_cpl.h.

#define S_WND_SCALE   18

Definition at line 367 of file t3_cpl.h.

#define S_WR_BCNTLFLT   16

Definition at line 255 of file t3_cpl.h.

#define S_WR_COMPL   21

Definition at line 264 of file t3_cpl.h.

#define S_WR_CR_FLUSH   30

Definition at line 292 of file t3_cpl.h.

#define S_WR_DATATYPE   20

Definition at line 260 of file t3_cpl.h.

#define S_WR_EOP   22

Definition at line 268 of file t3_cpl.h.

#define S_WR_GEN   31

Definition at line 296 of file t3_cpl.h.

#define S_WR_LEN   0

Definition at line 282 of file t3_cpl.h.

#define S_WR_OP   24

Definition at line 276 of file t3_cpl.h.

#define S_WR_SGE_CREDITS   0

Definition at line 245 of file t3_cpl.h.

#define S_WR_SGLSFLT   8

Definition at line 250 of file t3_cpl.h.

#define S_WR_SOP   23

Definition at line 272 of file t3_cpl.h.

#define S_WR_TID   8

Definition at line 287 of file t3_cpl.h.

#define V_AOPEN_IFF_VLAN (   x)    ((x) << S_AOPEN_IFF_VLAN)

Definition at line 614 of file t3_cpl.h.

#define V_AOPEN_MAC_MATCH (   x)    ((x) << S_AOPEN_MAC_MATCH)

Definition at line 605 of file t3_cpl.h.

#define V_AOPEN_MAC_MATCH_VALID (   x)    ((x) << S_AOPEN_MAC_MATCH_VALID)

Definition at line 609 of file t3_cpl.h.

#define V_AOPEN_PKT_TYPE (   x)    ((x) << S_AOPEN_PKT_TYPE)

Definition at line 600 of file t3_cpl.h.

#define V_AOPEN_VLAN_PRI (   x)    ((x) << S_AOPEN_VLAN_PRI)

Definition at line 591 of file t3_cpl.h.

#define V_AOPEN_VLAN_PRI_VALID (   x)    ((x) << S_AOPEN_VLAN_PRI_VALID)

Definition at line 595 of file t3_cpl.h.

#define V_CONG_CONTROL_FLAVOR (   x)    ((x) << S_CONG_CONTROL_FLAVOR)

Definition at line 458 of file t3_cpl.h.

#define V_CONN_POLICY (   x)    ((x) << S_CONN_POLICY)

Definition at line 411 of file t3_cpl.h.

#define V_CPL_STATUS (   x)    ((x) << S_CPL_STATUS)

Definition at line 310 of file t3_cpl.h.

#define V_CPU_IDX (   x)    ((x) << S_CPU_IDX)

Definition at line 402 of file t3_cpl.h.

#define V_CPU_INDEX (   x)    ((x) << S_CPU_INDEX)

Definition at line 440 of file t3_cpl.h.

#define V_CPU_INDEX_VALID (   x)    ((x) << S_CPU_INDEX_VALID)

Definition at line 444 of file t3_cpl.h.

#define V_DDP_BUF_COMPLETE (   x)    ((x) << S_DDP_BUF_COMPLETE)

Definition at line 1072 of file t3_cpl.h.

#define V_DDP_BUF_IDX (   x)    ((x) << S_DDP_BUF_IDX)

Definition at line 1080 of file t3_cpl.h.

#define V_DDP_BUF_TIMED_OUT (   x)    ((x) << S_DDP_BUF_TIMED_OUT)

Definition at line 1076 of file t3_cpl.h.

#define V_DDP_COLOR_ERR (   x)    ((x) << S_DDP_COLOR_ERR)

Definition at line 1041 of file t3_cpl.h.

#define V_DDP_DATACRC_ERR (   x)    ((x) << S_DDP_DATACRC_ERR)

Definition at line 1025 of file t3_cpl.h.

#define V_DDP_HDRCRC_ERR (   x)    ((x) << S_DDP_HDRCRC_ERR)

Definition at line 1021 of file t3_cpl.h.

#define V_DDP_INVALID_PPOD (   x)    ((x) << S_DDP_INVALID_PPOD)

Definition at line 1049 of file t3_cpl.h.

#define V_DDP_INVALID_TAG (   x)    ((x) << S_DDP_INVALID_TAG)

Definition at line 1029 of file t3_cpl.h.

#define V_DDP_LLIMIT_ERR (   x)    ((x) << S_DDP_LLIMIT_ERR)

Definition at line 1009 of file t3_cpl.h.

#define V_DDP_OFFSET (   x)    ((x) << S_DDP_OFFSET)

Definition at line 1060 of file t3_cpl.h.

#define V_DDP_OFFSET_ERR (   x)    ((x) << S_DDP_OFFSET_ERR)

Definition at line 1037 of file t3_cpl.h.

#define V_DDP_PADDING_ERR (   x)    ((x) << S_DDP_PADDING_ERR)

Definition at line 1017 of file t3_cpl.h.

#define V_DDP_PDU (   x)    ((x) << S_DDP_PDU)

Definition at line 1005 of file t3_cpl.h.

#define V_DDP_PPOD_MISMATCH (   x)    ((x) << S_DDP_PPOD_MISMATCH)

Definition at line 1001 of file t3_cpl.h.

#define V_DDP_PPOD_PARITY_ERR (   x)    ((x) << S_DDP_PPOD_PARITY_ERR)

Definition at line 1013 of file t3_cpl.h.

#define V_DDP_PSH (   x)    ((x) << S_DDP_PSH)

Definition at line 1068 of file t3_cpl.h.

#define V_DDP_STATUS (   x)    ((x) << S_DDP_STATUS)

Definition at line 992 of file t3_cpl.h.

#define V_DDP_TID_MISMATCH (   x)    ((x) << S_DDP_TID_MISMATCH)

Definition at line 1045 of file t3_cpl.h.

#define V_DDP_ULIMIT_ERR (   x)    ((x) << S_DDP_ULIMIT_ERR)

Definition at line 1033 of file t3_cpl.h.

#define V_DDP_ULP_MODE (   x)    ((x) << S_DDP_ULP_MODE)

Definition at line 1054 of file t3_cpl.h.

#define V_DDP_URG (   x)    ((x) << S_DDP_URG)

Definition at line 1064 of file t3_cpl.h.

#define V_DDP_VALID (   x)    ((x) << S_DDP_VALID)

Definition at line 997 of file t3_cpl.h.

#define V_DELACK (   x)    ((x) << S_DELACK)

Definition at line 338 of file t3_cpl.h.

#define V_FLAVORS_VALID (   x)    ((x) << S_FLAVORS_VALID)

Definition at line 467 of file t3_cpl.h.

#define V_FLIT_CNT (   x)    ((x) << S_FLIT_CNT)

Definition at line 1457 of file t3_cpl.h.

#define V_INJECT_TIMER (   x)    ((x) << S_INJECT_TIMER)

Definition at line 314 of file t3_cpl.h.

#define V_ISCSI_DDP (   x)    ((x) << S_ISCSI_DDP)

Definition at line 914 of file t3_cpl.h.

#define V_ISCSI_PDU_LEN (   x)    ((x) << S_ISCSI_PDU_LEN)

Definition at line 910 of file t3_cpl.h.

#define V_KEEP_ALIVE (   x)    ((x) << S_KEEP_ALIVE)

Definition at line 373 of file t3_cpl.h.

#define V_L2T_IDX (   x)    ((x) << S_L2T_IDX)

Definition at line 352 of file t3_cpl.h.

#define V_L2T_IDX16 (   x)    ((x) << S_L2T_IDX16)

Definition at line 528 of file t3_cpl.h.

#define V_L2T_R_IFF (   x)    ((x) << S_L2T_R_IFF)

Definition at line 1270 of file t3_cpl.h.

#define V_L2T_R_PRIO (   x)    ((x) << S_L2T_R_PRIO)

Definition at line 1260 of file t3_cpl.h.

#define V_L2T_R_VLAN (   x)    ((x) << S_L2T_R_VLAN)

Definition at line 1265 of file t3_cpl.h.

#define V_L2T_STATUS (   x)    ((x) << S_L2T_STATUS)

Definition at line 1275 of file t3_cpl.h.

#define V_L2T_W_IDX (   x)    ((x) << S_L2T_W_IDX)

Definition at line 1219 of file t3_cpl.h.

#define V_L2T_W_IFF (   x)    ((x) << S_L2T_W_IFF)

Definition at line 1229 of file t3_cpl.h.

#define V_L2T_W_PRIO (   x)    ((x) << S_L2T_W_PRIO)

Definition at line 1234 of file t3_cpl.h.

#define V_L2T_W_VLAN (   x)    ((x) << S_L2T_W_VLAN)

Definition at line 1224 of file t3_cpl.h.

#define V_LSO_ETH_TYPE (   x)    ((x) << S_LSO_ETH_TYPE)

Definition at line 1138 of file t3_cpl.h.

#define V_LSO_IPHDR_WORDS (   x)    ((x) << S_LSO_IPHDR_WORDS)

Definition at line 1148 of file t3_cpl.h.

#define V_LSO_IPV6 (   x)    ((x) << S_LSO_IPV6)

Definition at line 1152 of file t3_cpl.h.

#define V_LSO_MSS (   x)    ((x) << S_LSO_MSS)

Definition at line 1133 of file t3_cpl.h.

#define V_LSO_TCPHDR_WORDS (   x)    ((x) << S_LSO_TCPHDR_WORDS)

Definition at line 1143 of file t3_cpl.h.

#define V_MAC_MATCH (   x)    ((x) << S_MAC_MATCH)

Definition at line 434 of file t3_cpl.h.

#define V_MAC_MATCH_VALID (   x)    ((x) << S_MAC_MATCH_VALID)

Definition at line 406 of file t3_cpl.h.

#define V_MAX_RETRANS (   x)    ((x) << S_MAX_RETRANS)

Definition at line 378 of file t3_cpl.h.

#define V_MAX_RETRANS_OVERRIDE (   x)    ((x) << S_MAX_RETRANS_OVERRIDE)

Definition at line 382 of file t3_cpl.h.

#define V_MSS_IDX (   x)    ((x) << S_MSS_IDX)

Definition at line 387 of file t3_cpl.h.

#define V_NAGLE (   x)    ((x) << S_NAGLE)

Definition at line 364 of file t3_cpl.h.

#define V_NO_CONG (   x)    ((x) << S_NO_CONG)

Definition at line 342 of file t3_cpl.h.

#define V_NO_OFFLOAD (   x)    ((x) << S_NO_OFFLOAD)

Definition at line 318 of file t3_cpl.h.

#define V_NO_REPLY (   x)    ((x) << S_NO_REPLY)

Definition at line 665 of file t3_cpl.h.

#define V_OPCODE (   x)    ((x) << S_OPCODE)

Definition at line 190 of file t3_cpl.h.

#define V_PACING_FLAVOR (   x)    ((x) << S_PACING_FLAVOR)

Definition at line 463 of file t3_cpl.h.

#define V_PASS_OPEN_TID (   x)    ((x) << S_PASS_OPEN_TID)

Definition at line 517 of file t3_cpl.h.

#define V_PASS_OPEN_TOS (   x)    ((x) << S_PASS_OPEN_TOS)

Definition at line 522 of file t3_cpl.h.

#define V_PKT_TYPE (   x)    ((x) << S_PKT_TYPE)

Definition at line 429 of file t3_cpl.h.

#define V_RCV_BUFSIZ (   x)    ((x) << S_RCV_BUFSIZ)

Definition at line 328 of file t3_cpl.h.

#define V_RSS_ENABLE (   x)    ((x) << S_RSS_ENABLE)

Definition at line 392 of file t3_cpl.h.

#define V_RSS_MASK_LEN (   x)    ((x) << S_RSS_MASK_LEN)

Definition at line 397 of file t3_cpl.h.

#define V_RTE_READ_REQ_SELECT (   x)    ((x) << S_RTE_READ_REQ_SELECT)

Definition at line 1351 of file t3_cpl.h.

#define V_RTE_REQ_LUT_BASE (   x)    ((x) << S_RTE_REQ_LUT_BASE)

Definition at line 1347 of file t3_cpl.h.

#define V_RTE_REQ_LUT_IX (   x)    ((x) << S_RTE_REQ_LUT_IX)

Definition at line 1342 of file t3_cpl.h.

#define V_RTE_WRITE_REQ_LUT_BASE (   x)    ((x) << S_RTE_WRITE_REQ_LUT_BASE)

Definition at line 1388 of file t3_cpl.h.

#define V_RTE_WRITE_REQ_LUT_IX (   x)    ((x) << S_RTE_WRITE_REQ_LUT_IX)

Definition at line 1383 of file t3_cpl.h.

#define V_RX_COALESCE (   x)    ((x) << S_RX_COALESCE)

Definition at line 449 of file t3_cpl.h.

#define V_RX_COALESCE_VALID (   x)    ((x) << S_RX_COALESCE_VALID)

Definition at line 453 of file t3_cpl.h.

#define V_RX_CREDITS (   x)    ((x) << S_RX_CREDITS)

Definition at line 946 of file t3_cpl.h.

#define V_RX_DACK_CHANGE (   x)    ((x) << S_RX_DACK_CHANGE)

Definition at line 963 of file t3_cpl.h.

#define V_RX_DACK_MODE (   x)    ((x) << S_RX_DACK_MODE)

Definition at line 959 of file t3_cpl.h.

#define V_RX_FC_DISABLE (   x)    ((x) << S_RX_FC_DISABLE)

Definition at line 471 of file t3_cpl.h.

#define V_RX_FC_VALID (   x)    ((x) << S_RX_FC_VALID)

Definition at line 475 of file t3_cpl.h.

#define V_RX_FORCE_ACK (   x)    ((x) << S_RX_FORCE_ACK)

Definition at line 954 of file t3_cpl.h.

#define V_RX_MODULATE (   x)    ((x) << S_RX_MODULATE)

Definition at line 950 of file t3_cpl.h.

#define V_SRC_MAC_SEL (   x)    ((x) << S_SRC_MAC_SEL)

Definition at line 347 of file t3_cpl.h.

#define V_SYN_DEFENSE (   x)    ((x) << S_SYN_DEFENSE)

Definition at line 415 of file t3_cpl.h.

#define V_TCAM_BYPASS (   x)    ((x) << S_TCAM_BYPASS)

Definition at line 360 of file t3_cpl.h.

#define V_TERM_TID (   x)    ((x) << S_TERM_TID)

Definition at line 1462 of file t3_cpl.h.

#define V_TOS (   x)    ((x) << S_TOS)

Definition at line 333 of file t3_cpl.h.

#define V_TX_ACK_PAGES (   x)    ((x) << S_TX_ACK_PAGES)

Definition at line 788 of file t3_cpl.h.

#define V_TX_CHANNEL (   x)    ((x) << S_TX_CHANNEL)

Definition at line 356 of file t3_cpl.h.

#define V_TX_CLOSE (   x)    ((x) << S_TX_CLOSE)

Definition at line 850 of file t3_cpl.h.

#define V_TX_CPU_IDX (   x)    ((x) << S_TX_CPU_IDX)

Definition at line 842 of file t3_cpl.h.

#define V_TX_IMM_ACK (   x)    ((x) << S_TX_IMM_ACK)

Definition at line 858 of file t3_cpl.h.

#define V_TX_IMM_DMA (   x)    ((x) << S_TX_IMM_DMA)

Definition at line 862 of file t3_cpl.h.

#define V_TX_INIT (   x)    ((x) << S_TX_INIT)

Definition at line 854 of file t3_cpl.h.

#define V_TX_MORE (   x)    ((x) << S_TX_MORE)

Definition at line 836 of file t3_cpl.h.

#define V_TX_MSS (   x)    ((x) << S_TX_MSS)

Definition at line 799 of file t3_cpl.h.

#define V_TX_PORT (   x)    ((x) << S_TX_PORT)

Definition at line 794 of file t3_cpl.h.

#define V_TX_QOS (   x)    ((x) << S_TX_QOS)

Definition at line 804 of file t3_cpl.h.

#define V_TX_SHOVE (   x)    ((x) << S_TX_SHOVE)

Definition at line 832 of file t3_cpl.h.

#define V_TX_SNDBUF (   x)    ((x) << S_TX_SNDBUF)

Definition at line 809 of file t3_cpl.h.

#define V_TX_ULP_MODE (   x)    ((x) << S_TX_ULP_MODE)

Definition at line 828 of file t3_cpl.h.

#define V_TX_ULP_SUBMODE (   x)    ((x) << S_TX_ULP_SUBMODE)

Definition at line 823 of file t3_cpl.h.

#define V_TX_URG (   x)    ((x) << S_TX_URG)

Definition at line 846 of file t3_cpl.h.

#define V_TXPKT_INTF (   x)    ((x) << S_TXPKT_INTF)

Definition at line 1106 of file t3_cpl.h.

#define V_TXPKT_IPCSUM_DIS (   x)    ((x) << S_TXPKT_IPCSUM_DIS)

Definition at line 1110 of file t3_cpl.h.

#define V_TXPKT_L4CSUM_DIS (   x)    ((x) << S_TXPKT_L4CSUM_DIS)

Definition at line 1114 of file t3_cpl.h.

#define V_TXPKT_LOOPBACK (   x)    ((x) << S_TXPKT_LOOPBACK)

Definition at line 1122 of file t3_cpl.h.

#define V_TXPKT_OPCODE (   x)    ((x) << S_TXPKT_OPCODE)

Definition at line 1127 of file t3_cpl.h.

#define V_TXPKT_VLAN (   x)    ((x) << S_TXPKT_VLAN)

Definition at line 1101 of file t3_cpl.h.

#define V_TXPKT_VLAN_VLD (   x)    ((x) << S_TXPKT_VLAN_VLD)

Definition at line 1118 of file t3_cpl.h.

#define V_ULP_MEMIO_ADDR (   x)    ((x) << S_ULP_MEMIO_ADDR)

Definition at line 1485 of file t3_cpl.h.

#define V_ULP_MEMIO_DATA_LEN (   x)    ((x) << S_ULP_MEMIO_DATA_LEN)

Definition at line 1493 of file t3_cpl.h.

#define V_ULP_MEMIO_LOCK (   x)    ((x) << S_ULP_MEMIO_LOCK)

Definition at line 1487 of file t3_cpl.h.

#define V_ULP_MODE (   x)    ((x) << S_ULP_MODE)

Definition at line 323 of file t3_cpl.h.

#define V_ULPTX_CMD (   x)    ((x) << S_ULPTX_CMD)

Definition at line 1470 of file t3_cpl.h.

#define V_ULPTX_NFLITS (   x)    ((x) << S_ULPTX_NFLITS)

Definition at line 1474 of file t3_cpl.h.

#define V_VLAN_PRI (   x)    ((x) << S_VLAN_PRI)

Definition at line 420 of file t3_cpl.h.

#define V_VLAN_PRI_VALID (   x)    ((x) << S_VLAN_PRI_VALID)

Definition at line 424 of file t3_cpl.h.

#define V_WND_SCALE (   x)    ((x) << S_WND_SCALE)

Definition at line 369 of file t3_cpl.h.

#define V_WR_BCNTLFLT (   x)    ((x) << S_WR_BCNTLFLT)

Definition at line 257 of file t3_cpl.h.

#define V_WR_COMPL (   x)    ((x) << S_WR_COMPL)

Definition at line 265 of file t3_cpl.h.

#define V_WR_CR_FLUSH (   x)    ((x) << S_WR_CR_FLUSH)

Definition at line 293 of file t3_cpl.h.

#define V_WR_DATATYPE (   x)    ((x) << S_WR_DATATYPE)

Definition at line 261 of file t3_cpl.h.

#define V_WR_EOP (   x)    ((x) << S_WR_EOP)

Definition at line 269 of file t3_cpl.h.

#define V_WR_GEN (   x)    ((x) << S_WR_GEN)

Definition at line 297 of file t3_cpl.h.

#define V_WR_LEN (   x)    ((x) << S_WR_LEN)

Definition at line 284 of file t3_cpl.h.

#define V_WR_OP (   x)    ((x) << S_WR_OP)

Definition at line 278 of file t3_cpl.h.

#define V_WR_SGE_CREDITS (   x)    ((x) << S_WR_SGE_CREDITS)

Definition at line 247 of file t3_cpl.h.

#define V_WR_SGLSFLT (   x)    ((x) << S_WR_SGLSFLT)

Definition at line 252 of file t3_cpl.h.

#define V_WR_SOP (   x)    ((x) << S_WR_SOP)

Definition at line 273 of file t3_cpl.h.

#define V_WR_TID (   x)    ((x) << S_WR_TID)

Definition at line 289 of file t3_cpl.h.

#define WR_HDR   struct work_request_hdr wr

Definition at line 300 of file t3_cpl.h.

Enumeration Type Documentation

anonymous enum
Enumerator:
CPL_CONN_POLICY_AUTO 
CPL_CONN_POLICY_ASK 
CPL_CONN_POLICY_DENY 

Definition at line 134 of file t3_cpl.h.

anonymous enum
Enumerator:
ULP_MODE_NONE 
ULP_MODE_ISCSI 
ULP_MODE_RDMA 
ULP_MODE_TCPDDP 

Definition at line 140 of file t3_cpl.h.

anonymous enum
Enumerator:
ULP_CRC_HEADER 
ULP_CRC_DATA 

Definition at line 147 of file t3_cpl.h.

anonymous enum
Enumerator:
CPL_PASS_OPEN_ACCEPT 
CPL_PASS_OPEN_REJECT 

Definition at line 152 of file t3_cpl.h.

anonymous enum
Enumerator:
CPL_ABORT_SEND_RST 
CPL_ABORT_NO_RST 
CPL_ABORT_POST_CLOSE_REQ 

Definition at line 157 of file t3_cpl.h.

anonymous enum
Enumerator:
CPL_ETH_II 
CPL_ETH_II_VLAN 
CPL_ETH_802_3 
CPL_ETH_802_3_VLAN 

Definition at line 163 of file t3_cpl.h.

anonymous enum
Enumerator:
CONG_ALG_RENO 
CONG_ALG_TAHOE 
CONG_ALG_NEWRENO 
CONG_ALG_HIGHSPEED 

Definition at line 170 of file t3_cpl.h.

anonymous enum
Enumerator:
RSS_HASH_NONE 
RSS_HASH_2_TUPLE 
RSS_HASH_4_TUPLE 
RSS_HASH_TCPV6 

Definition at line 177 of file t3_cpl.h.

anonymous enum
Enumerator:
ULP_MEM_READ 
ULP_MEM_WRITE 
ULP_TXPKT 

Definition at line 1466 of file t3_cpl.h.

enum CPL_error
Enumerator:
CPL_ERR_NONE 
CPL_ERR_TCAM_PARITY 
CPL_ERR_TCAM_FULL 
CPL_ERR_CONN_RESET 
CPL_ERR_CONN_EXIST 
CPL_ERR_ARP_MISS 
CPL_ERR_BAD_SYN 
CPL_ERR_CONN_TIMEDOUT 
CPL_ERR_XMIT_TIMEDOUT 
CPL_ERR_PERSIST_TIMEDOUT 
CPL_ERR_FINWAIT2_TIMEDOUT 
CPL_ERR_KEEPALIVE_TIMEDOUT 
CPL_ERR_ABORT_FAILED 
CPL_ERR_GENERAL 
CPL_ERR_NONE 
CPL_ERR_TCAM_PARITY 
CPL_ERR_TCAM_FULL 
CPL_ERR_CONN_RESET 
CPL_ERR_CONN_EXIST 
CPL_ERR_ARP_MISS 
CPL_ERR_BAD_SYN 
CPL_ERR_CONN_TIMEDOUT 
CPL_ERR_XMIT_TIMEDOUT 
CPL_ERR_PERSIST_TIMEDOUT 
CPL_ERR_FINWAIT2_TIMEDOUT 
CPL_ERR_KEEPALIVE_TIMEDOUT 
CPL_ERR_RTX_NEG_ADVICE 
CPL_ERR_PERSIST_NEG_ADVICE 
CPL_ERR_ABORT_FAILED 
CPL_ERR_GENERAL 
CPL_ERR_NONE 
CPL_ERR_TCAM_FULL 
CPL_ERR_BAD_LENGTH 
CPL_ERR_BAD_ROUTE 
CPL_ERR_CONN_RESET 
CPL_ERR_CONN_EXIST_SYNRECV 
CPL_ERR_CONN_EXIST 
CPL_ERR_ARP_MISS 
CPL_ERR_BAD_SYN 
CPL_ERR_CONN_TIMEDOUT 
CPL_ERR_XMIT_TIMEDOUT 
CPL_ERR_PERSIST_TIMEDOUT 
CPL_ERR_FINWAIT2_TIMEDOUT 
CPL_ERR_KEEPALIVE_TIMEDOUT 
CPL_ERR_RTX_NEG_ADVICE 
CPL_ERR_PERSIST_NEG_ADVICE 
CPL_ERR_ABORT_FAILED 
CPL_ERR_IWARP_FLM 

Definition at line 115 of file t3_cpl.h.

enum CPL_opcode
Enumerator:
CPL_PASS_OPEN_REQ 
CPL_PASS_OPEN_RPL 
CPL_PASS_ESTABLISH 
CPL_PASS_ACCEPT_REQ 
CPL_PASS_ACCEPT_RPL 
CPL_ACT_OPEN_REQ 
CPL_ACT_OPEN_RPL 
CPL_CLOSE_CON_REQ 
CPL_CLOSE_CON_RPL 
CPL_CLOSE_LISTSRV_REQ 
CPL_CLOSE_LISTSRV_RPL 
CPL_ABORT_REQ 
CPL_ABORT_RPL 
CPL_PEER_CLOSE 
CPL_ACT_ESTABLISH 
CPL_GET_TCB 
CPL_GET_TCB_RPL 
CPL_SET_TCB 
CPL_SET_TCB_FIELD 
CPL_SET_TCB_RPL 
CPL_PCMD 
CPL_PCMD_READ 
CPL_PCMD_READ_RPL 
CPL_RX_DATA 
CPL_RX_DATA_DDP 
CPL_RX_DATA_ACK 
CPL_RX_PKT 
CPL_RX_ISCSI_HDR 
CPL_TX_DATA_ACK 
CPL_TX_DATA 
CPL_TX_PKT 
CPL_TX_PKT_LSO 
CPL_RTE_DELETE_REQ 
CPL_RTE_DELETE_RPL 
CPL_RTE_WRITE_REQ 
CPL_RTE_WRITE_RPL 
CPL_RTE_READ_REQ 
CPL_RTE_READ_RPL 
CPL_L2T_WRITE_REQ 
CPL_L2T_WRITE_RPL 
CPL_L2T_READ_REQ 
CPL_L2T_READ_RPL 
CPL_SMT_WRITE_REQ 
CPL_SMT_WRITE_RPL 
CPL_SMT_READ_REQ 
CPL_SMT_READ_RPL 
CPL_ARP_MISS_REQ 
CPL_ARP_MISS_RPL 
CPL_MIGRATE_C2T_REQ 
CPL_MIGRATE_C2T_RPL 
CPL_ERROR 
CPL_MSS_CHANGE 
CPL_PASS_OPEN_REQ 
CPL_PASS_ACCEPT_RPL 
CPL_ACT_OPEN_REQ 
CPL_SET_TCB 
CPL_SET_TCB_FIELD 
CPL_GET_TCB 
CPL_PCMD 
CPL_CLOSE_CON_REQ 
CPL_CLOSE_LISTSRV_REQ 
CPL_ABORT_REQ 
CPL_ABORT_RPL 
CPL_TX_DATA 
CPL_RX_DATA_ACK 
CPL_TX_PKT 
CPL_RTE_DELETE_REQ 
CPL_RTE_WRITE_REQ 
CPL_RTE_READ_REQ 
CPL_L2T_WRITE_REQ 
CPL_L2T_READ_REQ 
CPL_SMT_WRITE_REQ 
CPL_SMT_READ_REQ 
CPL_TX_PKT_LSO 
CPL_PCMD_READ 
CPL_BARRIER 
CPL_TID_RELEASE 
CPL_CLOSE_LISTSRV_RPL 
CPL_ERROR 
CPL_GET_TCB_RPL 
CPL_L2T_WRITE_RPL 
CPL_PCMD_READ_RPL 
CPL_PCMD_RPL 
CPL_PEER_CLOSE 
CPL_RTE_DELETE_RPL 
CPL_RTE_WRITE_RPL 
CPL_RX_DDP_COMPLETE 
CPL_RX_PHYS_ADDR 
CPL_RX_PKT 
CPL_RX_URG_NOTIFY 
CPL_SET_TCB_RPL 
CPL_SMT_WRITE_RPL 
CPL_TX_DATA_ACK 
CPL_ABORT_REQ_RSS 
CPL_ABORT_RPL_RSS 
CPL_CLOSE_CON_RPL 
CPL_ISCSI_HDR 
CPL_L2T_READ_RPL 
CPL_RDMA_CQE 
CPL_RDMA_CQE_READ_RSP 
CPL_RDMA_CQE_ERR 
CPL_RTE_READ_RPL 
CPL_RX_DATA 
CPL_ACT_OPEN_RPL 
CPL_PASS_OPEN_RPL 
CPL_RX_DATA_DDP 
CPL_SMT_READ_RPL 
CPL_ACT_ESTABLISH 
CPL_PASS_ESTABLISH 
CPL_PASS_ACCEPT_REQ 
CPL_ASYNC_NOTIF 
CPL_TX_DMA_ACK 
CPL_RDMA_READ_REQ 
CPL_RDMA_TERMINATE 
CPL_TRACE_PKT 
CPL_RDMA_EC_STATUS 
NUM_CPL_CMDS 

Definition at line 39 of file t3_cpl.h.