Go to the documentation of this file.
39 #define NES_MANAGE_APBVT_DEL 0
40 #define NES_MANAGE_APBVT_ADD 1
42 #define NES_MPA_REQUEST_ACCEPT 1
43 #define NES_MPA_REQUEST_REJECT 2
46 #define IEFT_MPA_KEY_REQ "MPA ID Req Frame"
47 #define IEFT_MPA_KEY_REP "MPA ID Rep Frame"
48 #define IETF_MPA_KEY_SIZE 16
49 #define IETF_MPA_VERSION 1
50 #define IETF_MAX_PRIV_DATA_LEN 512
51 #define IETF_MPA_FRAME_SIZE 20
52 #define IETF_RTR_MSG_SIZE 4
53 #define IETF_MPA_V2_FLAG 0x10
56 #define IETF_PEER_TO_PEER 0x8000
57 #define IETF_FLPDU_ZERO_LEN 0x4000
58 #define IETF_RDMA0_WRITE 0x8000
59 #define IETF_RDMA0_READ 0x4000
60 #define IETF_NO_IRD_ORD 0x3FFF
76 #define ietf_mpa_req_resp_frame ietf_mpa_frame
107 #define NES_PASSIVE_STATE_INDICATED 0
108 #define NES_DO_NOT_SEND_RESET_EVENT 1
109 #define NES_SEND_RESET_EVENT 2
111 #define MAX_NES_IFS 4
118 #define TCP_OPTIONS_PADDING 3
168 #define NES_DEFAULT_RETRYS 64
169 #define NES_DEFAULT_RETRANS 8
170 #ifdef CONFIG_INFINIBAND_NES_DEBUG
171 #define NES_RETRY_TIMEOUT (1000*HZ/1000)
173 #define NES_RETRY_TIMEOUT (3000*HZ/1000)
175 #define NES_SHORT_TIME (10)
176 #define NES_LONG_TIME (2000*HZ/1000)
177 #define NES_MAX_TIMEOUT ((unsigned long) (12*HZ))
179 #define NES_CM_HASHTABLE_SIZE 1024
180 #define NES_CM_TCP_TIMER_INTERVAL 3000
181 #define NES_CM_DEFAULT_MTU 1540
182 #define NES_CM_DEFAULT_FRAME_CNT 10
183 #define NES_CM_THREAD_STACK_SIZE 256
184 #define NES_CM_DEFAULT_RCV_WND 64240 // before we know that window scaling is allowed
185 #define NES_CM_DEFAULT_RCV_WND_SCALED 256960 // after we know that window scaling is allowed
186 #define NES_CM_DEFAULT_RCV_WND_SCALE 2
187 #define NES_CM_DEFAULT_FREE_PKTS 0x000A
188 #define NES_CM_FREE_PKT_LO_WATERMARK 2
190 #define NES_CM_DEFAULT_MSS 536
192 #define NES_CM_DEF_SEQ 0x159bf75f
193 #define NES_CM_DEF_LOCAL_ID 0x3b47
195 #define NES_CM_DEF_SEQ2 0x18ed5740
196 #define NES_CM_DEF_LOCAL_ID2 0xb807
197 #define MAX_CM_BUFFER (IETF_MPA_FRAME_SIZE + IETF_RTR_MSG_SIZE + IETF_MAX_PRIV_DATA_LEN)
201 #define nes_cm_tsa_context nes_qp_context
430 #define NES_CM_SET_PKT_SIZE (1 << 1)
431 #define NES_CM_SET_FREE_PKT_Q_SIZE (1 << 2)