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

Go to the source code of this file.

Macros

#define FW_WROPCODE_FORWARD   0x01
 
#define FW_WROPCODE_BYPASS   0x05
 
#define FW_WROPCODE_TUNNEL_TX_PKT   0x03
 
#define FW_WROPOCDE_ULPTX_DATA_SGL   0x00
 
#define FW_WROPCODE_ULPTX_MEM_READ   0x02
 
#define FW_WROPCODE_ULPTX_PKT   0x04
 
#define FW_WROPCODE_ULPTX_INVALIDATE   0x06
 
#define FW_WROPCODE_TUNNEL_RX_PKT   0x07
 
#define FW_WROPCODE_OFLD_GETTCB_RPL   0x08
 
#define FW_WROPCODE_OFLD_CLOSE_CON   0x09
 
#define FW_WROPCODE_OFLD_TP_ABORT_CON_REQ   0x0A
 
#define FW_WROPCODE_OFLD_HOST_ABORT_CON_RPL   0x0F
 
#define FW_WROPCODE_OFLD_HOST_ABORT_CON_REQ   0x0B
 
#define FW_WROPCODE_OFLD_TP_ABORT_CON_RPL   0x0C
 
#define FW_WROPCODE_OFLD_TX_DATA   0x0D
 
#define FW_WROPCODE_OFLD_TX_DATA_ACK   0x0E
 
#define FW_WROPCODE_RI_RDMA_INIT   0x10
 
#define FW_WROPCODE_RI_RDMA_WRITE   0x11
 
#define FW_WROPCODE_RI_RDMA_READ_REQ   0x12
 
#define FW_WROPCODE_RI_RDMA_READ_RESP   0x13
 
#define FW_WROPCODE_RI_SEND   0x14
 
#define FW_WROPCODE_RI_TERMINATE   0x15
 
#define FW_WROPCODE_RI_RDMA_READ   0x16
 
#define FW_WROPCODE_RI_RECEIVE   0x17
 
#define FW_WROPCODE_RI_BIND_MW   0x18
 
#define FW_WROPCODE_RI_FASTREGISTER_MR   0x19
 
#define FW_WROPCODE_RI_LOCAL_INV   0x1A
 
#define FW_WROPCODE_RI_MODIFY_QP   0x1B
 
#define FW_WROPCODE_RI_BYPASS   0x1C
 
#define FW_WROPOCDE_RSVD   0x1E
 
#define FW_WROPCODE_SGE_EGRESSCONTEXT_RR   0x1F
 
#define FW_WROPCODE_MNGT   0x1D
 
#define FW_MNGTOPCODE_PKTSCHED_SET   0x00
 
#define FW_WR_SIZE   128
 
#define FW_T3_WR_NUM   16
 
#define FW_N3_WR_NUM   7
 
#define FW_WR_NUM   FW_T3_WR_NUM
 
#define FW_TUNNEL_NUM   8
 
#define FW_TUNNEL_SGEEC_START   8
 
#define FW_TUNNEL_TID_START   65544
 
#define FW_CTRL_NUM   8
 
#define FW_CTRL_SGEEC_START   65528
 
#define FW_CTRL_TID_START   65536
 
#define FW_OFLD_NUM   8
 
#define FW_OFLD_SGEEC_START   0
 
#define FW_RI_NUM   1
 
#define FW_RI_SGEEC_START   65527
 
#define FW_RI_TID_START   65552
 
#define FW_RX_PKT_NUM   1
 
#define FW_RX_PKT_TID_START   65553
 
#define FW_WRC_NUM   (65536 + FW_TUNNEL_NUM + FW_CTRL_NUM + FW_RI_NUM + FW_RX_PKT_NUM)
 
#define S_FW_VERSION_TYPE   28
 
#define M_FW_VERSION_TYPE   0xF
 
#define V_FW_VERSION_TYPE(x)   ((x) << S_FW_VERSION_TYPE)
 
#define G_FW_VERSION_TYPE(x)   (((x) >> S_FW_VERSION_TYPE) & M_FW_VERSION_TYPE)
 
#define S_FW_VERSION_MAJOR   16
 
#define M_FW_VERSION_MAJOR   0xFFF
 
#define V_FW_VERSION_MAJOR(x)   ((x) << S_FW_VERSION_MAJOR)
 
#define G_FW_VERSION_MAJOR(x)   (((x) >> S_FW_VERSION_MAJOR) & M_FW_VERSION_MAJOR)
 
#define S_FW_VERSION_MINOR   8
 
#define M_FW_VERSION_MINOR   0xFF
 
#define V_FW_VERSION_MINOR(x)   ((x) << S_FW_VERSION_MINOR)
 
#define G_FW_VERSION_MINOR(x)   (((x) >> S_FW_VERSION_MINOR) & M_FW_VERSION_MINOR)
 
#define S_FW_VERSION_MICRO   0
 
#define M_FW_VERSION_MICRO   0xFF
 
#define V_FW_VERSION_MICRO(x)   ((x) << S_FW_VERSION_MICRO)
 
#define G_FW_VERSION_MICRO(x)   (((x) >> S_FW_VERSION_MICRO) & M_FW_VERSION_MICRO)
 

Macro Definition Documentation

#define FW_CTRL_NUM   8

Definition at line 115 of file firmware_exports.h.

#define FW_CTRL_SGEEC_START   65528

Definition at line 116 of file firmware_exports.h.

#define FW_CTRL_TID_START   65536

Definition at line 117 of file firmware_exports.h.

#define FW_MNGTOPCODE_PKTSCHED_SET   0x00

Definition at line 77 of file firmware_exports.h.

#define FW_N3_WR_NUM   7

Definition at line 90 of file firmware_exports.h.

#define FW_OFLD_NUM   8

Definition at line 128 of file firmware_exports.h.

#define FW_OFLD_SGEEC_START   0

Definition at line 129 of file firmware_exports.h.

#define FW_RI_NUM   1

Definition at line 134 of file firmware_exports.h.

#define FW_RI_SGEEC_START   65527

Definition at line 135 of file firmware_exports.h.

#define FW_RI_TID_START   65552

Definition at line 136 of file firmware_exports.h.

#define FW_RX_PKT_NUM   1

Definition at line 141 of file firmware_exports.h.

#define FW_RX_PKT_TID_START   65553

Definition at line 142 of file firmware_exports.h.

#define FW_T3_WR_NUM   16

Definition at line 89 of file firmware_exports.h.

#define FW_TUNNEL_NUM   8

Definition at line 105 of file firmware_exports.h.

#define FW_TUNNEL_SGEEC_START   8

Definition at line 106 of file firmware_exports.h.

#define FW_TUNNEL_TID_START   65544

Definition at line 107 of file firmware_exports.h.

#define FW_WR_NUM   FW_T3_WR_NUM

Definition at line 93 of file firmware_exports.h.

#define FW_WR_SIZE   128

Definition at line 83 of file firmware_exports.h.

#define FW_WRC_NUM   (65536 + FW_TUNNEL_NUM + FW_CTRL_NUM + FW_RI_NUM + FW_RX_PKT_NUM)

Definition at line 147 of file firmware_exports.h.

#define FW_WROPCODE_BYPASS   0x05

Definition at line 38 of file firmware_exports.h.

#define FW_WROPCODE_FORWARD   0x01

Definition at line 37 of file firmware_exports.h.

#define FW_WROPCODE_MNGT   0x1D

Definition at line 76 of file firmware_exports.h.

#define FW_WROPCODE_OFLD_CLOSE_CON   0x09

Definition at line 50 of file firmware_exports.h.

#define FW_WROPCODE_OFLD_GETTCB_RPL   0x08

Definition at line 49 of file firmware_exports.h.

#define FW_WROPCODE_OFLD_HOST_ABORT_CON_REQ   0x0B

Definition at line 53 of file firmware_exports.h.

#define FW_WROPCODE_OFLD_HOST_ABORT_CON_RPL   0x0F

Definition at line 52 of file firmware_exports.h.

#define FW_WROPCODE_OFLD_TP_ABORT_CON_REQ   0x0A

Definition at line 51 of file firmware_exports.h.

#define FW_WROPCODE_OFLD_TP_ABORT_CON_RPL   0x0C

Definition at line 54 of file firmware_exports.h.

#define FW_WROPCODE_OFLD_TX_DATA   0x0D

Definition at line 55 of file firmware_exports.h.

#define FW_WROPCODE_OFLD_TX_DATA_ACK   0x0E

Definition at line 56 of file firmware_exports.h.

#define FW_WROPCODE_RI_BIND_MW   0x18

Definition at line 66 of file firmware_exports.h.

#define FW_WROPCODE_RI_BYPASS   0x1C

Definition at line 70 of file firmware_exports.h.

#define FW_WROPCODE_RI_FASTREGISTER_MR   0x19

Definition at line 67 of file firmware_exports.h.

#define FW_WROPCODE_RI_LOCAL_INV   0x1A

Definition at line 68 of file firmware_exports.h.

#define FW_WROPCODE_RI_MODIFY_QP   0x1B

Definition at line 69 of file firmware_exports.h.

#define FW_WROPCODE_RI_RDMA_INIT   0x10

Definition at line 58 of file firmware_exports.h.

#define FW_WROPCODE_RI_RDMA_READ   0x16

Definition at line 64 of file firmware_exports.h.

#define FW_WROPCODE_RI_RDMA_READ_REQ   0x12

Definition at line 60 of file firmware_exports.h.

#define FW_WROPCODE_RI_RDMA_READ_RESP   0x13

Definition at line 61 of file firmware_exports.h.

#define FW_WROPCODE_RI_RDMA_WRITE   0x11

Definition at line 59 of file firmware_exports.h.

#define FW_WROPCODE_RI_RECEIVE   0x17

Definition at line 65 of file firmware_exports.h.

#define FW_WROPCODE_RI_SEND   0x14

Definition at line 62 of file firmware_exports.h.

#define FW_WROPCODE_RI_TERMINATE   0x15

Definition at line 63 of file firmware_exports.h.

#define FW_WROPCODE_SGE_EGRESSCONTEXT_RR   0x1F

Definition at line 74 of file firmware_exports.h.

#define FW_WROPCODE_TUNNEL_RX_PKT   0x07

Definition at line 47 of file firmware_exports.h.

#define FW_WROPCODE_TUNNEL_TX_PKT   0x03

Definition at line 40 of file firmware_exports.h.

#define FW_WROPCODE_ULPTX_INVALIDATE   0x06

Definition at line 45 of file firmware_exports.h.

#define FW_WROPCODE_ULPTX_MEM_READ   0x02

Definition at line 43 of file firmware_exports.h.

#define FW_WROPCODE_ULPTX_PKT   0x04

Definition at line 44 of file firmware_exports.h.

#define FW_WROPOCDE_RSVD   0x1E

Definition at line 72 of file firmware_exports.h.

#define FW_WROPOCDE_ULPTX_DATA_SGL   0x00

Definition at line 42 of file firmware_exports.h.

#define G_FW_VERSION_MAJOR (   x)    (((x) >> S_FW_VERSION_MAJOR) & M_FW_VERSION_MAJOR)

Definition at line 162 of file firmware_exports.h.

#define G_FW_VERSION_MICRO (   x)    (((x) >> S_FW_VERSION_MICRO) & M_FW_VERSION_MICRO)

Definition at line 174 of file firmware_exports.h.

#define G_FW_VERSION_MINOR (   x)    (((x) >> S_FW_VERSION_MINOR) & M_FW_VERSION_MINOR)

Definition at line 168 of file firmware_exports.h.

#define G_FW_VERSION_TYPE (   x)    (((x) >> S_FW_VERSION_TYPE) & M_FW_VERSION_TYPE)

Definition at line 156 of file firmware_exports.h.

#define M_FW_VERSION_MAJOR   0xFFF

Definition at line 160 of file firmware_exports.h.

#define M_FW_VERSION_MICRO   0xFF

Definition at line 172 of file firmware_exports.h.

#define M_FW_VERSION_MINOR   0xFF

Definition at line 166 of file firmware_exports.h.

#define M_FW_VERSION_TYPE   0xF

Definition at line 154 of file firmware_exports.h.

#define S_FW_VERSION_MAJOR   16

Definition at line 159 of file firmware_exports.h.

#define S_FW_VERSION_MICRO   0

Definition at line 171 of file firmware_exports.h.

#define S_FW_VERSION_MINOR   8

Definition at line 165 of file firmware_exports.h.

#define S_FW_VERSION_TYPE   28

Definition at line 153 of file firmware_exports.h.

#define V_FW_VERSION_MAJOR (   x)    ((x) << S_FW_VERSION_MAJOR)

Definition at line 161 of file firmware_exports.h.

#define V_FW_VERSION_MICRO (   x)    ((x) << S_FW_VERSION_MICRO)

Definition at line 173 of file firmware_exports.h.

#define V_FW_VERSION_MINOR (   x)    ((x) << S_FW_VERSION_MINOR)

Definition at line 167 of file firmware_exports.h.

#define V_FW_VERSION_TYPE (   x)    ((x) << S_FW_VERSION_TYPE)

Definition at line 155 of file firmware_exports.h.